[Insight-developers] SpatialObjectToImage questions
Miller, James V (GE, Research)
millerjv at crd.ge.com
Wed Jun 7 11:40:10 EDT 2006
I think the features returned need to be more than intensity.
Frequently in these techniques, you match a small profile (intensities of 11 or so
pixels sampled along the gradient direction) at each point. So for each point
in the fixed image, you transform that point to the moving image and search locally
for where it best fits. The offset from the transformed location to the best fit
location is used to adjust the metric.
Jim
-----Original Message-----
From: insight-developers-bounces+millerjv=crd.ge.com at itk.org
[mailto:insight-developers-bounces+millerjv=crd.ge.com at itk.org]On Behalf
Of Julien Jomier
Sent: Wednesday, June 07, 2006 10:56 AM
To: Richard.Beare at ieee.org
Cc: insight-developers at itk.org
Subject: Re: [Insight-developers] SpatialObjectToImage questions
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
>
_______________________________________________
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