当前位置:网站首页>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 
边栏推荐
- next InitializeSecurityContext failed: Unknown error (0x80092012) - 吊销功能无法检查证书是否吊销。
- LabVIEW程序代码更新缓慢
- uniapp图片下方加标签标图片
- Starting MySQL ERROR! Couldn‘t find MySQL server (/usr/local/mysql/bin/mysqld_safe)
- SQL Server2005中SUM函数内嵌套IF语句
- Base64 encoding method implemented by native JS
- Local unloading traffic of 5g application
- Qtcreator debug code after configuring CDB debugger view variable value display card
- Determine whether the picture is in JPG picture format
- 网络安全-路由原理
猜你喜欢
随机推荐
4diac getting started example
Egret P2 physical engine (1) small ball falling demo
网络安全-路由原理
如果我在珠海,到哪里开户比较好?另外,手机开户安全么?
js创建pdf文件
安装Go语言开发工具
Linux服务器安装Redis
03 - programming framework: Division of application layer, middle layer and driver layer in bare metal programming
Lt268 the most convenient TFT-LCD serial port screen chip in the whole network
Linux服務器安裝Redis
Stm32g0 porting FreeRTOS
[most complete] install MySQL on a Linux server
Pool de Threads - langage C
app quits unexpectedly
02 - bare metal and RTOS development modes: five development modes of bare metal and the introduction of RTOS
Pit stepping record: Supervisor log return information: redis extension is not installed
实验一、综合实验【Process on】
Connection flood attack principle
【最全】linux服务器上安装Mysql
Use of ecostruxure (2) IEC61499 to establish function blocks








