当前位置:网站首页>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 .
边栏推荐
- Basic knowledge points
- 2022 retail industry strategy: three strategies for consumer goods gold digging (in depth)
- 想转行,却又不知道干什么?此文写给正在迷茫的你
- Quick placement of devices by module in Ad
- 深度学习——LSTM
- Self study notes -- use of 74h573
- Analysys analysis: online audio content consumption market analysis 2022
- 2021-10-29 [microbiology] qiime2 sample pretreatment form automation script
- 期末复习-PHP学习笔记6-字符串处理
- Binary tree related operations (based on recursion, implemented in C language)
猜你喜欢

Final review -php learning notes 11-php-pdo database abstraction layer

Personal blog one article multi post tutorial - basic usage of openwriter management tool

Halcon: read the camera and binary it

Spring Festival inventory of Internet giants in 2022
![December 4, 2021 [metagenome] - sorting out the progress of metagenome process construction](/img/03/eb6e6092922cf42c2c9866e7bb504d.jpg)
December 4, 2021 [metagenome] - sorting out the progress of metagenome process construction
![November 16, 2021 [reading notes] - macro genome analysis process](/img/c4/4c74ff1b4049f5532c871eb00d5ae7.jpg)
November 16, 2021 [reading notes] - macro genome analysis process

Dynamic memory management

C language implementation sequence stack

C language implements sequential queue, circular queue and chain queue
![2021.11.20 [reading notes] | differential variable splicing events and DTU analysis](/img/02/6971454e51c015990b5b60b357ee1d.jpg)
2021.11.20 [reading notes] | differential variable splicing events and DTU analysis
随机推荐
深度学习——使用词嵌入and词嵌入特征
STM32 infrared communication
Basic operation command
C language operators
C language implements sequential queue, circular queue and chain queue
STM32 infrared communication 2
Tencent and Fudan University "2021-2022 yuan universe report" with 102 yuan universe collections
Graphic explanation pads update PCB design basic operation
Xiashuo think tank: 50 planet updates reported today (including the global architects Summit Series)
STM32 register on LED
Introduction notes to pytorch deep learning (10) neural network convolution layer
Account command and account authority
Analysis of cross clock transmission in tinyriscv
Introduction notes to pytorch deep learning (XII) neural network - nonlinear activation
Final review -php learning notes 1
深度学习——目标定位
National technology n32g45x series about timer timing cycle calculation
Installation software operation manual (continuous update)
STM32 register
2022 Research Report on China's intelligent fiscal and tax Market: accurate positioning, integration and diversity