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

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

边栏推荐
- Wechat applet learning notes 1
- Okaleido ecological core equity Oka, all in fusion mining mode
- WARNING: [pool www] server reached pm. max_ children setting (5), consider raising it
- AirTest
- Solve the problem of storing cookies in IE7 & IE8
- Learning about opencv (4)
- Data communication foundation STP principle
- Distributed network communication framework: how to publish local services into RPC services
- Uniapp error 7 < Map >: marker ID should be a number
- Force deduction DFS
猜你喜欢

Vs Code configures go locale and successfully installs go related plug-ins in vscode problem: Tools failed to install

万字详解“用知识图谱驱动企业业绩增长”

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

Mysql5.7.25 master-slave replication (one-way)

Learning about opencv (3)

Data communication foundation - layer 2 switching principle

Docker configuring MySQL Cluster

Installation and use of cocoapods

MySQL 5.7.25 source code installation record

How to write a million reading article
随机推荐
Time series anomaly detection
Uni app learning summary
Introduction to latex, EPS picture bounding box
Tower of Hanoi II | tower of Hanoi 4 columns
Using undertow, Nacos offline logout delay after service stop
2022 zhongkepan cloud - server internal information acquisition and analysis flag
SQL Server 2008 R2 installation problems
Formwork (III)
Jpg to EPS
Data communication foundation - layer 2 switching principle
Tableviewcell highly adaptive
时间序列异常检测
面试突击68:为什么 TCP 需要 3 次握手?
Study notes of the fifth week of sophomore year
Wu Enda linear regression of machine learning
IEEE conference upload font problem
Data communication foundation TCPIP reference model
Leetcode 504. Hex number
SSG framework Gatsby accesses the database and displays it on the page
Study on the basis of opencv