CTK icon indicating copy to clipboard operation
CTK copied to clipboard

WIP: add thumbnails to dicom browser

Open pieper opened this issue 3 years ago • 1 comments

Based on ProjectWeek discussion: https://projectweek.na-mic.org/PW35_2021_Virtual/Projects/mpReview/

pieper avatar Jun 29 '21 00:06 pieper

Example usage here: https://youtu.be/JsKRAi9E8U0

pieper avatar Jun 29 '21 00:06 pieper

Hi @pieper what is the status of this PR?

I think it could be very useful. For example the ctkDICOMThumbnailGenerator method which returns a QImage removes a performance bottleneck when rendering > 10 thumbnails at once. (Saving to png in some cases could take from 0.01 to 0.1 sec for each thumbnail).

Please let me know if I can help with anything in integrating this PR.

Punzo avatar Jan 19 '23 08:01 Punzo

@Punzo thanks for looking at this. I think it's ready to go if we like the current functionality but we could always improve things I guess. I'd be fine with merging it now and then adding improvements in a future PR.

pieper avatar Jan 19 '23 15:01 pieper

@Punzo thanks for looking at this. I think it's ready to go if we like the current functionality but we could always improve things I guess. I'd be fine with merging it now and then adding improvements in a future PR.

Perfect, I'll wait the merge then ! Thanks!

Punzo avatar Jan 19 '23 18:01 Punzo

@lassoan @cpinter Can one of you have a quick look and comment if we should merge as-is to do some more tweaks?

pieper avatar Jan 19 '23 18:01 pieper

Thanks @Punzo and @pieper

I will have a look tonight or tomorrow.

jcfr avatar Jan 19 '23 19:01 jcfr

@pieper I did not have right to push to your fork, so I've pushed it to my branch: https://github.com/lassoan/CTK/tree/browser-thumbnails

Probably you want to cherry-pick my commits from there. I've also implemented a few small issues.

lassoan avatar Jan 20 '23 06:01 lassoan

These look great @lassoan 👍

Mine was just a WIP, so it's just as easy to make a new PR from your branch and work from here. Then I can retire mine.

pieper avatar Jan 20 '23 16:01 pieper

I've rebased and cleaned up the branch and submitted the new pull request: https://github.com/commontk/CTK/pull/1063, so I'm closing this one now.

lassoan avatar Jan 20 '23 19:01 lassoan