CN101453558A - Video image contrast improving method - Google Patents

Video image contrast improving method Download PDF

Info

Publication number
CN101453558A
CN101453558A CNA2008102049498A CN200810204949A CN101453558A CN 101453558 A CN101453558 A CN 101453558A CN A2008102049498 A CNA2008102049498 A CN A2008102049498A CN 200810204949 A CN200810204949 A CN 200810204949A CN 101453558 A CN101453558 A CN 101453558A
Authority
CN
China
Prior art keywords
image
low gray
pixel
value
histogram
Prior art date
Application number
CNA2008102049498A
Other languages
Chinese (zh)
Inventor
安博文
Original Assignee
上海广电(集团)有限公司中央研究院
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 上海广电(集团)有限公司中央研究院 filed Critical 上海广电(集团)有限公司中央研究院
Priority to CNA2008102049498A priority Critical patent/CN101453558A/en
Publication of CN101453558A publication Critical patent/CN101453558A/en

Links

Abstract

The invention provides a method for improving the contrast of a video image. The method comprises: performing histogram equalization processing on the image first, being capable of identifying whether pixels of the current image are concentrated in low gray scale regions, and judging whether further processing is required after histogram equalization, namely when the ratio of the number of the pixels of the current image in the low gray scale regions to the total pixel number of the image is more than a set proportional threshold R, the pixels of the current image are concentrated in the low gray scale regions and further processing is required after histogram equalization of the image; and when the ratio of the number of the pixels of the current image in the low gray scale regions to the total pixel number of the image is less than or equal to the set proportional threshold R, the pixels of the current image are not concentrated in the low gray scale regions and an image gray value after histogram equalization is only required to be outputted directly. The method reduces the computation complexity and computation when simultaneously improving the contrast of the video image and enriching the stereovision of the image.

Description

A kind of video image contrast improvement method

Technical field

The invention belongs to field of video image processing, the method that particularly a kind of video image contrast is improved.

Background technology

LCD TV is with respect to traditional C RT and plasm TV, congenital weakness with contrast deficiency, though the contrast of a lot of LCD TV producers propaganda reaches incredible numeral, but its index that adopts is instantaneous maximum-contrast, these data can not really embody the contrast of LCD TV image, actual visual effect is still undesirable, therefore improves the emphasis that the video image contrast is industry research.

Histogram equalization is the present common method of improving the image/video contrast, and its principle is the details expressive ability that strengthens image by the dynamic range of preliminary treatment increase image.This method belongs to the method that the overall situation is handled, and all pictures are all carried out expansion of gradation, but gray scale is being presented the effect that two ends distribute, overexposure can appear in the low gray areas of while image when having the image of more pixel distribution to handle.In order to overcome this defective, generally need further process as the histogram matching treatment, but the computing of histogram coupling is equivalent to the computing of a histogram equalization, and operand is doubled at least image, complexity increases greatly.

Summary of the invention

The object of the present invention is to provide a kind of method of improving the video image contrast, with rich image stereovision and reduction computational complexity.

The object of the present invention is achieved like this: a kind of video image contrast improvement method, described method is at first carried out histogram equalization to image and is handled, whether described method can intensive in low gray areas according to identification present image pixel, and whether judge needs further processing behind histogram equalization; When promptly the ratio that accounts for this image total pixel number at the pixel count of low gray areas when present image is greater than the proportion threshold value R that sets, show that then the present image pixel-intensive in low gray areas, needs further processing after image is carried out histogram equalization; The ratio that accounts for the total pixel of this image in the pixel of low gray areas when present image is during smaller or equal to the proportion threshold value R that sets, and it is intensive in low gray areas to show that then the present image pixel does not have, and only needs directly to export the gradation of image value behind the histogram equalization.

Described present image obtains in the following manner at the pixel count of low gray areas: set gray level thresholding c, rule of thumb set the low gray value M of image Min, calculate at low gray value empirical value M MinC gray scale accumulated value of carrying out statistics with histogram is gained up and down.

The span of described proportion threshold value R is [0.3,0.5], and the span of described c is [10,30].

Further, described further processing comprises the histogram matching treatment.

Method of the present invention is according to the statistics of grey level histogram, and whether recognition image is intensive at low gray area, promptly image is carried out light and shade and judges, when image is not in low gray area, only needs carry out histogram equalization to image; Otherwise, behind histogram equalization, need to carry out again the histogram coupling, thereby when improving video image contrast, rich image stereovision, reduced computational complexity, reduced operand.

