The volumetric_extractor at busybee, resize each AnatomicalPlane to isotropic 2D. Because of that, the annotation when imported must be resize to the specific dimension based on the pixdims. Without resizing, the mask will be shifted.
Solution
This PR implements the isotropic rescaling logic from volumetric_extractor so that the mask is resized matching the size of the Axial png from volumetric_extractor
Changelog
Fix the NifTI mask import to the size matching the one extracted by busybee.
Problem
The
volumetric_extractor
at busybee, resize each AnatomicalPlane to isotropic 2D. Because of that, the annotation when imported must be resize to the specific dimension based on the pixdims. Without resizing, the mask will be shifted.Solution
This PR implements the isotropic rescaling logic from
volumetric_extractor
so that the mask is resized matching the size of the Axial png fromvolumetric_extractor
Changelog