image processing - Area of Bounding Box of an object matlab -
I have different sizes of objets and my purpose is to find the ratio between the object area and its bounding box area. There is no problem finding the object area but I did not find any way to get the bounding box area.
Is there any way to calculate the bounding box area or any function in matlab?
But, you know the bounding box? If you do not use it, then use it and you will get it.
Once you have it, it's just easier to calculate the area of one square. Regional property gives you the [xy]
and [x_width y_width]
will give. I am sure that you are able to calculate the area of a square with the size of your side.
Comments
Post a Comment