CN108305227A - A kind of method that the image low brightness area that contrast is constant highlights - Google Patents

A kind of method that the image low brightness area that contrast is constant highlights Download PDF

Info

Publication number
CN108305227A
CN108305227A CN201810064911.9A CN201810064911A CN108305227A CN 108305227 A CN108305227 A CN 108305227A CN 201810064911 A CN201810064911 A CN 201810064911A CN 108305227 A CN108305227 A CN 108305227A
Authority
CN
China
Prior art keywords
image
contrast
constant
highlights
brightness area
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.)
Pending
Application number
CN201810064911.9A
Other languages
Chinese (zh)
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.)
Luoyang Institute of Electro Optical Equipment AVIC
Original Assignee
Luoyang Institute of Electro Optical Equipment AVIC
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 Luoyang Institute of Electro Optical Equipment AVIC filed Critical Luoyang Institute of Electro Optical Equipment AVIC
Priority to CN201810064911.9A priority Critical patent/CN108305227A/en
Publication of CN108305227A publication Critical patent/CN108305227A/en
Pending legal-status Critical Current

Links

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
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20024Filtering details
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20172Image enhancement details

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The present invention relates to image processing fields, and in particular to a kind of method that the image low brightness area that contrast is constant highlights.The present invention obtains the intensity map of image by calculating and filtering, gray scale stretching is carried out to image to construct nonlinear mapping function, the average brightness of low brightness area can be promoted under the premise of keeping image overall contrast ratio and constant high-brightness region total brightness.

Description

