[vtkusers] (no subject)

lappadj at libero.it lappadj at libero.it
Wed Sep 5 07:38:49 EDT 2001


Hi,
i do not succeed to read the bpm images with vtkBPMReader,i have tried 
in two following ways:

1)vtkBMPReader *imagein=vtkBMPReader::New();
imagein->SetFileName ("Documents and 
Settings/Massimo/DicomFromEngland/BMPDicom/pat_2_55.0,pat_2_64.9");
 
is not valid,and if i use the vtkImageReader i achieve this error 
message and the volume is not rendered

  Warning: In d:\nightly\vtk\imaging\vtkImageReader.cxx, line 648
  vtkBMPReader (0x00415900): File operation failed.

  Generic Warning: In d:\nightly\vtk\imaging\vtkBMPReader.cxx, line   
451
  File operation failed. row = 0, Read = 240, Skip0 = 0, Skip1 = 0,   
FilePos = 0

2)BMPReader->SetFilePrefix("pat");
BMPReader->SetFilePattern("%s_%03d.bmp");
 where the images are:pat_01.bpm to pat_09.bpm

Thanks a lot








More information about the vtkusers mailing list