<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:13px">Doing great!  Thanks for asking questions on the list. :-)</span></blockquote><div><br></div><div>great!, thank you for answer ! </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:13px">Usually, a transformation "From CT to MR" implies that CT is the Fixed<br></span><span style="font-size:13px">Image and MR is the Moving Image in ITK terminology.</span></blockquote><div><br></div><div>Yes, but in RIRE is different...[1]:</div>"A given transformation maps points from one volume on the left, which we will call the “From” image, to one volume on the right, which we will call the “To” image."<div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:13px">Yes, you can easily get an inverse for a transform with the GetInverse</span></blockquote><div><br></div><div>Excellent !, I tried it and it worked great ...:</div><div><br></div><div>TransformType::Pointer inverseTransform = TransformType::New();</div><div>bool response = finalTransform->GetInverse(inverseTransform); </div><div><br></div><div>Thanks and regards! </div><div><br></div><div> [1] <a href="http://www.insight-journal.org/rire/transform_format.php">http://www.insight-journal.org/rire/transform_format.php</a></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-01 11:59 GMT-04:00 Matt McCormick <span dir="ltr"><<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Gabriel,<br>
<br>
> Hi! how are you?<br>
<br>
Doing great!  Thanks for asking questions on the list. :-)<br>
<span class=""><br>
> I'm trying to use RIRE datasets..., for example:<br>
><br>
> In the RIRE terminology we say "From CT to MR", this means that the "moving<br>
> image" is the CT image and the fixed image is the MR image. Then, I need a<br>
> transformation "T"  to apply to the CT test points for the comparison with<br>
> the "ground truth"...I'm not wrong about this?<br>
<br>
</span>Usually, a transformation "From CT to MR" implies that CT is the Fixed<br>
Image and MR is the Moving Image in ITK terminology.<br>
<span class=""><br>
> But my problem is that the ITK provides a transformation that maps poins of<br>
> the fixed (MR) image on the moving image (CT) , I guess I need to get the<br>
> inverse transformation...is that possible? I'm misunderstanding something?<br>
<br>
</span>Yes, you can easily get an inverse for a transform with the GetInverse<br>
[1] method.<br>
<br>
HTH,<br>
Matt<br>
<br>
[1] <a href="http://www.itk.org/Doxygen/html/classitk_1_1Transform.html#aec45529ed771515f684b96c5bbff6fc6" target="_blank">http://www.itk.org/Doxygen/html/classitk_1_1Transform.html#aec45529ed771515f684b96c5bbff6fc6</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font color="#666666" size="1"><i><b>Gabriel Alberto Giménez.</b></i></font></div></div>
</div>