[vtkusers] Re: Dicom Volume: A beginers question
    Moti Freiman 
    freiman at cs.huji.ac.il
       
    Tue Feb 15 11:16:36 EST 2005
    
    
  
Hi!
the following code demonstrate how to read a volume of dicom files using 
vtk in c++:
vtkDICOMImageReader * reader = vtkDICOMImageReader::New();
reader->SetDirectoryName ("data_directory");
reader->Update (); 
then you can use:
reader->GetOutput() to get the volume
Regards!
Moti
-- 
Moti Freiman, Graduate Student.
Medical Image Processing and Computer-Assisted Surgery Laboratory.
School of Computer Science and Engineering.
The Hebrew University of Jerusalem Givat Ram, Jerusalem 91904, Israel 
Phone: +(972)-2-658-5371 (laboratory) 
E-mail: freiman at cs.huji.ac.il
WWW site: http://www.cs.huji.ac.il/~freiman  
-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005
-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005
    
    
More information about the vtkusers
mailing list