vector_angle_to_rigid (Row, Column, 0, Row3, Column3, Angle, HomMat2D)
affine_trans_point_2d (HomMat2D1, Row1, Column1, Qx1, Qy1)
affine_trans_point_2d (HomMat2D1, Row1, Column1, Qx1, Qy1)
affine_trans_point_2d (HomMat2D1, Row1, Column1, Qx1, Qy1)
*创建测量句柄
create_metrology_model (MetrologyHandle1)
*将圆形或圆弧型的测量对象(ROI)添加到测量模型
add_metrology_object_circle_measure (MetrologyHandle1, Qx1, Qy1, Radius1, 10, 2,1, 30, 'num_measures', 30, Index1)
set_metrology_object_param (MetrologyHandle1, 'all', 'measure_select', 'first')
*测量并拟合一个测量模型中所有测量对象的几何形状
apply_metrology_model (Image1, MetrologyHandle1)
*获取测量模型的测量结果
get_metrology_object_result (MetrologyHandle1, Index1, 'all', 'result_type', 'all_param', Circle1)
*获取测量对象的结果轮廓,测量模型拟合出来的圆
get_metrology_object_result_contour (Contours1, MetrologyHandle1, Index1, 'all', 1.5)
*获取测量模型中测量对象的测量区域和边缘点位置的坐标
get_metrology_object_measures (Contour1, MetrologyHandle1, 'all', 'all', Row4, Column4)
*渲染边缘点
gen_cross_contour_xld (Cross1, Row4, Column4, 6, 0)