<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="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="HOEnZb"><div class="h5"><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_-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_-8755959179901732773m_-9118124762940283848m_-4160146241774554560HOEnZb"><div class="m_-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_-8755959179901732773m_-9118124762940283848m_-4160146241774554560m_5529778898883192942HOEnZb"><div class="m_-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_-8755959179901732773m_-9118124762940283848m_-4160146241774554560m_5529778898883192942m_3730450971935635501HOEnZb"><div class="m_-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>