[vtkusers] vtkImageMapToColors vtkWindowLevelLookupTable

Shark m.nunes at fratoria.com
Wed Mar 1 08:39:51 EST 2017


David, your tip was useful to come up with a fix. 

Apparently got it working by adding SetTableValue in:

Lookup->SetMinimumTableValue(0, 0, 0, 1); 
Lookup->SetMaximumTableValue(1, 1, 1, 1); 
Lookup->SetTableValue(0, 0, 0, 0, 1);
Lookup->SetTableValue(1, 1, 1, 1, 1);
Lookup->Build(); 

Let me know if there is a more logical/correct fix. 

Thank you again,
Shark



--
View this message in context: http://vtk.1045678.n5.nabble.com/VTK-7-1-issue-with-Window-Level-rendered-values-tp5742316p5742319.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list