This use case is also what parameter weights are for<br><br>On Sunday, September 25, 2016, Dženan Zukić <<a href="mailto:dzenanz@gmail.com">dzenanz@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Marc-Michel,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">the classic solution for such a case is to derive a class from itkTranslationTransform and re-implement the relevant methods (TransformPoint, Translate etc). Then supply your transform class instead of itkTranslationTransform to itkImageRegistrationMethodv4.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Regards,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Dženan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 24, 2016 at 2:54 PM, Marc-Michel Rohé <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','marc-michel.rohe@inria.fr');" target="_blank">marc-michel.rohe@inria.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I am working with the registration pipeline of ITK using 3D images. What I would like to do is to register two images with translations but keeping the translation with respect to the third dimension at 0 (so find the best 2D translation on the axis X and Y mapping two images).<br>
<br>
Is there a way to use the ITK classes "itkTranslationTransform" and "itkImageRegistrationMethodv4" ?<br>
<br>
I have looked at multiple examples and documentation but could not find a way to do it easily if not coding a whole new class that performs 2D transform in 3D...<br>
<br>
Thx !<br>
______________________________<wbr>_______<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/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/product<wbr>s/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_FA<wbr>Q</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/mail<wbr>man/listinfo/insight-users</a><br>
</blockquote></div><br></div>
</blockquote><br><br>-- <br><br>brian<br><br><br>