A kind of method that the image low brightness area that contrast is constant highlights
Technical field
The present invention relates to image processing fields, and in particular to a kind of image low brightness area that contrast is constant highlights Method.
Background technology
The acquisition process of image there are various uncertain factors, easily lead to its quality decline or degenerate, such as part it is low it is bright, Resolution ratio is low etc., this just needs to utilize image enhancement technique, improves its visual effect.Image enhancement analyzes image Link is pre-processed, that is, the form more suitable for eye-observation and equipment analysis identification is converted images into, to protrude image detail And contrast.
Directly enhance algorithm based on spatial domain, gradation of image can be handled, including Gamma correction methods, contrast are drawn Stretch method, histogram equalization, Wavelet Transform etc..The processing method of frequency domain is based on the Fourier transformation for changing image, packet Include multi-scale enhancement, small echo enhancing and Butterworth high-pass filtering etc..
More advanced image enhancement will then use the visual characteristic of human eye, such as establish in human color's shape constancy phenomenon Retinex theories formalization, and single scale Retinex algorithm (the Single Scale that obtain on this basis Retinex, SSR), multi-Scale Retinex Algorithm (Multi-Scale Retinex, MSR) and multiple dimensioned color recieving Retinex algorithm (Multi-Scale Retinex with ColorRestoration, MSRCR), these methods can enhance figure Image contrast, but computation complexity is high, and color of image is easily distorted.
In addition the algorithm for image enhancement that a kind of frequency domain of current research is combined with spatial domain introduces Butterworth high-pass filtering The correlation properties of (Butterworth High Pass Filter, BHPF) carry out image procossing.Set a Nonlinear Mapping Model adjusts image integral brightness level by logarithmic transformation method, image-region range is calculated by bilateral filtering later Average brightness, and local contrast enhancing is carried out, image color information is finally restored using simple linear method.But the party Method changes the contrast of image, and can not enhance local low brightness area.
Invention content
The object of the present invention is to provide a kind of methods that the image low brightness area that contrast is constant highlights, to solve The problem of certainly prior art cannot highlight under the premise of keeping contrast to local low brightness area.
To achieve the above object, it is bright to aspects of which provide a kind of image low brightness area that contrast is constant enhancing The method of degree, including method scheme one, method scheme one include the following steps:
The luminance picture of original image is calculated;
Low-pass filtering treatment is carried out to the luminance picture and obtains intensity map;
Nonlinear mapping function is constructed according to the luminance picture and the intensity map;
Gray scale stretching is carried out to the original image according to the nonlinear mapping function, obtains low-light level enhancing image.
Method scheme two, on the basis of method scheme one, the formula of the nonlinear mapping function is:
Wherein, Yr/g/b(x, y) is gray value of the pixel after the gray scale stretching on the original image;Yr/g/b (x, y) is the gray value of pixel on the original image, and Medium (x, y) is pixel Yr/g/b(x, y) is in the brightness point Corresponding gray value, Y on BututminIt is the minimum gradation value of the luminance picture, YavgIt is the average gray of the luminance picture Value.
Method scheme three, four, respectively on the basis of method scheme one, two, the low-pass filtering is mean filter, Gauss Filtering or medium filtering.
Method scheme five, six, respectively on the basis of method scheme three, four, the gray value of the gray level image calculates public affairs Formula is:
Y (x, y)=max { r (x, y), g (x, y), b (x, y) }
Wherein, r (x, y), g (x, y), b (x, y) are the RGB triple channel pixel values of original image.
The beneficial effects of the invention are as follows:The intensity map of image is obtained by calculating and filtering, is then constructed non-linear Mapping function carries out gray scale stretching to image, can be before keeping image overall contrast ratio and high-brightness region total brightness constant It puts, judge the position of low brightness area and promotes the average brightness of low brightness area.
Description of the drawings
Fig. 1 is the flow chart of the method for the invention;
Fig. 2 is the medium filtering Prototype drawing in the embodiment of the present invention.
Specific implementation mode
The present invention will be further described in detail below in conjunction with the accompanying drawings.
In order to solve the problems, such as brightness enhancing of local low brightness area under the premise of keeping contrast, the present invention proposes a kind of The method that the constant image low brightness area of contrast highlights, is stretched through nonlinear function, constant in picture contrast Under the premise of, low brightness area local luminance is promoted, while keeping high-brightness region unaffected.It is given below one specifically Embodiment.
It is the flow chart of the present embodiment method as shown in Figure 1, including:
Input multichannel image;
Brightness calculation is carried out to input picture and obtains luminance picture;
The low-pass filtering of large scale, the intensity map of drawing image are carried out to luminance picture;
According to luminance picture and intensity map, nonlinear mapping function is constructed, ash is then carried out point by point to input picture Degree stretches, and obtains the enhanced image of low brightness area.
In the above-mentioned methods, the computational methods of luminance picture calculate each of gray level image including but not limited to multichannel image Kind common method.The computational methods of low-pass filtering are including but not limited to mean filter, gaussian filtering, medium filtering, this reality simultaneously It applies example and uses medium filtering.
Average brightness is constant after the nonlinear mapping function of construction has holding high luminance area domain mapping, and low brightness area is reflected Penetrate the increased characteristic of rear average brightness, and the characteristic that full figure contrast remains unchanged after mapping.
The multichannel image of input is transformed into the luminance picture process of characterization image each point luminance information by brightness calculation.This Embodiment assumes that the RGB triple channel pixel values of input picture I (x, y) are respectively r (x, y), g (x, y) and b (x, y), luminance picture The formula of Y (x, y) calculates:
Y (x, y)=max { r (x, y), g (x, y), b (x, y) }
The present embodiment uses 15 × 15 medium filtering template, and the scale of Filtering Template is related to the scale of image, such as Fig. 2 It is shown, it does convolution algorithm with luminance picture and obtains the intensity map of image.
Construct nonlinear mapping function, using image intensity map as guiding, to each channel of input picture by Point carries out gray scale stretching, under the premise of realizing that holding contrast is constant, promotes the average brightness of low brightness area range Effect.By taking input picture is RGB triple channels as an example, the building method of nonlinear mapping function is the present embodiment:Assuming that input figure As RGB triple channel gray values are Yr/g/b, the triple channel gray value after gray scale stretching is Yr/g/b, gray scale stretching use it is non-thread Property mapping function is:
Wherein, Yr/g/b(x, y) is gray value of the pixel after gray scale stretching on original image;Yr/g/b(x, y) is The gray value of pixel on original image, Medium (x, y) are pixel Yr/g/bGray value on intensity map, YminIt is The minimum gradation value of luminance picture, YavgIt is the average gray value of luminance picture.
The image of the low brightness area enhancing finally obtained, using original input picture luminance mean value as threshold value, in high brightness Region keeps average brightness constant, and low brightness area brightness enhancing keeps contrast constant, and solves two regions well Between overscale problems.
Specific implementation mode of the present invention is presented above, the Luminance Distribution of image is obtained by calculating and filtering Then figure constructs nonlinear mapping function and carries out gray scale stretching to image, so as to keep image overall contrast ratio and height Under the premise of luminance area total brightness is constant, the brightness in enhancing low-light level area.
But the present invention is not limited to described embodiment, and brightness calculation is carried out for example, by using other computational methods, Or be filtered using other filtering modes, the technical solution formed in this way is to be finely adjusted to be formed to above-described embodiment , this technical solution is still fallen in protection scope of the present invention.

