<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">You can add
<span style="color:rgb(34,34,34);font-family:verdana,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">translation</span> to (or subtract from) <a href="https://itk.org/Doxygen/html/classitk_1_1ImageBase.html">image origin</a>. And that should be it. No registration needed. This <a href="https://itk.org/Doxygen/html/Examples_2DataRepresentation_2Image_2Image4_8cxx-example.html">example</a> might be of some use.</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 Fri, Mar 16, 2018 at 5:09 PM, Shrabani Ghosh <span dir="ltr"><<a href="mailto:srbn.ghosh99@gmail.com" target="_blank">srbn.ghosh99@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes. I have the translation information. how to adjust with the translation information ?</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 16, 2018 at 4:52 PM, Dženan Zukić <span dir="ltr"><<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>></span> 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">You need to know the relationship between reference frames of the images (e.g. translation, rotation etc) in order to adjust one image to the other. And you seem to be missing that information.</div></div><div class="m_-1985663750621093193HOEnZb"><div class="m_-1985663750621093193h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 16, 2018 at 4:37 PM, Shrabani Ghosh <span dir="ltr"><<a href="mailto:srbn.ghosh99@gmail.com" target="_blank">srbn.ghosh99@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Now I am trying to do with extracting a 2D slice from 3D image and register with the segmented image. I need to register it because after the registration I will label on ct image with registered image. <div> How to adjust reference frames if i want to do it? </div></div><div class="m_-1985663750621093193m_-3036265591741187259HOEnZb"><div class="m_-1985663750621093193m_-3036265591741187259h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 16, 2018 at 4:12 PM, Dženan Zukić <span dir="ltr"><<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>></span> 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 Shrabani,</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">I can't shake the feeling that you are trying to do something unnecessary. You should not need to register an image with a segmentation! You might only need to adjust reference frames if they are different. Moreover, you are trying to register a 3D image with a 2D registration. I fail to see the point of that - that's why I misunderstood your initial question. Can you post your question to the <a href="https://discourse.itk.org/" target="_blank">forum</a>, and give a more detailed description of the problem and its background? Most importantly: why do you need to do it?</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="m_-1985663750621093193m_-3036265591741187259m_-8755959179901732773h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 16, 2018 at 3:04 PM, Shrabani Ghosh <span dir="ltr"><<a href="mailto:srbn.ghosh99@gmail.com" target="_blank">srbn.ghosh99@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">But when I am trying to register, I cannot do it. I dont is it the reason of the size difference? the left image is 512x546 and the right image is 105x37.</div><div class="m_-1985663750621093193m_-3036265591741187259m_-8755959179901732773m_-9118124762940283848m_-4160146241774554560HOEnZb"><div class="m_-1985663750621093193m_-3036265591741187259m_-8755959179901732773m_-9118124762940283848m_-4160146241774554560h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 9, 2018 at 12:15 PM, Shrabani Ghosh <span dir="ltr"><<a href="mailto:srbn.ghosh99@gmail.com" target="_blank">srbn.ghosh99@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">does the registration creates problem if the file sizes are so diff? LIke in my case the two files are these. I want to register the right( red )image on a specific location of the left image.<div><img src="cid:ii_jek7a7nm0_1620bc1394a8fde7" width="459" height="490"> <img src="cid:ii_jek7aqs92_1620bc1994cc1a80" width="105" height="37"><br><br><br></div></div><div class="m_-1985663750621093193m_-3036265591741187259m_-8755959179901732773m_-9118124762940283848m_-4160146241774554560m_5529778898883192942HOEnZb"><div class="m_-1985663750621093193m_-3036265591741187259m_-8755959179901732773m_-9118124762940283848m_-4160146241774554560m_5529778898883192942h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 9, 2018 at 9:16 AM, Dženan Zukić <span dir="ltr"><<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>></span> 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 Shrabani,</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">if I understand correctly, you need to extract a specific slice from a 3D image and then do classic 2D registration using that slice?</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"><a href="https://itk.org/Doxygen/html/classitk_1_1ExtractImageFilter.html" target="_blank">Extract</a> filter's documentation. Extract <a href="https://itk.org/ITKSoftwareGuide/html/Book2/ITKSoftwareGuide-Book2ch1.html#x7-130001.7" target="_blank">example</a>. 2D registration <a href="https://itk.org/ITKExamples/src/Registration/Common/Perform2DTranslationRegistrationWithMeanSquares/Documentation.html" target="_blank">example</a>.</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">You should post further question on the <a href="https://discourse.itk.org/" target="_blank">forum</a>, to which this mailing list has transitioned.</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="m_-1985663750621093193m_-3036265591741187259m_-8755959179901732773m_-9118124762940283848m_-4160146241774554560m_5529778898883192942m_3730450971935635501HOEnZb"><div class="m_-1985663750621093193m_-3036265591741187259m_-8755959179901732773m_-9118124762940283848m_-4160146241774554560m_5529778898883192942m_3730450971935635501h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 8, 2018 at 4:44 PM, Shrabani Ghosh <span dir="ltr"><<a href="mailto:srbn.ghosh99@gmail.com" target="_blank">srbn.ghosh99@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a 3D image volume. And I have 2d segmented image . I need to do the<br>
registration using 3d image specific slice and 2d segmented image. Any<br>
registration example does that?<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://itk-insight-users.2283740.n2.nabble.com/" rel="noreferrer" target="_blank">http://itk-insight-users.22837<wbr>40.n2.nabble.com/</a><br>
The ITK community is transitioning from this mailing list to <a href="http://discourse.itk.org" rel="noreferrer" target="_blank">discourse.itk.org</a>. Please join us there!<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="https://itk.org/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">https://itk.org/mailman/listin<wbr>fo/insight-users</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>