[vtkusers] Re:Dimension in pixels of a 2D image

Yixun Liu yxliu at fudan.edu.cn
Wed Jul 21 10:23:25 EDT 2004


Hi,

 int dim[2];


 reader->getoutput()->GetDimensions(dim);


 int numofPix = dim[0] * dim[1];


Hope it help!

Yixun Liu 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040721/9bd460bb/attachment.htm>


More information about the vtkusers mailing list