当前位置:网站首页>Visual upper system design and development (Halcon WinForm) -6 Nodes and grids
Visual upper system design and development (Halcon WinForm) -6 Nodes and grids
2022-07-03 15:19:00 【11eleven】
This article will introduce the design of node operation and multi grid preview .
1. take halcon Some operators of are encapsulated into corresponding tool nodes , for example , Image reading , Color conversion , Template matching creation and so on , Provide input setting parameters , Output the execution result after execution , Generally, the output result of the previous node is part of the input parameters of the next node .
For example, the input parameter of the image source node is the image address , Or camera stream , The output is image and grayscale , And picture size .
The input of the color conversion node is the original image , The output is a multi-channel image .
The input of template matching is template outline and image , The output is the matching number and score of the image .
Define the operation parameters of the node , Input parameters , Output results , In this way, when the nodes in series are processed circularly, the input and output can be defined according to the needs of the nodes .
2. In general visual projects, it is common for multiple cameras to detect different parts of the scene , Therefore, in the process of debugging and running, you will need to display images in multiple grids , Choose the grid according to the customized number or the number of cameras . Here we use winform Medium TableLayoutPanel Perform automatic division and equal division . According to the setting of rows and columns table Row and column addition of , Finally, fill the image control of the node into table in
private void SetTableCell(int rows,int columns) {
TablePanel.Controls.Clear();
TablePanel.RowStyles.Clear();
TablePanel.ColumnStyles.Clear();
TablePanel.RowCount = rows;
for (int i = 0; i < rows; i++)
{
TablePanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
}
TablePanel.ColumnCount = columns;
for (int i = 0; i < columns; i++) {
TablePanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
}
}
The renderings are as follows :

边栏推荐
- High quality workplace human beings must use software to recommend, and you certainly don't know the last one
- Global and Chinese market of trimethylamine 2022-2028: Research Report on technology, participants, trends, market size and share
- 使用JMeter对WebService进行压力测试
- What is one hot encoding? In pytoch, there are two ways to turn label into one hot coding
- [transform] [NLP] first proposed transformer. The 2017 paper "attention is all you need" by Google brain team
- Remote server background hangs nohup
- What is embedding (encoding an object into a low dimensional dense vector), NN in pytorch Principle and application of embedding
- Global and Chinese market of iron free motors 2022-2028: Research Report on technology, participants, trends, market size and share
- Center and drag linked global and Chinese markets 2022-2028: Research Report on technology, participants, trends, market size and share
- 解决pushgateway数据多次推送会覆盖的问题
猜你喜欢

What is machine reading comprehension? What are the applications? Finally someone made it clear

Redis主从、哨兵、集群模式介绍

qt使用QZxing生成二维码

北京共有产权房出租新规实施的租赁案例
![[probably the most complete in Chinese] pushgateway entry notes](/img/5a/6dcb75f5d713ff513ad6842ff53cc3.png)
[probably the most complete in Chinese] pushgateway entry notes

详解指针进阶1

【云原生训练营】模块七 Kubernetes 控制平面组件:调度器与控制器

整形和浮点型是如何在内存中的存储

Yolov5系列(一)——網絡可視化工具netron

Reentrantlock usage and source code analysis
随机推荐
Redis single thread problem forced sorting layman literacy
"Seven weapons" in the "treasure chest" of machine learning: Zhou Zhihua leads the publication of the new book "machine learning theory guide"
Global and Chinese market of lighting control components 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese market of air cargo logistics 2022-2028: Research Report on technology, participants, trends, market size and share
Center and drag linked global and Chinese markets 2022-2028: Research Report on technology, participants, trends, market size and share
What are the composite types of Blackhorse Clickhouse, an OLAP database recognized in the industry
视觉上位系统设计开发(halcon-winform)-5.相机
Global and Chinese markets of AC electromechanical relays 2022-2028: Research Report on technology, participants, trends, market size and share
第04章_逻辑架构
Jvm-02-class loading subsystem
Global and Chinese market of trimethylamine 2022-2028: Research Report on technology, participants, trends, market size and share
【可能是全中文网最全】pushgateway入门笔记
Global and Chinese markets for flexible chips 2022-2028: Research Report on technology, participants, trends, market size and share
Relationship between truncated random distribution and original distribution
Introduction, use and principle of synchronized
Win10 enterprise 2016 long term service activation tutorial
什么是embedding(把物体编码为一个低维稠密向量),pytorch中nn.Embedding原理及使用
Can‘t connect to MySQL server on ‘localhost‘
详解指针进阶1
Yolov5系列(一)——網絡可視化工具netron