CN106228525B - Method for inhibiting excessive enhancement of infrared image - Google Patents
Method for inhibiting excessive enhancement of infrared image Download PDFInfo
- Publication number
- CN106228525B CN106228525B CN201610724217.6A CN201610724217A CN106228525B CN 106228525 B CN106228525 B CN 106228525B CN 201610724217 A CN201610724217 A CN 201610724217A CN 106228525 B CN106228525 B CN 106228525B
- Authority
- CN
- China
- Prior art keywords
- image
- enhancement
- mean
- real
- infrared
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000002401 inhibitory effect Effects 0.000 title abstract description 8
- 238000004364 calculation method Methods 0.000 claims abstract description 16
- 238000013178 mathematical model Methods 0.000 claims abstract description 10
- 239000006185 dispersion Substances 0.000 claims description 7
- 230000000694 effects Effects 0.000 abstract description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/90—Dynamic range modification of images or parts thereof
- G06T5/92—Dynamic range modification of images or parts thereof based on global image properties
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/40—Image enhancement or restoration using histogram techniques
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
The invention discloses a method for inhibiting excessive enhancement of an infrared image, which comprises the following steps: s1: performing input statistics on the original image, performing statistics on a mean value mean and a variance var in the original image, and analyzing the distribution condition of the mean value mean and the variance var to ensure the real-time performance of image calculation; s2: establishing a mean and var mathematical model, and then calculating the discrete degree of the image according to the model; s3: calculating a real-time enhancement coefficient of the image according to the discrete degree of the image; s4: and the infrared image is enhanced in real time by utilizing the enhancement coefficient of the image. Under different scenes, the obtained enhancement coefficients are different, so that the enhancement degree of the image can be effectively controlled by utilizing the discrete degree of the image, the display effect of the image is ensured, the enhancement coefficients of the image can be adjusted in real time, and the original image is effectively limited from being excessively stretched in the image enhancement stage; in the case of no target or weak target, the method can effectively inhibit the situation of excessive enhancement, and make the image display more natural.
Description
Technical Field
The invention relates to an image processing technology in the field of computers, in particular to a method for inhibiting over-enhancement of an infrared image.
Background
The existing scheme mainly aims at visible light image processing, but almost no technology for inhibiting excessive enhancement of infrared image processing exists, and a traditional visible light image processing mode is not suitable for infrared image processing, so that special processing is needed for the excessive enhancement condition in the infrared image enhancement processing, and a method for inhibiting the excessive enhancement is needed because the distribution range of the generated image is narrow under the condition that the environmental temperature difference of the infrared image is small, and the observation of people is influenced. Therefore, it is necessary to perform enhancement processing on the image, as shown in fig. 2, since the display range of the source image is very small, the image enhancement will inevitably cause excessive enhancement of the image, and the direct result caused by the excessive enhancement is that the image noise is obviously excessively amplified, the image is unclear, and the display effect is affected.
Because the technical level of the infrared detector of our country is behind a lot compared with a visible light camera, the image output by the infrared detector has the characteristics of high contrast and low noise without visible light output, and simultaneously, the far infrared has a dynamic range to output and collect scenes, so that the influence is great. The infrared image can have completely different output data in different scenes, and in the process of enhancing the infrared image in real time, it is likely that the infrared image in the previous scene has rich scenes and a wide dynamic range, and the infrared image in the previous scene can use a strong histogram enhancement coefficient to adjust the output of the image, but once the displayed scene changes suddenly or the rich scene is changed into a scene with only a small amount of effective information, the related parameters of the previous scene are not suitable for the current scene, so that the image is excessively enhanced, and therefore, the enhancement strength of the image under the condition that the scene is not rich can be restrained in real time.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a method for inhibiting the over-enhancement of an infrared image, which can adjust the enhancement coefficient of the image in real time and effectively limit the over-stretching of the original image in the image enhancement stage; in the case of no target or weak target, the method can effectively inhibit the situation of excessive enhancement, and make the image display more natural.
The purpose of the invention is realized by the following technical scheme: a method for suppressing excessive enhancement of an infrared image, comprising the steps of:
s1: performing input statistics on the original image, performing statistics on a mean value mean and a variance var in the original image, and analyzing the distribution condition of the mean value mean and the variance var to ensure the real-time performance of image calculation;
s2: establishing a mean and var mathematical model, and then calculating the discrete degree of the image according to the model;
s3: calculating a real-time enhancement coefficient of the image according to the discrete degree of the image;
s4: and the infrared image is enhanced in real time by utilizing the enhancement coefficient of the image.
The mean value mean mathematical model has the calculation formula as follows:the var mathematical model calculation formula is as follows:wherein xijIs the image pixel value, m is the image width, n is the image length, and u is the resulting image mean.
The image dispersion calculation mode is as follows:wherein xdownIs the pixel value of the point in which the accumulated value of the pixel points from small to large accounts for 1.5 percent of all the proportion in the image, xupIs the pixel value of a point in the image that sums up from large to small to equal 1.5%.
The calculation formula of the image real-time enhancement coefficient is as follows:where σ is the image standard deviation and Δ is the degree of dispersion.
The invention has the beneficial effects that: the invention provides a method for inhibiting over-enhancement of an infrared image, which has the advantages that under different scenes, the obtained enhancement coefficients are different, so that the enhancement degree of the image can be effectively controlled by utilizing the discrete degree of the image, the display effect of the image is ensured, the enhancement coefficient of the image can be adjusted in real time, and the original image is effectively limited from being over-stretched in the image enhancement stage; in the case of no target or weak target, the method can effectively inhibit the situation of excessive enhancement, and make the image display more natural.
Drawings
FIG. 1 is a flow chart of a method of the present invention;
FIG. 2 is a histogram distribution of gray scale after conventional histogram enhancement;
fig. 3 is a graph histogram distribution achieved using the method of the present invention.
Detailed Description
The technical solutions of the present invention are further described in detail below with reference to the accompanying drawings, but the scope of the present invention is not limited to the following.
As shown in fig. 1, a method for suppressing excessive enhancement of an infrared image is characterized by comprising the following steps:
s1: performing input statistics on the original image, performing statistics on a mean value mean and a variance var in the original image, and analyzing the distribution condition of the mean value mean and the variance var to ensure the real-time performance of image calculation;
s2: establishing a mean and var mathematical model, and then calculating the discrete degree of the image according to the model;
s3: calculating a real-time enhancement coefficient of the image according to the discrete degree of the image;
s4: and the infrared image is enhanced in real time by utilizing the enhancement coefficient of the image.
The mean value mean mathematical model has the calculation formula as follows:the var mathematical model calculation formula is as follows:wherein xijIs the image pixel value, m is the image width, n is the image length, and u is the resulting image mean.
The image dispersion calculation mode is as follows:wherein xdownIs the pixel value of the point in which the accumulated value of the pixel points from small to large accounts for 1.5 percent of all the proportion in the image, xupIs the pixel value of a point in the image that sums up from large to small to equal 1.5%. The degree of dispersion function indicates the distribution of the image in the image histogram, and this parameter is used in the present invention to control the image over-enhancement.
The calculation formula of the image real-time enhancement coefficient is as follows:where σ is the image standard deviation and Δ is the degree of dispersion.
As shown in FIG. 3, the method of the present invention for image enhancement can adjust the enhancement coefficient of the image in real time, and effectively limit the original image from being over-stretched in the image enhancement stage.
Claims (2)
1. A method for suppressing excessive enhancement of an infrared image, comprising the steps of:
s1: performing input statistics on the original image, performing statistics on a mean and a variance var in the original image,
analyzing the distribution condition of the image to ensure the real-time performance of image calculation;
s2: establishing a mean and var mathematical model, and then calculating the discrete degree of the image according to the model;
s3: calculating a real-time enhancement coefficient of the image according to the discrete degree of the image;
s4: the infrared image is enhanced in real time by utilizing the enhancement coefficient of the image;
Pixel value, m is image width, n is image length, and u is obtained image mean value;
xdownIs the pixel value of a point, xdownThe accumulated value of the pixel points from small to large in the image accounts for 1.5 percent of the pixel values of all the points,
xupis the pixel value of a point, xupThe pixel values of the points of which the accumulated values of the pixel points from large to small account for 1.5 percent of all the proportion in the image are obtained.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610724217.6A CN106228525B (en) | 2016-08-25 | 2016-08-25 | Method for inhibiting excessive enhancement of infrared image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610724217.6A CN106228525B (en) | 2016-08-25 | 2016-08-25 | Method for inhibiting excessive enhancement of infrared image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106228525A CN106228525A (en) | 2016-12-14 |
CN106228525B true CN106228525B (en) | 2020-08-21 |
Family
ID=57554703
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610724217.6A Active CN106228525B (en) | 2016-08-25 | 2016-08-25 | Method for inhibiting excessive enhancement of infrared image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106228525B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101452575A (en) * | 2008-12-12 | 2009-06-10 | 北京航空航天大学 | Image self-adapting enhancement method based on neural net |
CN102521813A (en) * | 2011-11-21 | 2012-06-27 | 华中科技大学 | Infrared image adaptive enhancement method based on dual-platform histogram |
CN103208105A (en) * | 2013-05-02 | 2013-07-17 | 中国电子科技集团公司第二十八研究所 | Infrared image detail enhancement and noise adaptive inhibition method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014241584A (en) * | 2013-05-14 | 2014-12-25 | パナソニックIpマネジメント株式会社 | Image processing method and image processing system |
WO2016022374A1 (en) * | 2014-08-05 | 2016-02-11 | Seek Thermal, Inc. | Local contrast adjustment for digital images |
-
2016
- 2016-08-25 CN CN201610724217.6A patent/CN106228525B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101452575A (en) * | 2008-12-12 | 2009-06-10 | 北京航空航天大学 | Image self-adapting enhancement method based on neural net |
CN102521813A (en) * | 2011-11-21 | 2012-06-27 | 华中科技大学 | Infrared image adaptive enhancement method based on dual-platform histogram |
CN103208105A (en) * | 2013-05-02 | 2013-07-17 | 中国电子科技集团公司第二十八研究所 | Infrared image detail enhancement and noise adaptive inhibition method |
Non-Patent Citations (2)
Title |
---|
一种基于局部方差的雾天图像增强方法;詹翔 等;《计算机应用》;20070228;第27卷(第2期);第510-512页 * |
复合顺序形态变换在红外图像边缘检测中的应用;迟健男 等;《东北大学学报》;20050228;第26卷(第2期);第103-104页 * |
Also Published As
Publication number | Publication date |
---|---|
CN106228525A (en) | 2016-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Tao et al. | Low-light image enhancement using CNN and bright channel prior | |
CN108090886B (en) | High dynamic range infrared image display and detail enhancement method | |
Wang et al. | A fast single-image dehazing method based on a physical model and gray projection | |
CN104063848B (en) | A kind of enhancement method of low-illumination image and device | |
CN103020914B (en) | Based on the rapid image defogging method capable of spatial continuity principle | |
WO2016139260A1 (en) | Method and system for real-time noise removal and image enhancement of high-dynamic range images | |
Zotin | Fast algorithm of image enhancement based on multi-scale retinex | |
CN105046658A (en) | Low-illumination image processing method and device | |
CN108133463B (en) | Noise reduction method and system for histogram equalization image | |
Xiao et al. | Scene‐aware image dehazing based on sky‐segmented dark channel prior | |
CN108133462B (en) | Single image restoration method based on gradient field region segmentation | |
Wang et al. | Enhancement for dust-sand storm images | |
CN108305232A (en) | A kind of single frames high dynamic range images generation method | |
Kaur et al. | Color image enhancement based on gamma encoding and histogram equalization | |
Jiang et al. | Single image fog and haze removal based on self-adaptive guided image filter and color channel information of sky region | |
CN108765337B (en) | Single color image defogging processing method based on dark channel prior and non-local MTV model | |
Zhang et al. | A fast video image defogging algorithm based on dark channel prior | |
Ding et al. | Color image enhancement with a human visual system based adaptive filter | |
CN106228525B (en) | Method for inhibiting excessive enhancement of infrared image | |
CN102663683B (en) | Image enhancement method and image enhancement system | |
CN110602472A (en) | Local tone mapping method and device based on histogram and guide filtering | |
He et al. | A night low‐illumination image enhancement model based on small probability area filtering and lossless mapping enhancement | |
CN109410142B (en) | Defogging method based on image quality evaluation optimization | |
Xu et al. | Retinex based underwater image enhancement using attenuation compensated color balance and gamma correction | |
Mutaqin et al. | Increase dehazing process using fast guided filter on the dark channel prior |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |