[Insight-users] itkTriangleMeshToBinaryImageFilter support for partial overlap?

wanlin wanlinzhu at gmail.com
Wed Aug 17 02:27:13 EDT 2011


Dženan,

   What version of ITK are you using? With the ITKv4, Your test failed
because of non-polygon cell type.  itkTriangleMeshToBinaryImageFilter should
work with partial overlap. However you must
ensure the triangle/polygon size small enough so the interaction between
edges of cell and slices of image could be detected.


wanlin





On Tue, Aug 16, 2011 at 11:55 PM, Leila Baghdadi
<baghdadi at phenogenomics.ca>wrote:

> Dženan
>
>
> I think someone else reported this problem a while back,
>
> I have been really busy and did not get a chance to look at it yet, but
> will do soon
>
> thanks for the report
>
> Leila
>
>
> ----- Original Message -----
> From: Dženan Zukić <dzenanz at gmail.com>
> Sent: Tue, 8/16/2011 9:02am
> To: Dan Mueller <dan.muel at gmail.com>
> Cc: Insight-users <insight-users at itk.org>
> Subject: Re: [Insight-users] itkTriangleMeshToBinaryImageFilter support for
> partial overlap?
>
> This is the minimized version of the problem.
> .cpp is the code. Rendering is combination of the tetrahedron and this
> image.
>
>
>
> Slice expected shows in white what is voxelized as the inside, while I have
> manually added yellow based on what should be also voxelized as the inside
> (approximate guess, judging from the rendering).
>
>
> And this was just the experimentation. It occurred in my main project, same
> image and this mesh. The resulting voxelized mask looks normal for all
> slices except the last one (11). The mask slices are attached too.
>
>
> Regards,Dženan
>
>
> 2011/8/16 Dan Mueller <dan.muel at gmail.com>
>
>
> Hi Dženan,
>
>
>
> Can you provide some more details? I don't understand what you are
>
> meaning... Perhaps some screen shots or source code so that we can
>
> reproduce? (If the screen shots are too large, the mailing list will
>
> reject them, so you'll need to host them at some other location).
>
>
>
> Cheers, Dan
>
>
>
> 2011/8/16 Dženan Zukić <dzenanz at gmail.com>:
>
> > Hi everyone,
>
> > is itkTriangleMeshToBinaryImageFilter supposed to work correctly with
> only
>
> > partial overlap between the triangle mesh and the image? If yes, then I
> have
>
> > discovered a bug in it.
>
> > Regards,
>
> > Dženan
>
>
>
> _____________________________________
> 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.html
>
> 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://www.itk.org/mailman/listinfo/insight-users
> _____________________________________
> 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.html
>
> 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://www.itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110817/e5c52c56/attachment.htm>


More information about the Insight-users mailing list