当前位置:网站首页>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 .
边栏推荐
- Digital tube EEPROM key to save value
- Assembly learning register
- Similarities and differences of differential signal, common mode signal and single ended signal (2022.2.14)
- Program acceleration
- 深度学习——序列模型and数学符号
- Calculate Euler angle according to rotation matrix R yaw, pitch, roll source code
- Introduction notes to pytorch deep learning (XII) neural network - nonlinear activation
- Global digital industry strategy and policy observation in 2021 (China Academy of ICT)
- PMIC power management
- Label the picture below the uniapp picture
猜你喜欢

Combinatorial mathematics Chapter 1 Notes

期末复习-PHP学习笔记6-字符串处理

Ad\dxp how to solve the problem of not knowing the schematic Library

Armv8 (coretex-a53) debugging based on openocd and ft2232h

Three software installation methods

深度学习——Bounding Box预测

Implementation of double linked list in C language

25岁,从天坑行业提桶跑路,在经历千辛万苦转行程序员,属于我的春天终于来了
![November 9, 2020 [wgs/gwas] - whole genome analysis (association analysis) process (Part 2)](/img/21/ad74700921ee0ef7a1525dd7db0683.jpg)
November 9, 2020 [wgs/gwas] - whole genome analysis (association analysis) process (Part 2)

National technology n32g45x series about timer timing cycle calculation
随机推荐
期末复习-PHP学习笔记7-PHP与web页面交互
Xiashuo think tank: 50 planet updates reported today (including the global architects Summit Series)
Raspberry pie 4B Getting Started Guide
Efga design open source framework openlane series (I) development environment construction
right four steps of SEIF SLAM
Combinatorial mathematics Chapter 1 Notes
深度学习——GRU单元
想转行,却又不知道干什么?此文写给正在迷茫的你
Digital tube EEPROM key to save value
Processes, jobs, and services
Xiashuo think tank: 42 reports on planet update today (including 23 planning cases)
November 9, 2020 [wgs/gwas] - whole genome analysis (association analysis) process (Part 2)
Sublime text 3 configuring the C language running environment
Private method of single test calling object
How to quickly delete routing in Ad
Socket socket programming -- UDP
Firewall firewalld
Final review -php learning notes 6- string processing
深度学习——特征点检测和目标检测
February 14, 2022 [reading notes] - life science based on deep learning Chapter 2 Introduction to deep learning (Part 1)