I have a 3D numpy array that contains my ROI, obtained by peforming a logic and between the CT image and the mask.
After performing this operation and a zoom using scipy.ndimage.zoom in order to obtain a volume of 160x160x160, I would like to enlarge the ROI, since right now the amount of values different from 0 is around 5%, or at least remove a lot of 0s (for instance by reducing the volume to 80x80x80 around my ROI)
Do you have any advice? Thank you in advance.