Claims (4)

1. a kind of method that the image low brightness area that contrast is constant highlights, which is characterized in that include the following steps:
The luminance picture of original image is calculated;
Low-pass filtering treatment is carried out to the luminance picture and obtains intensity map;
Nonlinear mapping function is constructed according to the luminance picture and the intensity map;
Gray scale stretching is carried out to the original image according to the nonlinear mapping function, obtains low-light level enhancing image.
2. the method that a kind of constant image low brightness area of contrast according to claim 1 highlights, feature It is:The formula of the nonlinear mapping function is:
Wherein, Yr/g/b(x, y) is gray value of the pixel after the gray scale stretching on the original image;Yr/g/b(x,y) It is the gray value of pixel on the original image, Medium (x, y) is pixel Yr/g/b(x, y) is on the intensity map Corresponding gray value, YminIt is the minimum gradation value of the luminance picture, YavgIt is the average gray value of the luminance picture.
3. the method that a kind of constant image low brightness area of contrast according to claim 1 or 2 highlights, special Sign is:The low-pass filtering is mean filter, gaussian filtering or medium filtering.
4. the method that a kind of constant image low brightness area of contrast according to claim 3 highlights, feature It is:The gray value calculation formula of the luminance picture is:
Y (x, y)=max { r (x, y), g (x, y), b (x, y) }
Wherein, r (x, y), g (x, y), b (x, y) are the RGB triple channel pixel values of the original image.
CN201810064911.9A 2018-01-23 2018-01-23 A kind of method that the image low brightness area that contrast is constant highlights Pending CN108305227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810064911.9A CN108305227A (en) 2018-01-23 2018-01-23 A kind of method that the image low brightness area that contrast is constant highlights

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810064911.9A CN108305227A (en) 2018-01-23 2018-01-23 A kind of method that the image low brightness area that contrast is constant highlights

Publications (1)

Publication Number Publication Date
CN108305227A true CN108305227A (en) 2018-07-20

Family

ID=62866011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810064911.9A Pending CN108305227A (en) 2018-01-23 2018-01-23 A kind of method that the image low brightness area that contrast is constant highlights

Country Status (1)

