当前位置:网站首页>【Halcon视觉】阈值分割
【Halcon视觉】阈值分割
2022-07-26 10:15:00 【文布斯】
1.概念
灰度图像,仅由一种颜色(灰色)组成。只不过每个像素的灰阶不同,即0~255。
当灰阶为0时,显示为黑色,当灰阶为255时,显示为白色。
2.分割方式
阈值分割的两种常用方式:
2.1 静态阈值分割:设定两个灰度值,使特征区域分离出来。
threshold() 阈值分割

2.2 二值化阈值分割:设定一个灰度值,大于该灰度值的区域为白,小于该灰度值的区域为黑。
binary_threshold() 二值化,可以自动选出暗(dark)区域,或自动选出亮(light)区域。

边栏推荐
- Phpexcel export Emoji symbol error
- Study on the basis of opencv
- INSTALL_FAILED_SHARED_USER_INCOMPATIBLE错误解决方式
- Explain automatic packing and unpacking?
- Force deduction DFS
- In Net 6.0
- The problem of four columns of Hanoi Tower
- Wu Enda linear regression of machine learning
- How to write a million reading article
- Wechat applet learning notes 2
猜你喜欢

Principle analysis and source code interpretation of service discovery

Learning about opencv (2)

Uni app learning summary

面试突击68:为什么 TCP 需要 3 次握手?

INSTALL_FAILED_SHARED_USER_INCOMPATIBLE错误解决方式

30分钟彻底弄懂 synchronized 锁升级过程

SSG framework Gatsby accesses the database and displays it on the page

Distributed network communication framework: how to publish local services into RPC services

Transform between tree and array in JS (hide the children field if the child node of the tree is empty)

Solve proxyerror: CONDA cannot proceed due to an error in your proxy configuration
随机推荐
SQL Server 2008 server engine failed to start?
The practice of OpenCV -- bank card number recognition
Under win10 64 bit, matlab fails to configure notebook
SQL Server 2008 R2 installation problems
Flask框架初学-04-flask蓝图及代码抽离
PHP executes shell script
Reproduce the snake game in C language (I) build pages and construct snakes
About automatic operation on Web pages
在.NET 6.0中配置WebHostBuilder
Flask framework beginner-03-template
Use of selectors
Redis realizes the correct posture of token bucket
在.NET 6.0中配置WebHostBuilder
RecyclerView最后一条显示不全或显示部分的问题解决
Study notes of the fifth week of sophomore year
Cloud native (36) | introduction and installation of harbor in kubernetes
regular expression
In Net 6.0
解释一下自动装箱和自动拆箱?
Learning about opencv (1)