[vtkusers] Does vtkImageBlend or vtkAppendPolyData generate 3D / Volumetric representation of 2D Image Data or PolyData respectively

Neel007 sayanmaity.10 at gmail.com
Mon Jul 13 14:28:18 EDT 2015


Dear Cory,

I am able to read the 2D *.tif's file using the script you mentioned:

   vtkSmartPointer<vtkTIFFReader> reader =
    vtkSmartPointer<vtkTIFFReader>::New();
  reader->SetFileNameSliceOffset(1);
  reader->SetFileNameSliceSpacing(1);
 
reader->SetFilePattern("C:\\Users\\Neel\\Desktop\\VTK_try\\test_images\\2.%d.bspline.tif");
  reader->SetDataExtent(0, 63, 0, 63, 1, 551);
  
  reader->SetOrientationType(3);
  reader->Update();

And using the ImageSlicing.cxx I am able to vie the resulting 3D volume from
the 2D tif's:
http://web.mit.edu/16.225/dv/VTK/Examples/ImageProcessing/Cxx/ImageSlicing.cxx

<http://vtk.1045678.n5.nabble.com/file/n5732868/1.png> 

<http://vtk.1045678.n5.nabble.com/file/n5732868/2.png> 

<http://vtk.1045678.n5.nabble.com/file/n5732868/3.png> 



--
View this message in context: http://vtk.1045678.n5.nabble.com/Does-vtkImageBlend-or-vtkAppendPolyData-generate-3D-Volumetric-representation-of-2D-Image-Data-or-Poy-tp5732834p5732868.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list