Country Link
CN (1) CN108305227A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109447912A (en) * 2018-10-18 2019-03-08 广东欧谱曼迪科技有限公司 A kind of fluorescent image of fluorescence navigation endoscopic system adaptively enhances and noise-reduction method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090304275A1 (en) * 2008-06-04 2009-12-10 Vijay Kumar Kodavalla Method and apparatus for dynamic and adaptive enhancement of colors in digital video images
CN104156921A (en) * 2014-08-08 2014-11-19 大连理工大学 Self-adaptive low-illuminance or non-uniform-brightness image enhancement method
CN104282291A (en) * 2013-07-08 2015-01-14 联咏科技股份有限公司 Image processing device and image processing method using same
CN105850114A (en) * 2013-12-27 2016-08-10 汤姆逊许可公司 Method for inverse tone mapping of an image
CN106023100A (en) * 2016-05-12 2016-10-12 珠海市杰理科技有限公司 Method and device for compressing image within wide dynamic range
CN106204470A (en) * 2016-07-01 2016-12-07 湖南源信光电科技有限公司 Low-light-level imaging method based on fuzzy theory
WO2017190786A1 (en) * 2016-05-04 2017-11-09 1/1Thomson Licensing Optimized content-adaptive inverse tone mapping for low to high dynamic range conversion

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090304275A1 (en) * 2008-06-04 2009-12-10 Vijay Kumar Kodavalla Method and apparatus for dynamic and adaptive enhancement of colors in digital video images
CN104282291A (en) * 2013-07-08 2015-01-14 联咏科技股份有限公司 Image processing device and image processing method using same
CN105850114A (en) * 2013-12-27 2016-08-10 汤姆逊许可公司 Method for inverse tone mapping of an image
CN104156921A (en) * 2014-08-08 2014-11-19 大连理工大学 Self-adaptive low-illuminance or non-uniform-brightness image enhancement method
WO2017190786A1 (en) * 2016-05-04 2017-11-09 1/1Thomson Licensing Optimized content-adaptive inverse tone mapping for low to high dynamic range conversion
CN106023100A (en) * 2016-05-12 2016-10-12 珠海市杰理科技有限公司 Method and device for compressing image within wide dynamic range
CN106204470A (en) * 2016-07-01 2016-12-07 湖南源信光电科技有限公司 Low-light-level imaging method based on fuzzy theory

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
LEE J等: ""An Adaptive Histogram Equalization Based Local Technique for Contrast Preserving Image Enhancement"", 《INTERNATIONAL JOURNAL OF FUZZY LOGIC AND INTELLIGENT SYSTEMS》 *
乔铁柱著: "《矿用输送带无损检测技术》", 30 June 2015, 北京:国防工业出版社 *
王守觉等: ""一种新的仿生彩色图像增强方法"", 《电子学报》 *
王小元等: ""基于视觉感知的低照度图像增强算法"", 《计算机工程》 *
马红微等: ""基于局部对比度保存的动态范围压缩算法"", 《西安邮电大学学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109447912A (en) * 2018-10-18 2019-03-08 广东欧谱曼迪科技有限公司 A kind of fluorescent image of fluorescence navigation endoscopic system adaptively enhances and noise-reduction method
CN109447912B (en) * 2018-10-18 2022-04-19 广东欧谱曼迪科技有限公司 Fluorescent image self-adaptive enhancement and noise reduction method of fluorescent navigation endoscope system

Similar Documents

Publication Publication Date Title
CN108711140B (en) Image brightness uniformity real-time recovery method based on inter-class variance description
CN104156921B (en) Self-adaptive low-illuminance or non-uniform-brightness image enhancement method
CN104240194B (en) A kind of enhancement algorithm for low-illumination image based on parabolic function
CN109191390A (en) A kind of algorithm for image enhancement based on the more algorithm fusions in different colours space
CN104574293B (en) Multiple dimensioned Retinex image sharpenings algorithm based on bounded computing
CN110570360B (en) Retinex-based robust and comprehensive low-quality illumination image enhancement method
CN106504212A (en) A kind of improved HSI spatial informations low-luminance color algorithm for image enhancement
CN110047051A (en) A kind of non-uniform lighting colour-image reinforcing method
CN107730475A (en) Image enchancing method and system
CN110796626B (en) Image sharpening method and device
CN109447910A (en) A kind of low-luminance color image enchancing method based on fuzzy theory
CN103268598A (en) Retinex-theory-based low-illumination low-altitude remote sensing image enhancing method
CN104063848A (en) Enhancement method and device for low-illumination image
Wang et al. Variational single nighttime image haze removal with a gray haze-line prior
CN102903081A (en) Low-light image enhancement method based on red green blue (RGB) color model
CN106846276A (en) A kind of image enchancing method and device
CN108288258A (en) A kind of low-quality images Enhancement Method under severe weather conditions
CN111968065A (en) Self-adaptive enhancement method for image with uneven brightness
CN107481214A (en) A kind of twilight image and infrared image fusion method
CN103489168A (en) Enhancing method and system for infrared image being converted to pseudo color image in self-adaptive mode
CN117252773A (en) Image enhancement method and system based on self-adaptive color correction and guided filtering
Gu et al. A novel Retinex image enhancement approach via brightness channel prior and change of detail prior
CN113450272B (en) Image enhancement method based on sinusoidal variation and application thereof
CN105405110A (en) Uneven light compensation method
Singh et al. Image enhancement by adaptive power-law transformations

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180720

RJ01 Rejection of invention patent application after publication