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
video image
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
CNA2008102049498A
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.)
Central Academy of SVA Group Co Ltd
Original Assignee
Central Academy of SVA Group 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 Central Academy of SVA Group Co Ltd filed Critical Central Academy of SVA Group Co Ltd
Priority to CNA2008102049498A priority Critical patent/CN101453558A/en
Publication of CN101453558A publication Critical patent/CN101453558A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)

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
Figure A200810204949D00052
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 Pending 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 Pending CN101453558A (en) 2008-12-30 2008-12-30 Video image contrast improving method

Country Status (1)

Country Link
CN (1) CN101453558A (en)

Cited By (6)

* 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
CN106557729A (en) * 2015-09-30 2017-04-05 日本电气株式会社 For processing the apparatus and method of facial image
CN115953823A (en) * 2023-03-13 2023-04-11 成都运荔枝科技有限公司 Face recognition method based on big data

Cited By (9)

* 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
CN106557729A (en) * 2015-09-30 2017-04-05 日本电气株式会社 For processing the apparatus and method of facial image
CN106557729B (en) * 2015-09-30 2021-12-21 日本电气株式会社 Apparatus and method for processing face image
CN115953823A (en) * 2023-03-13 2023-04-11 成都运荔枝科技有限公司 Face recognition method based on big data

Similar Documents

Publication Publication Date Title
CN102497490B (en) System and method for realizing image high dynamic range compression
CN103593830B (en) A kind of low illumination level video image enhancement
CN101340511B (en) Adaptive video image enhancing method based on lightness detection
CN101951523B (en) Adaptive colour image processing method and system
CN102722871B (en) Quick and effective image enhancing method
CN102314673B (en) Self-adapting image enhancement method
CN108665857B (en) Driving method of display device, driving device thereof and related device
CN101453558A (en) Video image contrast improving method
US20090317017A1 (en) Image characteristic oriented tone mapping for high dynamic range images
CN109146826A (en) A kind of image enchancing method and device
CN110610463A (en) Image enhancement method and device
CN102014279B (en) Method and device for intensifying video image contrast
CN104268843A (en) Image self-adaptation enhancing method based on histogram modification
CN100541601C (en) Brightness signal processing method
CN105407296A (en) Real-time video enhancement method and device
CN100502465C (en) Method for equalizing treatment of image greyscale histogram
CN103606134A (en) Enhancing method of low-light video images
CN103295206B (en) A kind of twilight image Enhancement Method and device based on Retinex
CN100571404C (en) Skin color signal correcting method
CN115937216A (en) Magnetic rotor appearance quality detection method for new energy automobile
CN103024328B (en) A kind of method improving screenshot quality of digital video recorder
CN113935911A (en) High dynamic range video image processing method, computer device and computer readable storage medium
CN102194220A (en) Image enhancement method based on combination of sharpening strength and gray scale distribution
CN104504666B (en) A kind of tone mapping method based on laplacian pyramid
CN103218793A (en) Adaptive hierarchical linear graphics enhancement method based on field programmable gate array (FPGA) platform

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