[Insight-users] SpatialObjectToImageFilter -- performance.
Luis Ibanez
luis.ibanez at kitware.com
Sun May 6 12:18:57 EDT 2007
Hi Julia,
Using the SpatialObjetToImageFilter is a very inefficient way of
rasterizing a Mesh.
The filter that you may want to use for this rasterization is:
http://www.itk.org/Insight/Doxygen/html/classitk_1_1TriangleMeshToBinaryImageFilter.html
Regards,
Luis
---------------------
Julia Smith wrote:
> I am using a mesh object (3d) and trying to convert it to an masking
> image. The image size is not very large 100x70x50 pixels floating point.
> This conversion is taking minutes. The source of the mesh was a mask
> image of the same size.
>
> The exercise is to see what happens going from image->mesh->image.
>
> The operation has currently been taking a few minutes and it is still going.
>
> The version of insight I am using is 2.8.1.
>
> Suggestions? I hope I have done something rather stupid.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list