[Insight-users] model to image registration example
Karl
bulkmailaddress at gmail.com
Fri Mar 5 12:00:34 EST 2010
Hi,
I have a question on the model to image registration example
ModelToImageRegistration1.cxx. I am using ITK 3.8.0.
The example defines its own metric. One that is designed to maximize the
sum of the pixels in the image that the model overlaps with.
This metric overrides the SetMovingSpatialObject function. This function
appears to be doing the following:
1) Take every pixel location in the image.
2) Add it to a list if it lies within the object.
The GetValue function then only uses those points to optimize the metric.
In the GetValue function the transform is applied to these points and uses
where the points currently get mapped to calculate the metric value.
Does this make sense? Only the points where the object and image initially
overlap are used in the registration process. Isn't the object of the
registration to increase this overlap. If the model and image have no
overlap, but an appropriate initial transform parameter set is provided,
then no points will get selected in the SetMovingSpatialObject function, and
registration will not occur.
Am I missing something?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100305/512d7865/attachment.htm>
More information about the Insight-users
mailing list