[vtkusers] vtkImageMapToColors vtkWindowLevelLookupTable

Shark m.nunes at fratoria.com
Wed Mar 1 08:33:15 EST 2017


Thank you for your quick reply, David.

Unfortunately I am not setting the table like that. The
vtkWindowLevelLookupTable is set up through:

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

Lookup->SetWindow(ww);
Lookup->SetLevel(wl);

and then vtkImageMapToColors is set up:
ImageMap->SetInputData(imgData);
ImageMap->SetOutputFormatToRGB();
ImageMap->SetLookupTable(Lookup);
ImageMap->Update();

Now, I am not sure if any of these types has changed from 6.2 to 7.1,
causing the pipeline to be incomplete or missing setting something up.
 




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


More information about the vtkusers mailing list