[Insight-users] image to pointset

Luis Ibanez luis.ibanez at kitware.com
Mon, 15 Mar 2004 22:33:35 -0500


Hi David,


You may want to look at the filter


itkBinaryMaskToNarrowBandPointSetFilter
http://www.itk.org/Insight/Doxygen/html/classitk_1_1BinaryMaskToNarrowBandPointSetFilter.html

Insight/Code/BasicFilters/
   itkBinaryMaskToNarrowBandPointSetFilter.txx

for an example on how to generate a PointSet
from an Image.

Note that this filter selects a subset of the
pixels to be included in the PointSet.
You probably want to do some pixel selection anyways,
otherwise the amount of memory required for holding
image data represented as a PointSet will be quite
large.


   Regards,


     Luis


-------------------------------
David Macias Verde wrote:

> Hi:
> 
> How can I convert an image into a pointset?
> 
> Thanks in advance.
> 
> David Macias
> 
> 
> 
> 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>