CN103914811A - Image enhancement algorithm based on gauss hybrid model - Google Patents
Image enhancement algorithm based on gauss hybrid model Download PDFInfo
- Publication number
- CN103914811A CN103914811A CN201410093657.7A CN201410093657A CN103914811A CN 103914811 A CN103914811 A CN 103914811A CN 201410093657 A CN201410093657 A CN 201410093657A CN 103914811 A CN103914811 A CN 103914811A
- Authority
- CN
- China
- Prior art keywords
- sigma
- histogram
- image
- formula
- algorithm
- 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.)
- Granted
Links
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
The invention relates to the technical field of image processing and provides an image enhancement algorithm based on a gauss hybrid model. According to the method, at first, luminance components of a color image are counted into a histogram, and mixture gauss modeling is carried out on the histogram; secondly, an improved EM algorithm is used for carrying out gauss hybrid model estimation on the histogram, a parameter of expectation maximization of a likelihood function is found out, and the optimum cluster quantity is determined through self-adaptation; thirdly, partition is carried out on the histogram according to an intersection point of adjacent clusters, and a plurality of sub-histograms are obtained; finally, the mapped clusters are found out according to the fact that area proportions of the sub-histograms with mapping relations are equal, the mapping function is adjusted in a micro mode according to application of the characteristic that the maximum entropy method tends to the human vision, and the final enhanced image is obtained. By the adoption of the image enhancement technology, the algorithm effectively improves the contrast ratio of the image, and increases the processing speed. The enhanced image obtained through the method achieves good effects in subjective visual perception aspect and objective evaluation aspect.
Description
Technical field
The present invention relates to technical field of image processing, be specifically related to a kind of algorithm for image enhancement based on gauss hybrid models.
Background technology
Image information is more and more used for identifying and judging things by people, solves actual problem.But due to factors such as weather brightness, conditions of exposures, cause brightness of image fuzzyyer, often can not meet the demand of application, this can badly influence the identification to target.It is more concentrated that this class image generally presents gray level, the low characteristic of contrast of image, and therefore, it is very important that the contrast of raising image is carried out post-processed to image.Histogram modification technology receives publicity because it is simple and easy to realize.Wherein, histogram equalization is being used widely aspect raising picture contrast, but luminance saturation easily appears in the enhancing algorithm based on histogram equalization at present, loss in detail or the phenomenon of amplifying noise.
Summary of the invention
In order to improve the sharpness of image, the invention provides a kind of image enhancement technique, can effectively improve the contrast of image, the while can keep image detail and prevent the excessive stretching of gray level.
The technical scheme that technical solution problem of the present invention is taked is as follows:
A kind of algorithm for image enhancement based on gauss hybrid models comprises:
The first step, the luminance component of coloured image is added up into histogram, histogram is carried out to Gaussian modeling;
Suppose that X is input picture, data are histogram data h (x)={ h (x
1), h (x
2) ..., h (x
n), the probability distribution of its gray level is p (x), the histogram of image utilizes GMM to construct the form of M Gaussian clustering linear hybrid,
In formula (1), p (x|w
n) be the probability density function of n cluster, P (w
n) be the weighting coefficient of n cluster;
Second step, utilize improved EM algorithm to carry out gauss hybrid models estimation to histogram, find the parameter of likelihood function expectation maximization, self-adaptation is determined best number of clusters simultaneously;
Above-mentioned improved EM algorithm is as follows:
1) E step, by data X and current estimation
calculate the expectation value that likelihood is estimated, pass through conditional expectation p (x|w by formula (2)
n) obtain p (w
n| x), then obtain final expectation function by formula (3):
In formula (3), p (w
n| x) represent with the t time iteration result
as the probability density function of parameter;
2) M step, obtains satisfied
maximized parameter
,
and P (w
n) upgrade and try to achieve according to following formula
In formula, h (x) is the histogram of statistical pixel number; P (w
n| x) by p (x|w
n) obtain by Bayesian formula; Application fitting function l (θ | x) the condition judgement iteration stopping that tends to be steady, before and after choosing here, difference is 10
-5for stop condition, in minimum and maximum number of clusters, select to make cluster number that iteration is the most stable as final number of clusters;
Finally obtain the histogram approaching, N is image maximum gray scale, and the form of expression is as follows
The 3rd step, according to the intersection point of adjacent cluster by histogram subregion, obtain multiple sub-histograms;
The 4th step, basis have the sub-histogram cumulative probability density CDF of mapping relations to equate to find the Gaussian clustering parameter after mapping, and then by the cumulative probability Density Weighted and the mapping function of trying to achieve gray-scale value of Gaussian clustering, and application keep maximum entropy method be tending towards human visual system inching mapping function, obtain final enhancing image.
Beneficial effect of the present invention is: this algorithm can keep image detail effectively, also prevented the luminance saturation phenomenon that gray level overstretching causes simultaneously, effectively improved the contrast of image, strengthening image is all to have obtained good effect at aspect subjective vision perception or objective evaluation aspect.
Accompanying drawing explanation
Gauss hybrid models (GMM) when Fig. 1 is k=3 approaches histogram.
Fig. 2 is the mapping curve in the time of u=0.5 and u=0.2.
Fig. 3 adopts the inventive method to strengthen the experimental result picture of front and back.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further details.
The present invention is based on the algorithm for image enhancement of gauss hybrid models, its step is as follows:
First, the luminance component of coloured image is added up into histogram, histogram is carried out to Gaussian modeling, be i.e. initialization Gaussian parameter.Gauss hybrid models (GaussianMixtureModeling, GMM) is the Gaussian distribution linear hybrid with different parameters, the corresponding class mean of each Gaussian clustering, variance and weighting coefficient.Suppose that X is input picture, data are histogram data h (x)={ h (x
1), h (x
2) ..., h (x
n), the probability distribution of its gray level is p (x), the histogram of image can utilize GMM to construct the form of M Gaussian clustering linear hybrid,
In formula (1), p (x|w
n) be the probability density function of n cluster, P (w
n) be the weighting coefficient of n cluster.
Secondly, EM algorithm (the Expectation-maximizationalgorithm of application enhancements, greatest hope algorithm), histogram is carried out to gauss hybrid models (GMM) to be estimated, find the parameter of likelihood function expectation maximization, simultaneously self-adaptation is determined best number of clusters (not need to for different images parameters).Improved EM algorithm can directly be applied on histogram data, has saved storage space, and improved processing speed than processing image array.Improved EM algorithm is mainly reflected in M step, adds histogram and gray-scale information, has reduced calculated amount, constantly updates average, variance and weighting coefficient by iteration.EM algorithm detailed process is as follows:
1) E step, by data X and current estimation
calculate the expectation value that likelihood is estimated, pass through conditional expectation p (x|w by formula (2)
n) obtain p (w
n| x), then obtain final expectation function by formula (3):
In formula (3), p (w
n| x) represent with the t time iteration result
as the probability density function of parameter.
2) M step, obtains satisfied
maximized parameter
,
and P (w
n) upgrade and try to achieve according to following formula
In formula, h (x) is the histogram of statistical pixel number.P (w
n| x) by p (x|w
n) obtain by Bayesian formula.Application fitting function l (θ | x) the condition judgement iteration stopping that tends to be steady, before and after choosing here, difference is 10
-5for stop condition, in minimum and maximum number of clusters, select to make cluster number that iteration is the most stable as final number of clusters.
Finally obtain the histogram approaching, N is image maximum gray scale, and the form of expression is as follows
Then, by histogram subregion, obtain multiple sub-histograms according to the intersection point of adjacent cluster.As shown in Figure 1, optimum cluster number M=3, the hollow small circle of grey represents the significant intersection point of Gaussian clustering, i.e. subregion point.The solid small circle of grey represents the end points of histogram dynamic range.According to intersection point and end points, histogram is divided into four parts, guarantees that each sub-range has a Gaussian clustering to occupy an leading position.
Finally, equate to find the cluster after mapping according to the sub-histogram accumulated probability density CDF that has mapping relations, i.e. the Gaussian parameter of correspondence in output image, wherein, weighting coefficient is constant, and formula is as follows
Mapping function is tried to achieve by all cluster weighted sums in GMM, can not be subject to here to apply the enhancing phenomenon excessively that accumulated probability density causes in original equalization algorithm, and formula is as follows
Final mapping function application keeps maximum entropy method to be tending towards human visual system adjustment, the image after being enhanced.To asking the differentiate of entropy formula, obtain extreme point, i.e. maximum entropy point.Application method of Lagrange multipliers finds brightness of image u
ysolution,
Therefore, known u
yafter, exist a unique λ corresponding with it, just can find final mapping relations by through type (10).
According to the visual characteristic of human eye, human eye is stronger to low gray level recognition capability, to high grade grey level recognition capability a little less than.As shown in Figure 2, when u=0.5, it is linear that c (y) function is; When u=0.2, c (y) is a concave function.By adjusting shining upon rear function, low gray level is suitably compressed, and high grade grey level suitably stretches, and makes it more level off to human visual system, so improved image can recognition capability.
Fig. 3 is three groups of experimental result pictures that adopt after the algorithm for image enhancement that the present invention is based on gauss hybrid models.
Claims (1)
1. the algorithm for image enhancement based on gauss hybrid models, is characterized in that, this algorithm comprises the steps:
The first step, the luminance component of coloured image is added up into histogram, histogram is carried out to Gaussian modeling;
Suppose that X is input picture, data are histogram data h (x)={ h (x
1), h (x
2) ..., h (x
n), the probability distribution of its gray level is p (x), the histogram of image utilizes GMM to construct the form of M Gaussian clustering linear hybrid,
In formula (1), p (x|w
n) be the probability density function of n cluster, P (w
n) be the weighting coefficient of n cluster;
Second step, utilize improved EM algorithm to carry out gauss hybrid models estimation to histogram, find the parameter of likelihood function expectation maximization, self-adaptation is determined best number of clusters simultaneously;
Above-mentioned improved EM algorithm is as follows:
1) E step, by data X and current estimation
calculate the expectation value that likelihood is estimated, pass through conditional expectation p (x|w by formula (2)
n) obtain p (w
n| x), then obtain final expectation function by formula (3):
In formula (3), p (w
n| x) represent with the t time iteration result
as the probability density function of parameter;
2) M step, obtains satisfied
maximized parameter
,
and P (w
n) upgrade and try to achieve according to following formula
In formula, h (x) is the histogram of statistical pixel number; P (w
n| x) by p (x|w
n) obtain by Bayesian formula; Application fitting function l (θ | x) the condition judgement iteration stopping that tends to be steady, before and after choosing here, difference is 10
-5for stop condition, in minimum and maximum number of clusters, select to make cluster number that iteration is the most stable as final number of clusters;
Finally obtain the histogram approaching, N is image maximum gray scale, and the form of expression is as follows
The 3rd step, according to the intersection point of adjacent cluster by histogram subregion, obtain multiple sub-histograms;
The 4th step, basis have the sub-histogram cumulative probability density CDF of mapping relations to equate to find the Gaussian clustering parameter after mapping, and then by the cumulative probability Density Weighted and the mapping function of trying to achieve gray-scale value of Gaussian clustering, and application keep maximum entropy method be tending towards human visual system inching mapping function, obtain final enhancing image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410093657.7A CN103914811B (en) | 2014-03-13 | 2014-03-13 | A kind of algorithm for image enhancement based on gauss hybrid models |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410093657.7A CN103914811B (en) | 2014-03-13 | 2014-03-13 | A kind of algorithm for image enhancement based on gauss hybrid models |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103914811A true CN103914811A (en) | 2014-07-09 |
CN103914811B CN103914811B (en) | 2016-10-19 |
Family
ID=51040469
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410093657.7A Active CN103914811B (en) | 2014-03-13 | 2014-03-13 | A kind of algorithm for image enhancement based on gauss hybrid models |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103914811B (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105701780A (en) * | 2016-01-12 | 2016-06-22 | 中国科学院深圳先进技术研究院 | Remote sensing image processing method and system thereof |
CN106161984A (en) * | 2016-08-31 | 2016-11-23 | 钧捷科技(北京)有限公司 | The suppression of video image high light, profile and details enhancement process method and system |
CN109712146A (en) * | 2018-12-14 | 2019-05-03 | 广东水利电力职业技术学院(广东省水利电力技工学校) | A kind of EM multi-threshold image segmentation method and device based on histogram |
CN109740638A (en) * | 2018-12-14 | 2019-05-10 | 广东水利电力职业技术学院(广东省水利电力技工学校) | A kind of method and device of EM algorithm two-dimensional histogram cluster |
CN110235177A (en) * | 2017-01-31 | 2019-09-13 | 株式会社爱考斯研究 | Image processing apparatus, pattern recognition device, image processing program and image recognition program |
CN110400260A (en) * | 2018-04-25 | 2019-11-01 | 展讯通信(上海)有限公司 | Image processing method and device |
CN110956593A (en) * | 2019-11-20 | 2020-04-03 | 南京拓控信息科技股份有限公司 | Gauss mixed gray level train wheel tread image enhancement method based on gray wolf optimization |
CN111050211A (en) * | 2019-12-13 | 2020-04-21 | 广州酷狗计算机科技有限公司 | Video processing method, device and storage medium |
CN111709344A (en) * | 2020-06-09 | 2020-09-25 | 上海海事大学 | Illumination-removing identification processing method for EPLL image based on Gaussian mixture model |
CN112446841A (en) * | 2020-12-14 | 2021-03-05 | 中国科学院长春光学精密机械与物理研究所 | Self-adaptive image recovery method |
CN112700383A (en) * | 2020-12-30 | 2021-04-23 | 南京齿贝犀科技有限公司 | Tooth image enhancement method based on Bayesian estimation filtering |
CN113436103A (en) * | 2021-06-28 | 2021-09-24 | 扆亮海 | Tone and contrast mapping method based on optimal human vision |
CN113971796A (en) * | 2021-09-27 | 2022-01-25 | 上海赫千电子科技有限公司 | Intelligent vehicle-mounted box and driving fatigue monitoring method |
CN115082507A (en) * | 2022-07-22 | 2022-09-20 | 聊城扬帆田一机械有限公司 | Intelligent regulation and control system of pavement cutting machine |
CN115170507A (en) * | 2022-07-06 | 2022-10-11 | 鄄城鑫磊交通工程材料有限公司 | Grouting pipe surface defect detection method and system based on image data |
CN117392038A (en) * | 2023-12-05 | 2024-01-12 | 北京智源人工智能研究院 | Medical image histogram equalization method and device, electronic equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103310429A (en) * | 2013-03-06 | 2013-09-18 | 西安电子科技大学 | Image enhancement method based on hidden Markov tree (HMT) model in directionlet domain |
US20130329972A1 (en) * | 2012-06-08 | 2013-12-12 | Advanced Micro Devices, Inc. | Biomedical data analysis on heterogeneous platform |
-
2014
- 2014-03-13 CN CN201410093657.7A patent/CN103914811B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130329972A1 (en) * | 2012-06-08 | 2013-12-12 | Advanced Micro Devices, Inc. | Biomedical data analysis on heterogeneous platform |
CN103310429A (en) * | 2013-03-06 | 2013-09-18 | 西安电子科技大学 | Image enhancement method based on hidden Markov tree (HMT) model in directionlet domain |
Non-Patent Citations (3)
Title |
---|
TURGAY CELIK等: "Automatic Image Equalization and Contrast Enhancement Using Gaussian Mixture Modeling", 《IEEE TRANSACTIONS ON IMAGE PROCESSING》 * |
宋磊 等: "一种基于高斯混合模型的改进EM算法研究", 《应用光学》 * |
李建存: "基于多尺度Retinex理论的遥感图像增强算法", 《西安工业大学学报》 * |
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105701780B (en) * | 2016-01-12 | 2018-09-28 | 中国科学院深圳先进技术研究院 | a kind of remote sensing image processing method and system |
CN105701780A (en) * | 2016-01-12 | 2016-06-22 | 中国科学院深圳先进技术研究院 | Remote sensing image processing method and system thereof |
CN106161984B (en) * | 2016-08-31 | 2020-03-31 | 钧捷智能(深圳)有限公司 | Video image highlight suppression, contour and detail enhancement processing method and system |
CN106161984A (en) * | 2016-08-31 | 2016-11-23 | 钧捷科技(北京)有限公司 | The suppression of video image high light, profile and details enhancement process method and system |
CN110235177B (en) * | 2017-01-31 | 2023-10-20 | 株式会社爱信 | Image processing device, image recognition device, and storage medium |
CN110235177A (en) * | 2017-01-31 | 2019-09-13 | 株式会社爱考斯研究 | Image processing apparatus, pattern recognition device, image processing program and image recognition program |
CN110400260A (en) * | 2018-04-25 | 2019-11-01 | 展讯通信(上海)有限公司 | Image processing method and device |
CN109740638A (en) * | 2018-12-14 | 2019-05-10 | 广东水利电力职业技术学院(广东省水利电力技工学校) | A kind of method and device of EM algorithm two-dimensional histogram cluster |
CN109740638B (en) * | 2018-12-14 | 2023-02-17 | 广东水利电力职业技术学院(广东省水利电力技工学校) | Method and device for clustering two-dimensional histogram of EM algorithm |
CN109712146A (en) * | 2018-12-14 | 2019-05-03 | 广东水利电力职业技术学院(广东省水利电力技工学校) | A kind of EM multi-threshold image segmentation method and device based on histogram |
CN109712146B (en) * | 2018-12-14 | 2023-06-09 | 广东水利电力职业技术学院(广东省水利电力技工学校) | EM multi-threshold image segmentation method and device based on histogram |
CN110956593A (en) * | 2019-11-20 | 2020-04-03 | 南京拓控信息科技股份有限公司 | Gauss mixed gray level train wheel tread image enhancement method based on gray wolf optimization |
CN111050211A (en) * | 2019-12-13 | 2020-04-21 | 广州酷狗计算机科技有限公司 | Video processing method, device and storage medium |
CN111050211B (en) * | 2019-12-13 | 2021-10-26 | 广州酷狗计算机科技有限公司 | Video processing method, device and storage medium |
CN111709344A (en) * | 2020-06-09 | 2020-09-25 | 上海海事大学 | Illumination-removing identification processing method for EPLL image based on Gaussian mixture model |
CN111709344B (en) * | 2020-06-09 | 2023-10-17 | 上海海事大学 | EPLL image illumination removal recognition processing method based on Gaussian mixture model |
CN112446841A (en) * | 2020-12-14 | 2021-03-05 | 中国科学院长春光学精密机械与物理研究所 | Self-adaptive image recovery method |
CN112446841B (en) * | 2020-12-14 | 2022-05-31 | 中国科学院长春光学精密机械与物理研究所 | Self-adaptive image recovery method |
CN112700383A (en) * | 2020-12-30 | 2021-04-23 | 南京齿贝犀科技有限公司 | Tooth image enhancement method based on Bayesian estimation filtering |
CN113436103A (en) * | 2021-06-28 | 2021-09-24 | 扆亮海 | Tone and contrast mapping method based on optimal human vision |
CN113971796A (en) * | 2021-09-27 | 2022-01-25 | 上海赫千电子科技有限公司 | Intelligent vehicle-mounted box and driving fatigue monitoring method |
CN115170507A (en) * | 2022-07-06 | 2022-10-11 | 鄄城鑫磊交通工程材料有限公司 | Grouting pipe surface defect detection method and system based on image data |
CN115082507B (en) * | 2022-07-22 | 2022-11-18 | 聊城扬帆田一机械有限公司 | Intelligent regulation and control system of pavement cutting machine |
CN115082507A (en) * | 2022-07-22 | 2022-09-20 | 聊城扬帆田一机械有限公司 | Intelligent regulation and control system of pavement cutting machine |
CN117392038A (en) * | 2023-12-05 | 2024-01-12 | 北京智源人工智能研究院 | Medical image histogram equalization method and device, electronic equipment and storage medium |
CN117392038B (en) * | 2023-12-05 | 2024-03-08 | 北京智源人工智能研究院 | Medical image histogram equalization method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103914811B (en) | 2016-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103914811B (en) | A kind of algorithm for image enhancement based on gauss hybrid models | |
CN101882304B (en) | Self-adaptive de-noising and characteristic enhancing method of SAR (Synthetic Aperture Radar) image | |
CN110288550B (en) | Single-image defogging method for generating countermeasure network based on priori knowledge guiding condition | |
CN109872285A (en) | A kind of Retinex low-luminance color image enchancing method based on variational methods | |
CN112614077A (en) | Unsupervised low-illumination image enhancement method based on generation countermeasure network | |
CN112200800B (en) | Electrowetting display defect detection method based on gray level histogram | |
CN103578084A (en) | Color image enhancement method based on bright channel filtering | |
CN103530847A (en) | Infrared image enhancing method | |
CN108257099A (en) | A kind of adaptive infrared image enhancing method of view-based access control model contrast resolution | |
CN110276764A (en) | K-Means underwater picture background segment innovatory algorithm based on the estimation of K value | |
CN105447825A (en) | Image defogging method and system | |
CN110852955A (en) | Image enhancement method based on image intensity threshold and adaptive cutting | |
CN111047543A (en) | Image enhancement method, device and storage medium | |
CN110807742A (en) | Low-light-level image enhancement method based on integrated network | |
CN102354388B (en) | Method for carrying out adaptive computing on importance weights of low-level features of image | |
US20140098098A1 (en) | Method for accelerating monte carlo renders | |
CN105184790A (en) | Tobacco field image segmentation method | |
CN104636497A (en) | Intelligent video data retrieval method | |
CN104915933A (en) | Foggy day image enhancing method based on APSO-BP coupling algorithm | |
CN109285171A (en) | A kind of insulator hydrophobicity image segmentation device and method | |
CN108986083A (en) | SAR image change detection based on threshold optimization | |
CN107045713A (en) | Enhancement method of low-illumination image based on census Stereo matchings | |
CN116340846A (en) | Aliasing modulation signal identification method for multi-example multi-label learning under weak supervision | |
CN104915934A (en) | Grayscale image enhancement method based on retina mechanism | |
CN101923716A (en) | Method for improving particle filter tracking effect |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |