当前位置:网站首页>Halcon: read the camera and binary it
Halcon: read the camera and binary it
2022-06-30 07:21:00 【Lao Li's forest】
open Halcon, Click the camera icon , Open the settings window , Interface selection DirectShow
Click... In the connection tab “ real time ” Button , You can see the pictures collected by the camera in the main interface
Finally, click the code generation button , Capture a single image , asynchronous , Insert code , You can see code generation in the main interface
Right click on the image window , Tools , Gray histogram , Open the histogram window
spot RGB choice 2 Channel number one , That is, the green channel , Will change to monochrome display
Set an arbitrary minimum value , such as 50, You can see a green vertical line on the histogram , Click this button in the figure below
Then drag the green vertical line , You can see the effect of binary segmentation , Select in painting Fill or Margin You can choose whether the display effect is filled or bounded
Of course, you can also do some other processing before binarization , This is the next topic .
Click Insert code , The binarization related code can be inserted into the program window
Press F5 function , The effect is as follows
边栏推荐
猜你喜欢
Connection flood attack principle
Can introduction
Deploying web projects using idea
TC397 QSPI(CPU)
What if I don't know what to do after graduating from university?
Resolution: div failed to get keyboard event
Introduction to ecostruxure (1) IEC61499 new scheme
QT generate random number qrandomgenerator
Nested if statement in sum function in SQL Server2005
线程池——C语言
随机推荐
Promise async/await
2021-07-02
嵌入式测试流程
LabVIEW程序代码更新缓慢
03 - programming framework: Division of application layer, middle layer and driver layer in bare metal programming
JS widget wave JS implementation of wave progress bar animation style
Deploying web projects using idea
Running lantern effect JS text rotation effect realization
【已解决】MySQL异常:ERROR 1045 (28000): Unknown error 1045,忘记初始密码
Raspberry pie trivial configuration
4diac getting started example
【SemiDrive源码分析】【X9芯片启动流程】34 - RTOS侧 Display模块 sdm_display_init 显示初始化源码分析
June 29, 2022 -- take the first step with C # -- add decision logic to the code using the "if", "else" and "else if" statements in C #
QT common macro definitions
Network security - single arm routing, DHCP relay and ICMP Protocol
Stm32g0 porting FreeRTOS
Base64 encoding method implemented by native JS
How to determine the size of the platform byte order?
线程池——C语言
Linu foundation - zoning planning and use