gen_measure_rectangle2 - 准备提取垂直于矩形的直边。 用法 gen_measure_rectangle2( : : Row, Column, Phi, Length1, Length2, Width, Height, Interpolation : MeasureHandle) 描述 gen_measure_rectangle2准备提取垂直于矩形长轴的直边。 矩形的中心在(Row,Column),Phi为矩形主轴的角度,Lenth1和Lenth2为两...
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)...
gen_measure_rectangle2 (Row, Column, Phi, Length1, Length2, Width, Height, Interpolation, MeasureHandle)**确定所有具有负过渡的边对,即包围暗区域的边对*Sigma := 1.1Threshold := 20Transition := 'negative'Select := 'all' measure_pairs (Image, MeasureHandle, Sigma, Threshold, Transition, Selec...
Halcon中通过gen_measure_rectangle2( : : Row, Column, Phi, Length1, Length2, Width, Height, Interpolation : MeasureHandle)即可生成一个矩形测量对象: 图1 矩形测量对象 图2 矩形测量参数 * **弧形** Halcon中通过gen_measure_arc( : : CenterRow, CenterCol, Radius, AngleStart, AngleExtent, Annulu...
gen_measure_rectangle2 (RowCenter_P, ColCenter_P, Phi_Line, 50, 20, Width, Height, 'nearest_neighbor', MsrHandle_Height) gen_rectangle2 (Rect_Show, RowCenter_P, ColCenter_P, Phi_Line, 50, 20) measure_pos (BinImage, MsrHandle_Height, 1, 40, 'all', 'all',\ ...
1.gen_measure_rectangle2( : : Row, Column, Phi, Length1, Length2, Width, Height,Interpolation : MeasureHandle) 产生测量矩形句柄,控制输入为测量矩形范围的坐标中心,矩形长轴和水平方向夹角范围的弧度,矩形边长的一半,测量图片的宽和高度,输出为测量句柄。
Halcon中通过gen_measure_rectangle2( : : Row, Column, Phi, Length1, Length2, Width, Height, Interpolation : MeasureHandle)即可生成一个矩形测量对象: 图1 矩形测量对象 图2 矩形测量参数 * **弧形** Halcon中通过gen_measure_arc( : : CenterRow, CenterCol, Radius, AngleStart, AngleExtent, Annulu...
1.gen_measure_rectangle2 (Row, Column, Angle, Length1, Length2, Width, Height, 'bilinear', MeasureHandle) 2.measure_pairs (Fuse, MeasureHandle, 1, 1, 'negative', 'all', RowEdgeFirst, ColumnEdgeFirst, AmplitudeFirst, RowEdgeSecond, ColumnEdgeSecond, AmplitudeSecond, IntraDistance, InterDist...
gen_measure_rectangle2— Prepare the extraction of straight edges perpendicular to a rectangle.Signaturegen_measure_rectangle2( : : Row, Column, Phi, Length1, Length2, Width, Height, Interpolation : MeasureHandle)Descriptiongen_measure_rectangle2 prepares the extraction of straight edges which lie ...
此外,还可以在GenParamName和GenParamValue中调整一些通用参数。特别是,可以设置运算 set_metrology_object_param 中可用的所有通用参数。但请注意,对于许多应用程序,默认值已足够,无需进行调整。 运算符 add_metrology_object_rectangle2_measure返回参数索引中计量模型内添加的计量对象的Index索引。