当前位置:网站首页>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 :

边栏推荐
- Introduction, use and principle of synchronized
- 视觉上位系统设计开发(halcon-winform)
- Explanation of time complexity and space complexity
- 使用Tengine解决负载均衡的Session问题
- 求字符串函数和长度不受限制的字符串函数的详解
- 什么是Label encoding?one-hot encoding ,label encoding两种编码该如何区分和使用?
- 【云原生训练营】模块八 Kubernetes 生命周期管理和服务发现
- GCC cannot find the library file after specifying the link library path
- Leetcode the smallest number of the rotation array of the offer of the sword (11)
- 第04章_逻辑架构
猜你喜欢

Popular understanding of gradient descent

视觉上位系统设计开发(halcon-winform)-4.通信管理

需要知道的字符串函数

Construction of operation and maintenance system

Jvm-08-garbage collector
![[Yu Yue education] scientific computing and MATLAB language reference materials of Central South University](/img/83/922efb4f88843f1b7feaccf2b515b9.jpg)
[Yu Yue education] scientific computing and MATLAB language reference materials of Central South University

视觉上位系统设计开发(halcon-winform)

Jvm-03-runtime data area PC, stack, local method stack

基础SQL教程

什么是one-hot encoding?Pytorch中,将label变成one hot编码的两种方式
随机推荐
[attention mechanism] [first vit] Detr, end to end object detection with transformers the main components of the network are CNN and transformer
【云原生训练营】模块七 Kubernetes 控制平面组件:调度器与控制器
视觉上位系统设计开发(halcon-winform)-4.通信管理
Using TCL (tool command language) to manage Tornado (for VxWorks) can start the project
Global and Chinese markets of AC electromechanical relays 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese markets for infrared solutions (for industrial, civil, national defense and security applications) 2022-2028: Research Report on technology, participants, trends, market size and sh
Tensorflow realizes verification code recognition (I)
Concurrency-02-visibility, atomicity, orderliness, volatile, CAS, atomic class, unsafe
Jvm-03-runtime data area PC, stack, local method stack
Kubernetes - yaml file interpretation
Leetcode the smallest number of the rotation array of the offer of the sword (11)
视觉上位系统设计开发(halcon-winform)-6.节点与宫格
Dataframe returns the whole row according to the value
Neon global and Chinese markets 2022-2028: Research Report on technology, participants, trends, market size and share
Using notepad++ to build an arbitrary language development environment
使用Tengine解决负载均衡的Session问题
Mmdetection learning rate and batch_ Size relationship
redis单线程问题强制梳理门外汉扫盲
redis缓存穿透,缓存击穿,缓存雪崩解决方案
Redis cache penetration, cache breakdown, cache avalanche solution