ImagingDataCommons / highdicom

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

Add better support for segmented LUTs #167

Open CPBridge opened 2 years ago

CPBridge commented 2 years ago

139 added support for segmented LUTs in presentation states, however the user is left to themselves to construct valid lut data, which is not straightforward.

We should provide utility methods or alternative constructor to allow users to construct LUTs in a more intuitive way

hackermd commented 2 years ago

I generally agree. My only concern is that there may not necessary be an easier way, but just different ways. And introducing another way to describe the segmentation may be even more confusing.