Discussion:
[ITK-users] ITK MESH
MAB12
2017-06-20 16:53:51 UTC
Permalink
Hi

I have a binary mask, (segmentation result) and I convert it to a an
itk::Mesh using BinaryMask3DMeshSource. I write the result into a byu Mesh
after. The outcome is a byu Mesh file but that lost all spatial
configuration and is far away in the spatial coordinate from my ground truth
segmentation. The binary mask before was fine I used it to convert it
manually with itk-SNAP.

Any idea was is the problem or insight into how itk Mesh works?



--
View this message in context: http://itk-users.7.n7.nabble.com/ITK-MESH-tp38315.html
Sent from the ITK - Users mailing list archive at Nabble.com.
_____________________________________
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:
http://public.kitware.com/mailman/listinfo/insight-users
Matt McCormick
2017-06-20 17:12:19 UTC
Permalink
Hi,

Points in the itk::Mesh are in physical coordinates. So, it is important
that the metadata such as the Image Spacing and Origin are preserved, etc.
For more information see the Mesh section of the ITK Software Guide [1] and
the Image section [2].

Hope this helps,
Matt

[1]
https://itk.org/ITKSoftwareGuide/html/Book1/ITKSoftwareGuide-Book1ch4.html#x38-620004.3

[2]
https://itk.org/ITKSoftwareGuide/html/Book1/ITKSoftwareGuide-Book1ch4.html#x38-470004.1
Post by MAB12
Hi
I have a binary mask, (segmentation result) and I convert it to a an
itk::Mesh using BinaryMask3DMeshSource. I write the result into a byu Mesh
after. The outcome is a byu Mesh file but that lost all spatial
configuration and is far away in the spatial coordinate from my ground truth
segmentation. The binary mask before was fine I used it to convert it
manually with itk-SNAP.
Any idea was is the problem or insight into how itk Mesh works?
--
View this message in context: http://itk-users.7.n7.nabble.
com/ITK-MESH-tp38315.html
Sent from the ITK - Users mailing list archive at Nabble.com.
_____________________________________
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
http://public.kitware.com/mailman/listinfo/insight-users
MAB12
2017-06-20 18:44:09 UTC
Permalink
Hi

Thank for response. Since I simply use the itk::BinaryMask3DMeshSource
filter to convert to a mesh and I don't see parameters to set the spatial
parameters I assumed it should be done automatically...

I write the mesh into a byu format, is it possible that byu format is not
well handle in itk? I saw a post saying that only vtk handle byu file...



--
View this message in context: http://itk-users.7.n7.nabble.com/ITK-MESH-tp38315p38317.html
Sent from the ITK - Users mailing list archive at Nabble.com.
_____________________________________
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:
http://public.kitware.com/mailman/listinfo/insight-users

Loading...