ImagingDataCommons / highdicom

High-level DICOM abstractions for the Python programming language
https://highdicom.readthedocs.io
MIT License
168 stars 35 forks source link

Change `ParametricMap` to use new `VOILUTTransformation` class #168

Open CPBridge opened 2 years ago

CPBridge commented 2 years ago

Unify the API of the ParametricMap class with the presentation state SOPClasses by having the user provide a VOILUTTransformation object to the constructor. This is a backward incompatible change

hackermd commented 2 years ago

What do you think about adding thevoi_lut_transformation: Optional[VOILUTTransformation] parameter and including a deprecation warning for window_width and window_center? That would make it easier to deprecate the parameters in a future version.