[Insight-users] Question about ImageMaskSpatialObject

Alexander.Wang zjjywmy at 163.com
Fri Jun 16 04:04:15 EDT 2006


 
Hi,
 
I have a question about the use of ImageMaskSpatialObject. I have read the codes of "Examples/Registration/ImageRegistration12.cxx", and i am not clear about the obtaining of the Mask. In that program, it is got from a file:  
  maskReader->SetFileName( argv[3] );
  spatialObjectMask->SetImage( maskReader->GetOutput() );
But what the file is? How can I generate this file?
 
I also read "Examples/SpatialObjects/ImageMaskSpatialObject.cxx", where the image of Mask was generated by a series of codes. Does it means the readin image file in the former program is just like the one generated? Or there is another method to get the image?
 
Thanks for attention!
 
Alexander
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060616/b7d7da98/attachment.htm


More information about the Insight-users mailing list