[vtkusers] BMP Reader

Mahmoud El-Banna elbanna_m at hotmail.com
Fri Sep 2 12:02:21 EDT 2005


Dear All;

i am trying to build 3d model from 2d BMP images whish have a size of 64*64 
and indexed 8 bit channel and it is 32 slices, but i have problem in reading 
the images,i used the following statment to read it,but i still have the 
problem


vtkBMPReader *v16 = vtkBMPReader::New();
		   v16->SetFilePrefix (M_2dfile);
		   v16->SetDataVOI(0,63,0,63,1,32);
                                   v16->SetDataSpacing (3.2,3.2, 1.5);
		   v16->Update();
		  v16->GetOutput()->ReleaseDataFlagOn();


please advice me to solve the problem





More information about the vtkusers mailing list