The NormalizedCorrelationImageToImageMetric is just a metric.  You provide it with two images and a transform.  The registration framework can be used to adjust the parameters of the transformation to identify the optimal transformation to align the images.  In this context, the transformation relates the physical space (mm, ft, etc.) of the two images not their indices.
<br><br>You have a choice of transformations: rigid, affine, deformable to define the relationship between the two image coordinate frames.&nbsp; You also have a choice of optimization methods: gradient descent, lbfgs, amoeba, etc.
<br><br>You also have the freedom to employ the metric yourself by providing a series of transformations.&nbsp; For instance, you could uniformly sample a set of translations to identify which translation gives the best normalized correlation value.
<br><br>Jim<br><br><div><span class="gmail_quote">On 5/6/06, <b class="gmail_sendername">k s</b> &lt;<a href="mailto:smythek@u.washington.edu">smythek@u.washington.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">









<p align="left"><span lang="en-us"><font face="Arial" size="2">Hi ITK,</font></span></p>

<p align="left"><span lang="en-us"><font face="Arial" size="2">I am a new ITK user and I wanted to stitch together a couple hundred of tiff images using correlation.&nbsp; My question is: does this normalized correlation filter return the indexes of the best correlation between two images in addition to the value?
</font></span></p>

<p align="left"><span lang="en-us"><font face="Arial" size="2">Thanks,</font></span></p>

<p align="left"><span lang="en-us"><font face="Arial" size="2">Kathy</font></span><span lang="en-us"></span><span lang="en-us"></span></p>



</div><br>_______________________________________________<br>Insight-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">
http://www.itk.org/mailman/listinfo/insight-users</a><br><br><br></blockquote></div><br>