[vtkusers] PolyDataToImageData only produces a black image

Siming Bayer siming.bayer at gmail.com
Thu Jun 1 11:26:00 EDT 2017


Dear all,

I just rewritten the c++ PolyDataToImageData
example(http://www.vtk.org/Wiki/VTK/Examples/Cxx/
PolyData/PolyDataToImageData)
to python. And I have changed nothing, just simply rewrite the c++ code to
python code. However, the python file only produce a black image
(256x257x256, 8bit). I used imageJ to open the produce the .mhd file. The
VTK version on my machine is 7.1. Does anybody know the reason for it? How
can I solve it?

best,
Siming
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170601/729db329/attachment.html>


More information about the vtkusers mailing list