On 08/09/2012 04:24 AM, [email protected] wrote:
I am trying to open some Tiff (.tif) files in ParaView, which contain
an image sequence. I have converted the Tiff files to .raw format
(using ImageJ) and opened them in ParaView using the "Raw (binary)
Files" reader. But I am unable display the object, I get various
errors been shown in the Output Messages window.
Can anyone guide me of the values to be used in "Properties" tab for
correctly interpreting a .tif file converted to .raw?
I have uploaded one of the Tiff files I am using here:
https://www.dropbox.com/s/39gr4ik03l8fmoh/nir_tomo.tif It was
originally a 32bit Tiff file, but I converted it to 8bit to reduce
the file size.
Thanks for any help James
I tried opening the supplied tiff file as in both ParaView and pvpython
(version 3.14.1) but got a segfault both times.
Here's the pvpython script that failed:
import paraview.vtk.io
reader = paraview.vtk.io.vtkTIFFReader()
reader.SetFileName("data/nir_tomo.tif")
reader.Update()
print 'ready to write'
writer = paraview.vtk.io.vtkXMLImageDataWriter()
writer.SetFileName("/home/hal/data/nir_tomo.vti")
writer.SetInputConnection(reader.GetOutputPort())
writer.Update()
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview