首先感谢wangpeng,joy和xy6300,三位提供了卡尺工具的思路,并提供了卡尺工具—rake函数,综合三位同事提供的思路,整合并优化,提出了矩形矢量直线拟合算子fit_line_rectangle_vector,再次感谢三位同事!
涉及到卡尺工具—rake函数,请参考博客园博主xy6300《边缘分析及直线和圆拟合——第5讲》
一、算子说明
fit_line_rectangle_vector(Image, Rectangle : : dMRSigma, dMRThresh, lMRTransition, lMeasureRectNum, lMeasureRectHeight, lMeasureRectWidth,