Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for acquiring image gamma curve and enhancing image contrast

A gamma curve and image acquisition technology, applied in the field of image processing, can solve problems such as local noise enhancement, overexposure, and overbrightness

Active Publication Date: 2015-04-01
SUZHOU KEDA TECH
View PDF5 Cites 39 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Document 1 (Journal of Intelligent Manufacturing, Springer US, Volume 25, Issue 2, pp:303-318, 2012.) mainly uses the method of three-segment fitting of the histogram integral curve to obtain the histogram segmentation threshold, and then for each segment Re-map, and finally generate a gamma curve through the method of histogram equalization. This method can enhance dark and bright areas in pictures with strong contrast between light and dark. However, this method cannot manually adjust the contrast and cannot preserve local details. Control, sometimes partial dead black or overexposure of bright places, large amount of calculation and other shortcomings
[0005] Document 2 (Communications in Computer and Information Science, Gandhigram, India, Volume 140, pp 129-136, 2011.) mainly uses simple histogram correction, equalization and sharpening methods to obtain the gamma curve, which can make the image details more accurate. More, the overall contrast is increased, but the histogram correction parameters in this method are not adaptive in different environments, and the overall equalization of the histogram will produce the defects of local over-darkness and over-exposure, and local noise enhancement
[0006] Therefore, many image contrast enhancement methods in the prior art have the problem that the image is locally too dark or too bright, and there are also problems such as non-adaptive parameters and loss of image details.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for acquiring image gamma curve and enhancing image contrast
  • Method and system for acquiring image gamma curve and enhancing image contrast
  • Method and system for acquiring image gamma curve and enhancing image contrast

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] figure 1 A method for obtaining an image gamma curve according to an embodiment of the present invention is shown, including the following steps:

[0055] Step S11, obtaining the histogram of the image. Generally, the histogram can be obtained by performing histogram statistics on the received image, or can be directly provided by a general-purpose video processing chip. There are many specific chip models that can be used, for example, Ambarella series (S255, S266 and S288) and TI's dm8127, etc.

[0056] Step S12, performing a first smoothing process on the histogram. The first smoothing processing is preferably spatial smoothing processing, and the spatial smoothing processing belongs to a well-known technical means in the art, so details will not be described here. Performing the first smoothing process on the histogram can make the gamma curve generated in the subsequent steps smoother.

[0057] Step S13 , performing threshold segmentation on the histogram after...

Embodiment 2

[0085] image 3 A method for enhancing image contrast is shown, comprising the following steps:

[0086] Step S31, acquiring an image gamma curve. Step S31 includes step S11 of obtaining the histogram of the image, step S12 of performing a first smoothing process on the histogram, performing threshold segmentation on the histogram after the first smoothing process to obtain histograms of dark areas and bright areas S13, The step S14 of normalizing the histogram of the dark area and the bright area and the step S15 of obtaining a gamma curve according to the normalized histogram are performed respectively. That is, the image gamma curve is obtained according to the method for obtaining the image gamma curve described in Embodiment 1.

[0087] Step S32, performing gamma correction on the image by using the gamma curve.

[0088] Gamma correction is performed on the image through the above steps to make the image clearer, and the noise is effectively controlled under the condit...

Embodiment 3

[0090] Figure 4 A system for acquiring an image gamma curve according to an embodiment of the present invention is shown, including: a histogram acquisition module 41, a first smoothing processing module 42, a threshold segmentation module 43, a normalization module 44 and a gamma curve acquisition module 45 .

[0091] The histogram acquisition module 41 is used to acquire the histogram of the image. Corresponds to step S11 in Embodiment 1.

[0092] The first smoothing processing module 42 is configured to perform first smoothing processing on the histogram. The first smoothing is spatial smoothing, and the spatial smoothing process belongs to well-known technical means in the art, so details are not described here. Performing the first smoothing process on the histogram can make the gamma curve generated in the subsequent steps smoother. Corresponds to step S12 in Embodiment 1.

[0093] The threshold segmentation module 43 is configured to perform threshold segmentation...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and system for acquiring an image gamma curve and enhancing image contrast. The method for acquiring the image gamma curve includes the following steps that a histogram of an image is acquired; first smoothing is performed on the histogram; threshold segmentation is performed on the histogram subjected to the first smoothing so that a dark area histogram and a bright area histogram can be obtained; the dark area histogram and the bright area histogram are normalized; the gamma curve is acquired according to the normalized histograms. The gamma curve acquired through the steps has the advantage of being good in smoothness, and when the gamma curve is used for correcting image contrast, the image will not be locally too dark or bright. Thus, the problem that an image is locally too dark or bright happens to a method for enhancing image contrast in the prior art is solved.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to a method and system for obtaining an image gamma curve and enhancing image contrast. Background technique [0002] In general ISP (Image Signal Processing, that is, image signal processing), a gamma (gamma) curve can be used to set the contrast of an image. Generally, a fixed gamma curve is used to set the mapping method of the three color channels. However, using a single gamma curve is obviously not applicable to all possible scenarios. Using a higher contrast gamma curve may make normal pictures It becomes darker, the details of the dark part are lost, and the use of a gamma curve with a weaker contrast may make the magnified distant image unclear and transparent. Therefore, to solve the problem of optimizing the contrast of the adjusted image in different scenarios, an alternative approach is to make the gamma curve adaptive. [0003] At present, there are many way...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06T5/00G06T5/40G06T7/00
Inventor 戴夏强张荣祥曹李军陈卫东
Owner SUZHOU KEDA TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products