Currently the highdicom.seg.create_segmentation_pyramid function does not correctly support segmentation pixel arrays that are:
Floating point-valued, and/or
Contain multiple segments stacked down the last axis
Without API changes, this PR supports these segmentation arrays correctly. Interpolation for fractional segmentations with floating point values is achieved through bi-linear interpolation.
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.