Discussion:
[ITK-users] ITK registration
Shrabani Ghosh
2018-03-08 21:44:58 UTC
Permalink
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
Dženan Zukić
2018-03-09 14:16:35 UTC
Permalink
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
Post by Shrabani Ghosh
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
http://www.kitware.com/products/protraining.php
http://www.itk.org/Wiki/ITK_FAQ
https://itk.org/mailman/listinfo/insight-users
Shrabani Ghosh
2018-03-09 17:15:03 UTC
Permalink
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.
Post by Dženan Zukić
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
Post by Shrabani Ghosh
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
http://www.kitware.com/products/protraining.php
http://www.itk.org/Wiki/ITK_FAQ
https://itk.org/mailman/listinfo/insight-users
Dženan Zukić
2018-03-16 20:12:24 UTC
Permalink
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
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.
Post by Shrabani Ghosh
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.
Post by Dženan Zukić
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
Post by Shrabani Ghosh
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
http://www.kitware.com/products/protraining.php
http://www.itk.org/Wiki/ITK_FAQ
https://itk.org/mailman/listinfo/insight-users
Dženan Zukić
2018-03-16 20:52:45 UTC
Permalink
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.
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?
Post by Dženan Zukić
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
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.
Post by Shrabani Ghosh
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.
Post by Dženan Zukić
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
Post by Shrabani Ghosh
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
http://www.kitware.com/products/protraining.php
http://www.itk.org/Wiki/ITK_FAQ
https://itk.org/mailman/listinfo/insight-users
Dženan Zukić
2018-03-16 21:26:02 UTC
Permalink
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
Yes. I have the translation information. how to adjust with the
translation information ?
Post by Dženan Zukić
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.
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?
Post by Dženan Zukić
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
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 <
Post by Shrabani Ghosh
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.
Post by Dženan Zukić
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 <
Post by Shrabani Ghosh
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
http://www.kitware.com/products/protraining.php
http://www.itk.org/Wiki/ITK_FAQ
https://itk.org/mailman/listinfo/insight-users
Loading...