[vtkusers] Redering 3D tiff files in VTK

Abhishek abhishekworld at gmail.com
Wed Jun 13 00:26:44 EDT 2018


Greetings,
I want to render a 3D tiff file (tiff file with lots of 2D slices).
I have a image with `Extent  -  (0, 799, 0, 511, 0, 69)`
I got this information as follow:

import vtk
reader = vtk.vtkTIFFReader()
reader.SetFileName('./data_image.tif')
reader.Update()
img = reader.GetOutput()
img.GetExtent()
(0, 799, 0, 511, 0, 69)

I am not sure how to render this 3D volume.
Could you please help.

Thanks,
Abhishek
-- 
Abhishek Patil
zeroth.me
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180613/e63f36ae/attachment.html>


More information about the vtkusers mailing list