[Insight-developers] SpatialObjectToImage questions
Julien Jomier
julien.jomier at kitware.com
Wed Jun 7 10:56:20 EDT 2006
Hi Richard,
One way to do it, is to modify the ValueAt() function for a
LandmarkSpatialObject so it returns the grayscale value of the RGB
color. Would that work for you?. So basically you set the color of your
landmarks and the SpatialObjectToImageFilter will use the grayscale
value of the color.
There is no way to modify the way the landmark are displayed and there
is no easy way to do it other than writing your own code.
Let me know,
Julien
Richard Beare wrote:
> Hi,
>
> I'm using the SpatialObjectToImageFilter to help me visualize feature
> locations. I'm storing my feature locations in a landmark spatial
> object and using the SpatialObjectToImageFilter to create an image
> representation which I overlay on the orginal. I'd like to include a
> bit more information in my final display, such as the type of feature.
> Is there any way to make the filter produce points with values that
> depend information encoded in the landmark structure? Also, is there
> any way to modify the way in which landmarks are displayed? e.g.
> crosses instead of dots.
>
> Thanks
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
>
More information about the Insight-developers
mailing list