<p dir="ltr">Thanks Bartlomiej, so if I have the set of Landmak Points, then I should call let's say: FixedImage->TransformIndexToPhysicalPoint()?</p>
<div class="gmail_quot<blockquote class=" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Matias,<br>
You are right, not only the origin is important, but also the spacing and the local orientation of the image. Instead of computing it, you should use the function anImage->TransformIndexToPhysicalPoint().<br>
<br>
As itkSoftwareBook mentions (vol. II, chap. 3.3), the "registration is done in physical coordinations".<br>
<br>
Regards,<br>
Bartłomiej<br>
<br>
W dniu 2015-06-15 o 19:20, Matias Montroull pisze:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi comunity,<br>
<br>
I'm also working on this LandMark Registration example and can't align<br>
the two images.. The two set of points used for landmarks are extracted<br>
from another system and stored in a file then parsed into the example.<br>
Do I need to take into consideration the images origin to do LandMark<br>
Registration (that is, adding the origin to each point parsed? I noticed<br>
ITK may use this tag to calculate during registration..<br>
<br>
Matias.<br>
<br>
El lun., 15 de jun. de 2015 a la(s) 8:06 a. m., Bartłomiej Pyciński<br>
<<a href="mailto:bpycinski@polsl.pl" target="_blank">bpycinski@polsl.pl</a> <mailto:<a href="mailto:bpycinski@polsl.pl" target="_blank">bpycinski@polsl.pl</a>>> escribió:<br>
<br>
Hi,<br>
if you are fine with rigid body registration (no deformations, only<br>
rotation and shift), then you may look at the<br>
LandmarkBasedTransformInitializer example<br>
(<a href="http://itk.org/Wiki/ITK/Examples/Registration/LandmarkBasedTransformInitializer" rel="noreferrer" target="_blank">http://itk.org/Wiki/ITK/Examples/Registration/LandmarkBasedTransformInitializer</a>).<br>
The transformation minimalizes the sum of squares of distances between<br>
corresponding points.<br>
Regards,<br>
Bartłomiej<br>
<br>
W dniu 2015-06-15 o 12:39, Carmine Pagliaro pisze:<br>
> Hi all,<br>
> i'm a new user, well sorry for my inexperience.<br>
> I'm looking for a method that allow me to register two image starting<br>
> from some points.<br>
> Example: I've got two different mri image (image_a; image_b), I<br>
set two<br>
> points (p1_a; p2_a (in red in the image attached)) in the<br>
image_a, then<br>
> i set two points (p1_b; p2_b (in red in the image attached)) in the<br>
> image_b. well my registration process have to align the two image<br>
> considering align p1_a=p1_b (some location in the registered result<br>
> image) & p2_a=p2_b.<br>
><br>
> --<br>
> Carmine Pagliaro<br>
> /Life is for sharing./<br>
><br>
><br>
><br>
> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a> <<a href="http://www.kitware.com" rel="noreferrer" target="_blank">http://www.kitware.com</a>><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Community mailing list<br>
> <a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a> <mailto:<a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a>><br>
> <a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
><br>
_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a> <mailto:<a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a>><br>
<a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
<br>
--<br>
Matias<br>
</blockquote>
_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
</div>