-
-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overlay segmentations #248
base: master
Are you sure you want to change the base?
Overlay segmentations #248
Conversation
Hi! Update: Might need a few more days (these weeks have been a bit busy) |
Segmentation overlay would be a great addition to this project, but I'm not sure about the I'm wondering if a better approach would be to load the segmentation volume as a separate dataset, then expose an inspector field on the |
Hi @JuanPabloMontoya271 and @MichaelOvens I think what @MichaelOvens suggested could work well. I've made a prototype implementation, and plan to finalise that and make a PR soon. That can also be used for PET/CT datasets, such as this one: https://drive.google.com/file/d/1FOmLZGQBVLp66DcDYAjWs5qxoW0zo30f/view?usp=sharing I could let the user load two datasets, and then link them together. Then in the shader I'll have a secondary volume and secondary transfer function. Later we could also implement multiple transfer functions for each segmentation label. And as an optimisation, it might be possible to combine the two datasets together in one texture, to make texture fetch faster. Lots of fun things to work on! Questions:
|
Hi again, So I've made a PR based on what we discussed above: #264 There are also two render modes for segmentations:
Next I'll see if I can add a feature that lets you set a seperate TF for each segmentation label. That should be fairly easy, since we can just stack the TFs on top of one another in the generated Texture2D. Thanks to both of you for suggestions! |
Thank you, that sounds like a good plan. I had also been experimenting with PET/CT, it will be a good addition. Let me know if there is something I can help with. |
Ok, that's nice! You might have more experience with that than me then, since this was my first experiment with PET/CT. So please let me know if I've overlooked something important. |
Thank you for adding me to the credits :) |
Enabled segmentation overlay for NIFTI, NRRD, and VASP.
Currently it only supports single label segmentations loaded from the GUI Inspector.
Next steps:
Data retrieved from TotalSegmentator Dataset