Re: [ITK-users] ITK registration
Dženan Zukić <[email protected]> Fri, 16 Mar 2018 17:26:02 -0400
| Newsgroups | gmane.comp.lib.itk.user |
|---|---|
| Message-ID | <CAPf2UMTEX7M6JAAayaYN3=HA5xHX4hM3E+1JQ1w3YmEuLxyTcQ@mail.gmail.com> |
You can add translation to (or subtract from) image origin <https://itk.org/Doxygen/html/classitk_1_1ImageBase.html>. And that should be it. No registration needed. This example <https://itk.org/Doxygen/html/Examples_2DataRepresentation_2Image_2Image4_8cxx-example.html> might be of some use. Regards, Dženan On Fri, Mar 16, 2018 at 5:09 PM, Shrabani Ghosh <[email protected]> wrote: > Yes. I have the translation information. how to adjust with the > translation information ? > > On Fri, Mar 16, 2018 at 4:52 PM, Dženan Zukić <[email protected]> wrote: > >> 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. >> >> On Fri, Mar 16, 2018 at 4:37 PM, Shrabani Ghosh <[email protected]> >> wrote: >> >>> 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. >>> How to adjust reference frames if i want to do it? >>> >>> On Fri, Mar 16, 2018 at 4:12 PM, Dženan Zukić <[email protected]> wrote: >>> >>>> Hi Shrabani, >>>> >>>> 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 forum >>>> <https://discourse.itk.org/>, and give a more detailed description of >>>> the problem and its background? Most importantly: why do you need to do it? >>>> >>>> Regards, >>>> Dženan >>>> >>>> On Fri, Mar 16, 2018 at 3:04 PM, Shrabani Ghosh <[email protected] >>>> > wrote: >>>> >>>>> 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. >>>>> >>>>> On Fri, Mar 9, 2018 at 12:15 PM, Shrabani Ghosh < >>>>> [email protected]> wrote: >>>>> >>>>>> 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. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Fri, Mar 9, 2018 at 9:16 AM, Dženan Zukić <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Hi Shrabani, >>>>>>> >>>>>>> if I understand correctly, you need to extract a specific slice from >>>>>>> a 3D image and then do classic 2D registration using that slice? >>>>>>> >>>>>>> Extract >>>>>>> <https://itk.org/Doxygen/html/classitk_1_1ExtractImageFilter.html> >>>>>>> filter's documentation. Extract example >>>>>>> <https://itk.org/ITKSoftwareGuide/html/Book2/ITKSoftwareGuide-Book2ch1.html#x7-130001.7>. >>>>>>> 2D registration example >>>>>>> <https://itk.org/ITKExamples/src/Registration/Common/Perform2DTranslationRegistrationWithMeanSquares/Documentation.html> >>>>>>> . >>>>>>> >>>>>>> You should post further question on the forum >>>>>>> <https://discourse.itk.org/>, to which this mailing list has >>>>>>> transitioned. >>>>>>> >>>>>>> Regards, >>>>>>> Dženan >>>>>>> >>>>>>> On Thu, Mar 8, 2018 at 4:44 PM, Shrabani Ghosh < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> I have a 3D image volume. And I have 2d segmented image . I need to >>>>>>>> do the >>>>>>>> registration using 3d image specific slice and 2d segmented image. >>>>>>>> Any >>>>>>>> registration example does that? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Sent from: http://itk-insight-users.2283740.n2.nabble.com/ >>>>>>>> The ITK community is transitioning from this mailing list to >>>>>>>> discourse.itk.org. Please join us there! >>>>>>>> ________________________________ >>>>>>>> Powered by www.kitware.com >>>>>>>> >>>>>>>> Visit other Kitware open-source projects at >>>>>>>> http://www.kitware.com/opensource/opensource.html >>>>>>>> >>>>>>>> Kitware offers ITK Training Courses, for more information visit: >>>>>>>> http://www.kitware.com/products/protraining.php >>>>>>>> >>>>>>>> Please keep messages on-topic and check the ITK FAQ at: >>>>>>>> http://www.itk.org/Wiki/ITK_FAQ >>>>>>>> >>>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>>> https://itk.org/mailman/listinfo/insight-users >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > The ITK community is transitioning from this mailing list to discourse.itk.org. Please join us there! ________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: https://itk.org/mailman/listinfo/insight-users
axgreaterpalatineforamen0004.png
(image/png, 474 B) - not displayed
ax ct0004.png
(image/png, 181.3 KB) - not displayed