Minimum bounding rectangle

Hi all,

I am trying to bound two rectangles to an ROI. The first rectangle I would like to minimize the area and the second I would like to minimize one of the sides.

The minimum bounding rectangle tool that is included seems promising to do something like this except that it does not include an angle (or at least I have not found a way to do this). If anybody has any tips or thoughts on how this might be accomplished I’d appreciate it. Thanks!

I’m not sure which tool you mean, but the built-in command Edit > Selection > To Bounding Box will only give a straight rectangle (i.e. aligned to the x and y axes).

You could try Edit > Selection > Fit Ellipse as well as measuring the angle of the Feret’s diameter of your ROI.

See also this forum thread which asks a very similar question.

1 Like