Embodiment

Below will be described in further detail a kind of video image contrast improvement method of the present invention.

A kind of video image contrast improvement method of the present invention, the employing histogram equalizing method is realized, pixel for fear of low gray areas the overexposure phenomenon occurs through behind the histogram equalizing method, and the image after this method is handled histogram equalization carries out the histogram matching treatment; But histogram matching treatment operand is big, the computing complexity.Under the prerequisite that guarantees the improvement of video image contrast, reduce computational complexity as much as possible, whether intensive at low gray area, only the image that is in low gray areas is done the histogram matching treatment then if need in processing procedure, identify the present image pixel.When promptly the ratio that accounts for this image total pixel number at the pixel count of low gray areas when present image is greater than the proportion threshold value R that sets, show that then the present image pixel-intensive in low gray areas, needs further processing after image is carried out histogram equalization; The ratio that accounts for the total pixel of this image in the pixel of low gray areas when present image is during smaller or equal to the proportion threshold value R that sets, and it is intensive in low gray areas to show that then the present image pixel does not have, and only needs directly to export the gradation of image value behind the histogram equalization.

For characteristics of the present invention and technique effect are described better, described in detail especially exemplified by following specific embodiment.

According to a kind of video image contrast improvement method provided by the invention, yuv format image file degree of comparing is improved processing, its concrete steps are as follows:

Step 1, at first read in entire image, calculate the total pixel number of this image, be designated as S Um, import the empirical value M that this image hangs down gray value Min=30;

Step 2, then statistical picture grey level histogram H[256]; And histogram made normalized, obtain probability density function:

P(r i)=H[i]/S um i=0,1,2...L-1

Wherein L is the number of this gradation of image grade.

Step 3, calculating probability density function P (r i) corresponding cumulative distribution function s k, utilize T (r) to carry out conversion, select following transformation law:

s k = T ( r k ) = Σ i = 0 k P ( r i ) i = 0,1,2 . . . L - 1

Step 4, calculating are 30 o'clock at gray level thresholding c, and present image is at the pixel count of low gray areas Rule of thumb the span of R is [0.3,0.5], and setting the R value in the present embodiment is 0.4, then present image is carried out light and shade and judges, promptly judges With the size of R value, wherein,, also need image is carried out the histogram matching treatment if the former greater than the latter, illustrates that then present image is in inclined to one side dark space, promptly carry out step 5; If the former smaller or equal to the latter, illustrates that then present image is not to be in inclined to one side dark space, do not need to carry out the histogram matching treatment, promptly carry out step 6;

Step 5, setting P z(z i) being output image expectation histogram, z is the gray scale of output image.Calculate this probability density function p z(z i) cumulative distribution function G (z k):

G ( z k ) = Σ i = 0 k p z ( z i ) = s k k = 0,1,2 . . . L - 1

Then the final output gray level value of pixel is:

z k=G -1[s k]=G -1[T(r k)] k=0,1,2...L-1

Step 6, the final output gray level value of calculating pixel are:

z k=INT[(g max-g min)T(r k)+g min+0.5] k=0,1,2...P-1

G in the formula Max, g MinBe respectively gray scale maximum, minimum value in the original image, P is that histogram equalization is handled back tonal gradation sum, and k is the greyscale level of image.

Claims (6)

1. video image contrast improvement method, described method is at first carried out histogram equalization to image and is handled, whether it is characterized in that whether described method can intensive in low gray areas according to identification present image pixel, judging needs further processing behind histogram equalization; When promptly the ratio that accounts for this image total pixel number at the pixel count of low gray areas when present image is greater than the proportion threshold value R that sets, show that then the present image pixel-intensive in low gray areas, needs further processing after image is carried out histogram equalization; The ratio that accounts for the total pixel of this image in the pixel of low gray areas when present image is during smaller or equal to the proportion threshold value R that sets, and it is intensive in low gray areas to show that then the present image pixel does not have, and only needs directly to export the gradation of image value behind the histogram equalization.
2. video image contrast improvement method as claimed in claim 1, it is characterized in that, described present image obtains in the following manner at the pixel count of low gray areas: set gray level thresholding c, rule of thumb set the low gray value Mmin of image, calculate low gray value empirical value Mmin up and down c gray scale accumulated value of carrying out statistics with histogram be gained.
3. video image contrast improvement method as claimed in claim 2 is characterized in that the span of described gray level thresholding c is [10,30].
4. video image contrast improvement method as claimed in claim 1 is characterized in that the span of described proportion threshold value R is [0.3,0.5].
5. video image contrast improvement method as claimed in claim 4 is characterized in that the value of described proportion threshold value R is 0.4.
6. video image contrast improvement method as claimed in claim 1 is characterized in that described further processing comprises the histogram matching treatment.
CNA2008102049498A 2008-12-30 2008-12-30 Video image contrast improving method CN101453558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008102049498A CN101453558A (en) 2008-12-30 2008-12-30 Video image contrast improving method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008102049498A CN101453558A (en) 2008-12-30 2008-12-30 Video image contrast improving method

