[vtkusers] [?? Probable Spam] Re: vtk structure

Mar Ávila mmavila at unex.es
Thu Jun 19 05:12:37 EDT 2008


Hi;

I have several images:

vtkJPEGReader *Imagen = vtkJPEGReader::New();   
  Imagen->SetFilePrefix("MR00"); 
  Imagen->SetFilePattern("%s%i.jpg");
  Imagen->SetFileDimensionality(3);
  Imagen->SetDataExtent(0, 512, 0, 512, 40,55 ); 
  Imagen->SetDataOrigin(0,0,0);
  Imagen->SetDataScalarTypeToUnsignedChar();
  Imagen->SetDataSpacing(1, 1,2); 
  Imagen->Update(); 

I want to get the dates of images for use to late, for interpolate. 
How do I used vtkJPEGReader::GetOutput()??

Sorry about my English. Thank you!!




More information about the vtkusers mailing list