Is it possible to define a parametric color map where the color is defined by the morphology of a particular slice? For example, say you wanted to display lung tracheae or blood vessels, and display those with a larger cross-sectional area as blue, and those with smaller area as red? I realize you’d have to pick a slice direction to calculate cross-sectional area, but is it possible to use that quantity in a color lookup for a segment?
If it’s not possible to use a color map in a segment, is it possible to assign colors to model vertices?
You can define and display any parametric color maps.
This one should be easy. See steps described here. You can also use SlicerVMTK extension to extract centerline curve and get radius at each centerline point.
If you want to extract part of a model corresponding to a certain radius range, then you can apply vtkThreshold filter to the model (see example here).
OK, I have my medial surface from the Binary Image Thinning Filter, but I’m confused by the Danielsson Distance Image Map Filter. Is the input to the filter the original label map, or the medial surface? It looks like there is one input - shouldn’t it need two to compute a distance? (Or am I just misunderstanding things here…)