Object(output_object)object(-array)→object Iconic object. FileName(input_control)filename→(string) Name of file. File extension:.hobj Result If the parameters are valid, the operatorread_objectreturns the value 2 (H_MSG_TRUE). If necessary, an exception is raised. ...
define object edges, will not be used by HALCON, because they do not define the surface of the object. Once the modelling is completed, you can store the model in DWG format. To convert the DWG file into a DXF file that is suitable for HALCON's 3D matching, carry out the following ...
smallest_rectangle1 (Regions : : : Row1, Column1, Row2, Column2 )以矩形像素坐标的角落,Column1,Row2(Row1,Column2)计算矩形区域( 平行输入坐标轴) 。 dev_display (Object : : : )显示图片 disp_rectangle1( : : WindowHandle, Row1, Column1, Row2, Column2 : )显示的矩形排列成的。disp_re...
read_measure - 从文件中读取一个measure对象。用法read_measure( : : FileName : MeasureHandle)描述read_measure从文件FileName中读取已用write_measure写入的measure对象。 measure对象的默认HALCON文件扩展名是'msr'。 读取的measure对象中包含的值存储在MeasureHandle句柄的measure对象中。
HObject ho_W, ho_GrayImage; HTuple hv_ModelID, hv_Row, hv_Column, hv_Angle; HTuple hv_Score; ReadImage(&ho_W, "D:/bb/tu/8.jpg"); Rgb1ToGray(ho_W, &ho_GrayImage); ReadNccModel("D:/bb/tu/SS.ncm", &hv_ModelID); //读取ncc模板 FindNccModel(ho_GrayImage, hv_ModelID, ...
*读取ncc模板 find_ncc_model (GrayImage, ModelID, -0.2, 0.2, 0.8, 3, 0.5, 'true', 0, Row, Column, Angle, Score) 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 在QtCreator中 HObject ho_W, ho_GrayImage; HTuple hv_ModelID, hv_Row, hv_Column, hv_Angle; ...
Contours(output_object)xld_cont(-array)→object Read XLD contours. FileName(input_control)filename.read→(string) Name of the DXF file. File extension:.dxf GenParamName(input_control)attribute.name(-array)→(string) Names of the generic parameters that can be adjusted for the DXF input. ...
get_metrology_object_result (MetrologyHandle, Index, 'all', 'result_type', 'column_end', ColEnd)*生成两个直线对象并弄到一个区域里面gen_empty_obj (LineRegion)for i := 0 to |RowBegin|-1 by 1 gen_region_line (RegionL, RowBegin, ColBegin, RowEnd, ColEnd) concat_obj (LineRegion,...
***halcon中全局变量***全局数组global tuple AA:=[1,2,3]***全局objectglobal object B***tuple简单操作tuple1:=[1,2,3]tupele2:=2*tuple1tuple3:=[1,2,3]*2.1+5tuple4:=[1,2,3]*[1,2,3]tuple5:='text1'+' good'tuple6:=11+'1'***x:=[-5:5]x2:=sin(x)+cos(x)***gen...
GPL-3.0 license starsforks Notifications Code Pull requests Actions Projects Wiki Security Insights More master BranchesTags 17branches0tags Code Clone HTTPSGitHub CLI Download ZIP This branch is1 commit ahead,4032 commits behindChibiOS:master.