Description: 最小外接矩形,根据面积和周长判断。实现图象处理的工程计算。- Compute the minimal bounding rectangle of points in the plane
usage: [rectx,recty,area,perimeter] = minboundrect(x,y,metric)
arguments: (input)
x,y- vectors of points, describing points in the plane as
(x,y) pairs. x and y must be the same lengths.
metric- (OPTIONAL)- single letter character flag which
denotes the use of minimal area or perimeter as the
metric to be minimized. metric may be either a or p ,
capitalization is ignored. Any other contraction of area
or perimeter is also accepted.
DEFAULT: a ( area )
Platform: |
Size: 17408 |
Author:rainbow |
Hits:
Description: 使用matlab代码求出不规则区域所对应的最小外接矩形-find the smallest rectantangle of unregular region with matlab Platform: |
Size: 3072 |
Author:gaohaidi |
Hits: