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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com