Topic: The size of an object can be indicated by the dimensions of the bounding box which is the smallest parallelepiped enclosing the object. The dimensions of this box can be found by scanning the 3D image and finding the object voxels with the minimum/maximum coordinates along each dimension.
Exercise: Implement the function for finding the axis-aligned bounding box of a 3D object.
The function takes as input a 3D image (Numpy array) and returns the coordinates of the two points that define the axis-aligned bounding box, and .
Instructions and Material for solution: Click Code to download the exercise material.
This exercise was developed by A. Kouzelis.
————————————————————————————————————–
For the solutions to the exercises, please contact koroniioanna@csd.auth.gr