highdicom has create_segmentation_pyramid() method call for creating multiresolution segmentations, but it has been hard to get the parameters correct. See numpy-to-dicom.py in https://github.com/knowledgevis/rms-infer-code-standalone for work in progress. This uses Chris's high level routines to output either binary or fractional and single or pyramidal output, but the output seems to be zero in Slim.
For comparison, the direct invocation of highdicom.seg.Segmentation() method works correctly and outputs a multichannel fractional seg object.
highdicom has
create_segmentation_pyramid()
method call for creating multiresolution segmentations, but it has been hard to get the parameters correct. See numpy-to-dicom.py in https://github.com/knowledgevis/rms-infer-code-standalone for work in progress. This uses Chris's high level routines to output either binary or fractional and single or pyramidal output, but the output seems to be zero in Slim.For comparison, the direct invocation of
highdicom.seg.Segmentation()
method works correctly and outputs a multichannel fractional seg object.