Hi I'm working with matlab and trying to select a region using a bounding box . Code is shown below
BW = bwconncomp (I1); Status = fieldprop (bw, 'fail area', 'bounding box', 'image');
The result is shown below
I am trying to get an output as shown below. Is this possible?
< I found these two codes for the generation of the oriented bounding box on the file exchange:
-
-
-
Oriented bounding box of a set of digits
-
Fyrite Diameter and Oriented Box David Legland
OBB = IMOneted box (IMG)
Components the minimum area-oriented boundary boxIMG
.
You are probably looking for with imOrientedBox
.
No comments:
Post a Comment