[vtkusers] vtkImageViewer settings for binary image

Siddharth Srivastava siddys at gmail.com
Thu Oct 21 14:29:34 EDT 2010


Hi everyone,
     How should I deduce SetColorWindow and SetColorLevel settings for a
binary
image (just 0 and 1)? I am able to view the full range gray scale images (0
to 255),
but I get an empty window for images with just 0 and 1. I have checked the
data in Matlab, and can display it
within Matlab, so the data is ok.
     Generally, what do the functions SetColorWindow and SetColorLevel do
with the
data in the image?
      Thanks,
       Sid.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101021/51f36ccc/attachment.htm>


More information about the vtkusers mailing list