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) :测量对象句柄
详解
有关1D测量的概念解释参考:https://blog.csdn.net/qq_18620653/article/details/106214957
部分参数介绍如图所示:
具体事例请参考 Halcon 测量之measure_pos算子介绍(四)https://blog.csdn.net/qq_18620653/article/details/106194813