ImagingDataCommons / highdicom

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

Fractional and Multisegment Pyramids #297

Closed CPBridge closed 4 months ago

CPBridge commented 5 months ago

Currently the highdicom.seg.create_segmentation_pyramid function does not correctly support segmentation pixel arrays that are:

Without API changes, this PR supports these segmentation arrays correctly. Interpolation for fractional segmentations with floating point values is achieved through bi-linear interpolation.