Adaptive stretching method and system based on histogram statistics

A technology of histogram statistics and stretching system, applied in the field of image processing, can solve problems such as poor applicability and poor processing effect

Pending Publication Date: 2020-09-29
UNIV OF ELECTRONIC SCI & TECH OF CHINA
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] As an example to solve the technical problems of poor processing effect and poor applicability in the existing i

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
  • Adaptive stretching method and system based on histogram statistics
  • Adaptive stretching method and system based on histogram statistics
  • Adaptive stretching method and system based on histogram statistics

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046]Since the traditional histogram equalization is performed on the entire [0,255] area, stretching the entire histogram to the [0,255] range may increase the contrast of background noise and reduce the contrast of useful signals. In order to improve this Disadvantages, this embodiment proposes an adaptive stretching method based on histogram statistics, which will add certain restrictions to the gray distribution histogram of the image obtained from the statistics.

[0047] Such as figure 1 As shown, the method of the present embodiment includes the following steps:

[0048] 1. Read the grayscale histogram of the original image;

[0049] 2. By making statistics on the gray histogram of the original image, it is determined that the effective gray range is [C min , C max ], where C min Indicates the minimum gray value, C max Indicates the maximum gray value, (C min +C max ) / 2 represents the coordinates of the center point of the effective gray scale range; specificall...

Embodiment 2

[0059] This embodiment also proposes an adaptive stretching system based on histogram statistics.

[0060] Such as figure 2 As shown, the system of this embodiment includes a reading module, a statistical module, a first stretching module, a second stretching module and a mapping module.

[0061] Wherein, the reading module is configured to perform step 1 in the method of the above-mentioned embodiment 1;

[0062] The statistical module is configured to perform step 2 in the method of the above-mentioned embodiment 1;

[0063] The first stretching module is configured to perform step 3 in the method of the above-mentioned embodiment 1;

[0064] The second stretching module is configured to perform step 4 in the method of the above-mentioned embodiment 1;

[0065] The mapping module is configured to execute step 5 in the method of Embodiment 1 above.

Embodiment 3

[0067] This embodiment adopts the traditional equalization technology and the method and system proposed in the above embodiments to process the uniform image (single scene) respectively, and obtains the following image 3 The processing effect diagram shown by image 3 It can be clearly seen that the processing effect of the adaptive stretching technology proposed in the present invention is better, so that the processed image is still uniform and can better retain the information of the original image, but the traditional histogram equalization will make the uniform Image stretched with too much contrast. The stretch coefficient k in this embodiment takes a value of 1.5; both the first threshold M and the second threshold N in this embodiment take a value of 2000.

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 an adaptive stretching method and system based on histogram statistics. The method comprises the following steps of: 1, reading a gray histogram of an original image; 2, determining an effective gray scale range as [Cmin, Cmax] by doing statistics on the gray histogram of the original image; 3, stretching the effective gray scale range by taking (Cmin + Cmax)/2 as a centercoordinate of histogram stretching, and obtaining upper and lower bounds of the gray scale value after stretching; and 4, stretching the gray histogram of the original image from the central coordinate point to the coordinate positions of the upper and lower bounds according to the central coordinate point obtained in the step 2 and the upper and lower bounds of the gray scale value obtained in the step 3 to obtain a stretched gray histogram of the original image. According to the method, statistical data in the histogram are processed, gray scale parts with very few data features in the histogram are filtered out, effective gray scale data are stretched in a specific range, and noise interference possibly brought by traditional histogram stretching is optimized.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to an adaptive stretching method based on histogram statistics. Background technique [0002] Histogram equalization is widely used in image enhancement processing. It is a histogram correction method based on the transformation of the accumulator distribution function. It is used to generate an image with a uniform probability density of gray level distribution, which expands the value dynamics of pixels. scope. The gray values ​​of many images are non-uniformly distributed. It is very common for images with gray values ​​concentrated in a small area. Histogram equalization is a method to enhance image contrast by redistributing each gray value evenly. . In general, histogram correction can improve the subjective quality of an image. The central idea of ​​histogram equalization processing is to change the gray histogram of the original image from a relatively concentrat...

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): G06T3/20G06T5/40
CPCG06T3/20G06T5/40G06T2207/10004
Inventor 周云米冠宇李京辉吕坚阙隆成
Owner UNIV OF ELECTRONIC SCI & TECH OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products