Operating system:Unbuntu16.04.3
Slicer version:4.8.1-linux-amd64
Expected behavior:I have two 3d-mri images(assume they are a and b) and a segmentation from volume a.I want to using the gray intensity from b to make a color-show for the segmentation surface(using the vertex gray intensity). Thank you for a solution.
Note:1. Only the surface will show. The body of the segmentation will be discarded.
2. The vertex will be colored in outshow.–My biggest chanllenge.
Actual behavior:
It sounds like you are looking for this:
https://www.slicer.org/wiki/Documentation/4.8/Modules/ProbeVolumeWithModel
1 Like
Thank you for your patient solution. A bit more, can we use some features of segmentation or label classes to bypass the model using?
I hope more automatic.
You can export segmentation to models and run ProbeVolumeWithModel by writing a few lines of Python script.
These examples should help:
https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Export_model_nodes_from_segmentation_node
https://www.slicer.org/wiki/Documentation/Nightly/Developers/Python_scripting#Running_a_CLI_from_Python
Thanks a lot.I solved it.
1 Like