[ITK-users] what is the best way to do TriangleMeshToBinaryImageFilter on a region

Dženan Zukić dzenanz at gmail.com
Wed Jan 4 07:37:24 EST 2017


Tester reproduces the problem. If you comment out line 43, then it works.
If you use the master version of ITK (with this patch
<http://review.source.kitware.com/#/c/21896/> applied), then unmodified
tester should work too.

Regards,
Dženan

On Wed, Jan 4, 2017 at 7:08 AM, Young Lee <questionleon at gmail.com> wrote:

> Thanks Dženan
> I tried your tester, and add
> imageFilter->SetOutsideValue(0);
> imageFilter->SetInsideValue(255);
>
> I saved the imageFilter->GetOutput() result to ITKMesh_Output.mha, but
> when I open with volview   volume with all zero value , do I missing
> something?
>
>
>
> --
> View this message in context: http://itk-insight-users.
> 2283740.n2.nabble.com/Re-ITK-users-what-is-the-best-way-to-do-
> TriangleMeshToBinaryImageFilter-on-a-region-tp7589528p7589536.html
> Sent from the ITK Insight 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20170104/38ea9758/attachment.html>


More information about the Insight-users mailing list