1.gen_measure_rectangle2
准备提取垂直于矩形的直边,也就是在矩形长边方向的边缘像素
gen_measure_rectangle2( : : Row, Column, Phi, Length1, Length2, Width, Height, Interpolation : MeasureHandle)
Row (input_control):矩形中心点的行坐标
Column (input_control):矩形中心点的列坐标
Phi (input_control):轮廓线与水平方向的夹角(弧度制)
Length1 (input_control):矩形长轴的一半
Length2 (input_control):矩形短轴的一半
Width (input_control) :待处理图像的宽度
Height (input_control) :待处理图像的高度
Interpolation (input_control) :插值方式(‘bicubic’, ‘bilinear’, ‘nearest_neighbor’)
MeasureHandle (output_control) :测量对象句柄
2.measure_pairs
提取垂直于矩形或环形弧的直边对。
measure_pairs(Image : : MeasureHandle,Sigma,Threshold,Transition,Select :RowEdgeFirst,ColumnEdgeFirst,AmplitudeFirst,RowEdgeSecond,ColumnEdgeSecond,AmplitudeSecond,IntraDistance,InterDistance)
Image(input_control):传入图像
MeasureHandle(input_control):传入提取边缘像素测量句柄
Sigma(input_control):平滑系数
Threshold(input_control):灰度值一阶导数的阈值
Transition(input_control):极性 positive: 黑->白 negaitive:白-&

该文描述了几个用于图像处理的函数,包括gen_measure_rectangle2用于创建矩形边缘测量,measure_pairs提取边缘对,以及measure_pos寻找单个边缘。这些函数涉及参数如角度、尺寸、平滑度和阈值,用于精确检测和分析图像中的几何形状特征。
最低0.47元/天 解锁文章
1723

被折叠的 条评论
为什么被折叠?



