[vtkusers] Question about vtkDICOMImageReader
    Mathieu Malaterre 
    Mathieu.Malaterre at creatis.insa-lyon.fr
       
    Mon Jul 28 04:45:27 EDT 2003
    
    
  
Ma,
	You can try this in C++:
vtkDICOMImageReader *reader = ...
...
reader->Update(); //important
vtkImageData *data = reader->GetOutput();
int dims[3];
data->GetDimensions( dims );
std::cout << dims[0] ...
HTH
mathieu
Ma Qianli wrote:
> How can I get info from the header of DICOM files, such as the images' 
> height and width, using vtkDICOMImageReader class?
> 
> Thanks
> 
> _________________________________________________________________
> 享用世界上最大的电子邮件系统― MSN Hotmail。  http://www.hotmail.com 
> _______________________________________________
> This is the private VTK discussion list. Please keep messages on-topic. 
> Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 
-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/
    
    
More information about the vtkusers
mailing list