可以看出能够得到移除
可以看到 在接触网 能得到异常物体
这个算法在 temp(k) = 4 * pi * stats(k,1).Area / (stats(k,1).Perimeter)^2;
stats(k,1).ThinnessRatio = temp(k);
%计算aspect ratio
temp(k) = (stats(k,1).BoundingBox(3))/(stats(k,1).BoundingBox(4));
stats(k,1).AspectRatio = temp(k)
可以求解得到很大的程度的大小尺寸 并且可以得到相关的数据结果