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 ) )
下载说明:请别用迅雷下载,失败请重下,重下不扣分!