CN106228525B - Method for inhibiting excessive enhancement of infrared image - Google Patents

Method for inhibiting excessive enhancement of infrared image Download PDF

Info

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
Application number
CN201610724217.6A
Other languages
Chinese (zh)
Other versions
CN106228525A (en
Inventor
赵勋
曾衡东
章睿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Jinglin Science and Technology Co Ltd
Original Assignee
Chengdu Jinglin Science and Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chengdu Jinglin Science and Technology Co Ltd filed Critical Chengdu Jinglin Science and Technology Co Ltd
Priority to CN201610724217.6A priority Critical patent/CN106228525B/en
Publication of CN106228525A publication Critical patent/CN106228525A/en
Application granted granted Critical
Publication of CN106228525B publication Critical patent/CN106228525B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • G06T5/92Dynamic range modification of images or parts thereof based on global image properties
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/40Image 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

Method for inhibiting excessive enhancement of infrared image
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:
Figure BDA0001091698910000021
the var mathematical model calculation formula is as follows:
Figure BDA0001091698910000022
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:
Figure BDA0001091698910000023
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:
Figure BDA0001091698910000024
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:
Figure BDA0001091698910000031
the var mathematical model calculation formula is as follows:
Figure BDA0001091698910000032
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:
Figure BDA0001091698910000033
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:
Figure BDA0001091698910000034
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;
the mean value mean mathematical model has the calculation formula as follows:
Figure FDA0002467647830000011
the var mathematical model calculation formula is as follows:
Figure FDA0002467647830000012
wherein xijAs an image
Pixel value, m is image width, n is image length, and u is obtained image mean value;
the dispersion degree calculation mode of the image is as follows:
Figure FDA0002467647830000013
wherein
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.
2. The method for suppressing the excessive enhancement of the infrared image according to claim 1, wherein:
the calculation formula of the image real-time enhancement coefficient is as follows:
Figure FDA0002467647830000014
where σ is the image standard deviation and Δ is the degree of dispersion.
CN201610724217.6A 2016-08-25 2016-08-25 Method for inhibiting excessive enhancement of infrared image Active CN106228525B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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
Zheng et al. Single-image-based rain and snow removal using multi-guided filter
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
US20210158488A1 (en) Image edge processing method, electronic device, and computer readable storage medium
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
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
CN104272347A (en) Image processing apparatus for removing haze contained in still image and method thereof
CN108133462B (en) Single image restoration method based on gradient field region segmentation
Wang et al. Enhancement for dust-sand storm images
He et al. Single image dehazing with white balance correction and image decomposition
CN108305232A (en) A kind of single frames high dynamic range images generation method
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
Sandeep Remote sensing image dehazing using guided filter
Kaur et al. Color image enhancement based on gamma encoding and histogram equalization
CN106228525B (en) Method for inhibiting excessive enhancement of infrared image
CN110602472A (en) Local tone mapping method and device based on histogram and guide filtering
CN110852971B (en) Video defogging method based on dark channel prior and Retinex and storage medium
CN112825189B (en) Image defogging method and related equipment
He et al. A night low‐illumination image enhancement model based on small probability area filtering and lossless mapping enhancement
CN106780382B (en) The automatic growth control display methods of floating-point image

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