[Insight-users] Writing landmarks with SpatialObjectWriter

William Am marian88 at live.ca
Thu Feb 28 04:16:01 EST 2008


Hi,

I am having problems writing out a list of 3d points using the
SpatialObjectWriter class. The points are stored in "pointset":

  typedef itk::PointSet< float, Dimension >       FixedPointSetType;
  FixedPointSetType pointset = filter->GetOutput();

How may I write them out using the "ptsWriter" object?

  typedef itk::SpatialObjectWriter< Dimension, float > PtsWriterType;
  PtsWriterType::Pointer ptsWriter = PtsWriterType::New();

Any help is appreciated,
William


-- 
View this message in context: http://www.nabble.com/Writing-landmarks-with-SpatialObjectWriter-tp15732462p15732462.html
Sent from the ITK - Users mailing list archive at Nabble.com.



More information about the Insight-users mailing list