[pixeldata] Apply VOI LUT when rendering images#599
Conversation
|
woops didn't realize I had broken the gdcm feature, will fix |
|
I think this will conflict with #598 i just created earlier today |
|
This does look substantial, thank you for working on this!
That would be greatly appreciated. I wonder if some of the DICOM test files available feature VOI LUT sequences. I also happen to have a test enhanced CT scan which I think features a VOI LUT sequence, but I need to check.
From the quick glance I found nothing egregiously wrong, but I will make a better review when I am able.
In this case there is already some value in the library picking up VOI LUT sequences when the object uses that instead of window levels, so we can start with crate-level visibility and expose it later. |
If it helps create some coordination, we can decide an order of contribution merges so that we know which one should be rebased. |
yup, very likely :-D but I'm happy for you to merge first, I checked your PR and the conflict resolving shouldn't be too hard to do. |
Enet4
left a comment
There was a problem hiding this comment.
Thank you again for working on this. I will only leave a few comments inline. Overall this seems to be heading in the right direction. Please let me know when the pull request is ready for a more thorough test.
|
Thanks for the comments! I'll try to take a look next week. I unfortunately haven't found the time yet to finalize the tests - but that's still on my todo 😬 |
|
Hello again! Feel free to let me know if you need assistance reviving this pull request, or if you would like someone else to take over. |
|
Hello! Sorry about not picking that up - it’s the typical situation where we’ve been using this in production without issues for a while, so the urgency of properly wrapping up the PR went down… And free time has somehow been scarce. Anyway, I’m totally happy with someone else taking over this PR, this is public code really :) If that helps upstreaming the code faster, then everybody wins. Else I still have it on my backlog. |
Enet4
left a comment
There was a problem hiding this comment.
I took the liberty of rebasing and applying my recommendations, but then I found something curious. Would appreciate your insight.
that's perfect, thanks a lot! |
Enet4
left a comment
There was a problem hiding this comment.
I think we're good here! Thank you for the initiative and follow-up! 👍
|
Thank you so much for driving this one to the end! |
Fixes: #232
Tested on couple of images locally, this seems to do the job.
There are couple of items I'd like to address before considering this one ready:
VoiLutare in the right place...pub(crate)for now