[vtkusers] Interpolation 3D

Mar Ávila mmavila at unex.es
Tue Jul 1 07:34:04 EDT 2008


Hi,
I have got several 512x512 images in vtkStructuredPoints:

  vtkJPEGReader *Imagen = vtkJPEGReader::New();   
  Imagen->SetFilePrefix("MR00"); 
  Imagen->SetFilePattern("%s%i.jpg");
  Imagen->SetFileDimensionality(3);
  Imagen->SetDataExtent(0, 511, 0, 511, 40,55 ); 
  Imagen->SetDataOrigin(0,0,0);
  Imagen->SetDataScalarTypeToUnsignedChar();
  Imagen->SetDataSpacing(1, 1, 2); 
  Imagen->Update(); 
  
  vtkStructuredPoints * DatosImagen = vtkStructuredPoints::New();
  DatosImagen->DeepCopy(Imagen->GetOutput());  
  
Totally, I have got 16 images. The gap between each pair of them (slice
thickness) is about 2 pixels. So, (1 image + 2 pixel) x 16 images = 48 - 2
(last gap) = 46 in the Z-axis, I think.  How can I interpolate?


Thanks in advance!!


_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/uns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080701/e5235ecb/attachment.htm>


More information about the vtkusers mailing list