Monday 15 April 2013

Minimal Rectangle Bounding box around a region if an image using matlab -


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

enter the image Details here

I am trying to get an output as shown below. Is this possible?

Enter image details here

< 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 box IMG .

You are probably looking for with imOrientedBox .


No comments:

Post a Comment