Closed RobertHabrich closed 3 weeks ago
Use reader->AutoRescaleOff()
when applying a palette to the image.
Explanation: for CT and PET, the vtkDICOMReader outputs modality values by default, and AutoRescaleOff() tells it to output the stored values instead. Palettes always expect stored values as input.
Oof... I've actually been in that example and have seen that before but totally forgot about it.
Thank you!
This sample file has PixelPresentation of "COLOR" and contains palette color lookup tables. vtkDICOMApplyPalette also seems to recognize everything. However, when rendering, I would expect something in this direction:
What I actually get using the following code is a black window. Am I missing something here?