当前位置:网站首页>min_ max_ Gray operator understanding
min_ max_ Gray operator understanding
2022-06-30 07:42:00 【Wheat field CR7】
# How to understand min_max_gray operator
min_max_gray(Regions,Image::percent:Min,Max,Range)
This operator is used to extract Regions The maximum and minimum gray values of the image in the region ,
The key is ***percent*** The understanding of this parameter .
First, calculate the gray histogram of the image in the region , That is to say 0-255 Distribution frequency diagram of the number of image pixels within the gray value range . Area times ***percent*** Get a number , Set to a, And then use ***a*** Respectively from the 0 Gray value and 255 Intercept inward at the gray value ***a*** Pixels . Then take the minimum and maximum gray value in the remaining pixels .
e.g.:
histo:=[4,1,1,1,…1,5,3,1], The middle is full of 1, |histo|:=256 ,histo Deposit 0-255 The number of pixels of each gray value in the gray range , if a:=4 be min:=1,max:=253,range:=252
***percent*** The main function of is to reduce the amount of calculation , Remove the influence of minimax to try to get the minimum and maximum value of your desired gray value . To get better image gray features .
边栏推荐
- Installation software operation manual (continuous update)
- Xiashuo think tank: 42 reports on planet update today (including 23 planning cases)
- Implementation of double linked list in C language
- Basic operation command
- Calculate Euler angle according to rotation matrix R yaw, pitch, roll source code
- Commands and permissions for directories and files
- Stepper motor
- Xiashuo think tank: 28 updates of the planet reported today (including the information of flirting with girls and Han Tuo on Valentine's day)
- Armv8 (coretex-a53) debugging based on openocd and ft2232h
- Basic knowledge points
猜你喜欢

期末复习-PHP学习笔记1

Self study notes -- use of 74h573

深度学习——卷积的滑动窗口实现

期末複習-PHP學習筆記3-PHP流程控制語句

深度学习——序列模型and数学符号

深度学习——词汇表征

Next initializesecuritycontext failed: unknown error (0x80092012) - the revocation function cannot check whether the certificate is revoked.

Binary tree related operations (based on recursion, implemented in C language)

期末复习-PHP学习笔记8-mysql数据库

深度学习——网络中的网络以及1x1卷积
随机推荐
Processes, jobs, and services
回文子串、回文子序列
期末複習-PHP學習筆記6-字符串處理
Cadence physical library lef file syntax learning [continuous update]
Intersection of two lines
Combinatorial mathematics Chapter 1 Notes
期末复习-PHP学习笔记11-PHP-PDO数据库抽象层.
Firewall firewalld
Stepper motor
December 19, 2021 [reading notes] - bioinformatics and functional genomics (Chapter 5 advanced database search)
Global digital industry strategy and policy observation in 2021 (China Academy of ICT)
深度学习——嵌入矩阵and学习词嵌入andWord2Vec
ACM. HJ48 从单向链表中删除指定值的节点 ●●
Virtual machine VMware: due to vcruntime140 not found_ 1.dll, unable to continue code execution
Cadence innovus physical implementation series (I) Lab 1 preliminary innovus
Examen final - notes d'apprentissage PHP 6 - traitement des chaînes
深度学习——BRNN和DRNN
Pre ++ and post ++ overloads
Next initializesecuritycontext failed: unknown error (0x80092012) - the revocation function cannot check whether the certificate is revoked.
Inversion Lemma