Publications (1)

Publication Number Publication Date
CN101453558A true CN101453558A (en) 2009-06-10

Family

ID=40735557

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008102049498A CN101453558A (en) 2008-12-30 2008-12-30 Video image contrast improving method

Country Status (1)

Country Link
CN (1) CN101453558A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104680500A (en) * 2015-02-07 2015-06-03 江西科技学院 Image intensification algorithm based on histogram equalization
CN104700426A (en) * 2015-04-02 2015-06-10 厦门美图之家科技有限公司 Method and system for judging whether image is too dark or too bright
CN105574839A (en) * 2014-10-16 2016-05-11 中兴通讯股份有限公司 Image processing method and device
CN106156689A (en) * 2015-03-23 2016-11-23 联想(北京)有限公司 A kind of information processing method and electronic equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105574839A (en) * 2014-10-16 2016-05-11 中兴通讯股份有限公司 Image processing method and device
CN104680500A (en) * 2015-02-07 2015-06-03 江西科技学院 Image intensification algorithm based on histogram equalization
CN106156689A (en) * 2015-03-23 2016-11-23 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN106156689B (en) * 2015-03-23 2020-02-21 联想(北京)有限公司 Information processing method and electronic equipment
CN104700426A (en) * 2015-04-02 2015-06-10 厦门美图之家科技有限公司 Method and system for judging whether image is too dark or too bright
CN104700426B (en) * 2015-04-02 2017-11-03 厦门美图之家科技有限公司 It is a kind of judge image whether partially dark or partially bright method and system

Similar Documents

Publication Publication Date Title
US9842385B2 (en) Display management for images with enhanced dynamic range
Huang et al. Efficient contrast enhancement using adaptive gamma correction with weighting distribution
Singh et al. Image enhancement using exposure based sub image histogram equalization
US8860718B2 (en) Method for converting input image data into output image data, image conversion unit for converting input image data into output image data, image processing apparatus, display device
US9106914B2 (en) Method and system for weighted encoding
CN105608677B (en) A kind of image colour of skin beautification method under arbitrary light environment and system
CN102831591B (en) Gaussian filter-based real-time defogging method for single image
CN103353982B (en) A kind of tone mapping method based on histogram equalization
WO2018028150A1 (en) Method for improving image effect and apparatus therefor
CN100362847C (en) Image processing device, image display device, image processing method, and image processing program
KR101085601B1 (en) Dynamic backlight adaptation
WO2017143635A1 (en) Method and system for reducing power consumption of display panel
CN101127835B (en) A pre-processing method and device for improving video image quality of digital video camera
TWI220849B (en) Contrast enhancement method using region detection
EP2323373B1 (en) Video enhancing method and device thereof
CN102075688B (en) Wide dynamic processing method for single-frame double-exposure image
KR101329140B1 (en) System and method for enhancing saturation of rgbw image signal
EP3525166A1 (en) Image tone adjustment using local tone curve computation
Chiu et al. Efficient contrast enhancement using adaptive gamma correction and cumulative intensity distribution
CN102750674B (en) Video image defogging method based on self-adapting allowance
CN1303812C (en) Apparatus for image enhancement and method of using the same
CN103971330B (en) Image enchancing method and device
US20110115815A1 (en) Methods and Systems for Image Enhancement
CN103918274B (en) To the self adaptation false contouring prevention had in the hierarchical coding of dynamic range expanded image
US8031166B2 (en) Liquid crystal display method and the appratus thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090610