curtislisle / mhub_models

Stores the MHub models dockerfiles and scripts.
MIT License
1 stars 0 forks source link

Pyramidal output of Fractional Segmentation output from RMS mdel #3

Open curtislisle opened 1 month ago

curtislisle commented 1 month ago

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.