文件名称:MinBounDrect
介绍说明--下载内容均来自于网络,请自行研究使用
最小外接矩形,根据面积和周长判断。实现图象处理的工程计算。- 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 )
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 )
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MinBounDrect\bmp_in.jpg
............\MBS_Test.m
............\minboundrect.m
............\TestBmp.JPG
MinBounDrect
............\MBS_Test.m
............\minboundrect.m
............\TestBmp.JPG
MinBounDrect