当前位置:网站首页>Shape template matching based on Halcon learning [9] PM_ multiple_ dxf_ models. Hdev routine -- [read and write XLD from DXF file]
Shape template matching based on Halcon learning [9] PM_ multiple_ dxf_ models. Hdev routine -- [read and write XLD from DXF file]
2022-07-05 07:55:00 【BoomBiuBiu】
* This sample program demonstrates how to read DXF File and how to use this object CAD Description generate shape model .
Others are similar to the previous blog , Mainly about the use of two operators .
dev_clear_window ()
* from DXF File read XLD outline
read_contour_xld_dxf (Contours, 'metal-part-' + J$'02', [], [], DxfStatus)
* from XLD Outline creates an image of a bright object with holes
gen_model_image_of_bright_object_with_holes (Contours, Image, 3.38, 646, 482)
dev_display (Image)
name :read_contour_xld_dxf- from dxf File read xld outline .
describe :read_contour_xld_dxf Read dxf file name (dxf edition AC1009,AutoCAD edition 12) The content of , And convert it to xld contours. If the absolute path is not given in the file name , Will be in HALCON Search the current directory of the process DXF file .
Output parameters DxfStatus Contains information about the number of contours read , If necessary, , Also contains DXF Unexplained warnings in the file section .
Parameters
outline ( Output object )xld\u cont(-array)→ object
read XLD outline .
file name ( Input control ) file name . read → ( character string )
DXF The name of the document .
File extension :.dxf
GenParamName( Input control ) attribute . name (-array)→ ( character string )
For DXF Enter the name of the general parameter to be adjusted .
The default value is :[]
List of values :“ Maximum approximation error ”、“ Minimum value point ”、“ read attribute ”
GenParamValue( Input _ Control ) attribute . value (- Array )→ ( The set of real Numbers / Integers / character string )
For DXF Enter the general parameter value for adjustment .
The default value is :[]
recommended value :“ really ”、“ false ”、0.1、0.25、0.5、1、2、5、10、20
DxfStatus( Output control ) character string (- Array )→ ( character string )
State information
name :gen_model_image_of_bright_object_with_holes- from XLD Outline creates an image of a bright object with holes
Parameters
outline ( Input object ) object → object
ModelImage( Output object ) object → object
The zoom ( Input control ) arbitrarily → ( Tuples )
Width ( Input control ) arbitrarily → ( Tuples )
Height ( Input control ) arbitrarily → ( Tuples )
边栏推荐
- Some tips for using source insight (solve the problem of selecting all)
- Global and Chinese market of blackbody calibration source 2022-2028: Research Report on technology, participants, trends, market size and share
- [untitled] record the visual shock of the Winter Olympics and the introduction of the display screen
- Global and Chinese market of digital shore durometer 2022-2028: Research Report on technology, participants, trends, market size and share
- Global and Chinese market of rammers 2022-2028: Research Report on technology, participants, trends, market size and share
- Network communication model -- Network OSI tcp/ip layering
- 软件设计师:03-数据库系统
- 找不到实时聊天软件?给你推荐电商企业都在用的!
- Good websites need to be read carefully
- Altium designer 19.1.18 - hide the fly line of a network
猜你喜欢
Communication standard -- communication protocol
Altium Designer 19.1.18 - 隐藏某一个网络的飞线
Process communication mode between different hosts -- socket
Embedded AI intelligent technology liquid particle counter
Altium designer 19.1.18 - change the transparency of copper laying
Embedded composition and route
Altium designer 19.1.18 - clear information generated by measuring distance
C # joint configuration with Halcon
找不到实时聊天软件?给你推荐电商企业都在用的!
Numpy——1.數組的創建
随机推荐
Factors affecting the quality of slip rings in production
The global and Chinese market of lithographic labels 2022-2028: Research Report on technology, participants, trends, market size and share
Temperature sensor DS18B20 principle, with STM32 routine code
C#,数值计算(Numerical Recipes in C#),线性代数方程的求解,LU分解(LU Decomposition)源程序
Altium Designer 19.1.18 - 更改铺铜的透明度
Improve lighting C program
C # joint configuration with Halcon
Mlperf training v2.0 list released, with the same GPU configuration, the performance of Baidu PaddlePaddle ranks first in the world
Function of static
Openxlsx field reading problem
Global and Chinese market of plastic recycling machines 2022-2028: Research Report on technology, participants, trends, market size and share
Could NOT find XXX (missing: XXX_LIBRARY XXX_DIR)
From then on, I understand convolutional neural network (CNN)
Opendrive arc drawing script
Threads and processes
MySql——存储引擎
Day08 ternary operator extension operator character connector symbol priority
Global and Chinese market for blood typing 2022-2028: Research Report on technology, participants, trends, market size and share
Gradle复合构建
如何将EasyCVR平台RTSP接入的设备数据迁移到EasyNVR中?