<div dir="ltr">Hi,<div><br></div><div>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].</div><div><br></div><div>Hope this helps,</div><div>Matt</div><div><br></div><div>[1] <a href="https://itk.org/ITKSoftwareGuide/html/Book1/ITKSoftwareGuide-Book1ch4.html#x38-620004.3">https://itk.org/ITKSoftwareGuide/html/Book1/ITKSoftwareGuide-Book1ch4.html#x38-620004.3</a></div><div><br></div><div>[2] <a href="https://itk.org/ITKSoftwareGuide/html/Book1/ITKSoftwareGuide-Book1ch4.html#x38-470004.1">https://itk.org/ITKSoftwareGuide/html/Book1/ITKSoftwareGuide-Book1ch4.html#x38-470004.1</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 20, 2017 at 12:53 PM, MAB12 <span dir="ltr"><<a href="mailto:marc.boucher88@gmail.com" target="_blank">marc.boucher88@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
I have a binary mask, (segmentation result) and I convert it to a an<br>
itk::Mesh using BinaryMask3DMeshSource. I write the result into a byu Mesh<br>
after. The outcome is a byu Mesh file but that lost all spatial<br>
configuration and is far away in the spatial coordinate from my ground truth<br>
segmentation. The binary mask before was fine I used it to convert it<br>
manually with itk-SNAP.<br>
<br>
Any idea was is the problem or insight into how itk Mesh works?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://itk-users.7.n7.nabble.com/ITK-MESH-tp38315.html" rel="noreferrer" target="_blank">http://itk-users.7.n7.nabble.<wbr>com/ITK-MESH-tp38315.html</a><br>
Sent from the ITK - Users mailing list archive at Nabble.com.<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/<wbr>opensource/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/<wbr>products/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_<wbr>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/insight-users</a><br>
</blockquote></div><br></div>