[vtkusers] vtkImageMapToColors vtkWindowLevelLookupTable

David Gobbi david.gobbi at gmail.com
Wed Mar 1 08:11:56 EST 2017


This might be related to the following known bug:
https://gitlab.kitware.com/vtk/vtk/issues/16966

The bug occurs if you build the table by calling
lookupTable->SetTable(array).  If this is the case, you can work around
this by instead building the table by calling lookupTable->SetTableValue(i,
r, g, b, a) for every color.

 - David



On Wed, Mar 1, 2017 at 5:31 AM, Shark <m.nunes at fratoria.com> wrote:

> Hello,
> I have recently updated my software from vtk6.2 to vtk7.1 and I am having
> issues with window/level management on CT Data.
>
> I have a small GUI to interact with window/level values. I did not change
> any code, but now, with vtk7.1, it happens that pixels go black when level
> goes to very low values and/or window goes to very high values.
> (Ex: bone pixels go black after a certain threshold.)
>
> Has anyone experienced this, or could point me in the right direction?
>
> Thank you very much.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170301/15c8a685/attachment.html>


More information about the vtkusers mailing list