<br>Hi Harvey,<br><br>You may want to reconsider the large picture of what your overall<br>goal is, and separate it from the ITK methods that will bring you <br>there.<br><br>If your final goal is to perform registration of segmented objects,<br>
then there is not much advantage in involving Spatial Objects<br>in the process.<br><br>You could just as well compute Image Moments from binary <br>images (even if they have been extracted from a set of connected<br>components), and then use that to initialize a transform.<br>
<br>Beyond that, you simply need to use any of the image metrics<br>that are suitable for labeled (or binary) images.  In particular<br>you may want to consider the <br><br>     itkMatchCardinalityImageToImageMetric.h<br>
<br><br>  Regards,<br><br><br>       Luis<br><br><br><br>-----------------------------------------------------------------------------------------<br><div class="gmail_quote">On Tue, Aug 11, 2009 at 6:20 PM, Neal R. Harvey <span dir="ltr">&lt;<a href="mailto:harve@lanl.gov">harve@lanl.gov</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I would like to be able to start using more of the ITK functionality, with regard to registration.<br>

<br>
In particular, I would like to register objects that I have segmented.<br>
<br>
The result of the segmentation is a labeled connected component image<br>
(created using  ConnectedComponentImageFilter followed by<br>
RelabelComponentImageFilter).<br>
<br>
Now, I would have thought that the next step would be to create a collection of spatial objects<br>
and calculate some characteristics of these objects (such as orientation,  etc.) that might be useful<br>
in the subsequent registering of the objects.<br>
<br>
However, regarding this step of taking the labeled connected component image and creating the<br>
spatial objects, I can&#39;t seem to find any good documentation for doing that. I would have thought<br>
that this was quite common practice and there would be ample tools and associated documentation.<br>
However, I have come up short so far in my searches.<br>
<br>
I found a document entitled &quot;Label Object Representation and Manipulation with ITK&quot; by G. Lehmann,<br>
which I thought was going to be helpful. But, it hasn&#39;t so far.<br>
<br>
Any help with this would be much appreciated.<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at: <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br>