Category "itk"

Getting the intensities of a certain region of an MR image

I have a 3D MR image as a NIfTI file (.nii.gz). I also have a 'mask' image as a NIfTI file, which is just a bunch of 0s and 1s. The 1s in this mask image repres

Using Simple ITK to find bounding box

How can I capture the bounding box from the 3D mask by using Simple ITK in python? The ITK has the bounding box function, but I couldn't find similar function i