Sign in to follow this  

Which bounding box algorithm?

This topic is 4020 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi. I am trying to find some information about an algorithm that can generate the following type of bounding box as indicated by the green box around the red polygon "B". I already have an algorithm that generates the bounding box around polygon "A", but I have no idea what the name of an algorithm to produce the kind of bounding around polygon "B" would be called. Some help please. Thanks.

Share this post


Link to post
Share on other sites
Well I can search for information on how to implement this, if that's correct name of this kind of algorithm. I thought it was something like minimum perimeter bounding box, or something. Thanks.

Share this post


Link to post
Share on other sites
Quote:
Original post by kelaklub
I thought it was something like minimum perimeter bounding box, or something.
Yes, it looks like you're looking for the oriented bounding box with the minimum area/perimiter. There are at least a couple of algorithms that are commonly used; terms to google for to learn more about these might include 'rotating calipers', 'OBB eigenvectors', and 'OBB covariance'.

Here is a google hit that looks promising. I can't vouch for its accuracy, but otherwise it looks like what you're looking for.

Share this post


Link to post
Share on other sites
Quote:
Original post by Extrarius
"Object-Oriented Bounding Box" (OOBB) might bring up more specific relevant information ("A" is bounded by an "Axis-Aligned Bounding Box" (AABB))
For what it's worth, the abbreviation OBB is used much more often than OOBB. I'm sure it wouldn't hurt to search using the term OOBB as well, but 'OBB' will return the greater number of relevant hits.

Share this post


Link to post
Share on other sites

This topic is 4020 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this