CN111311525A - Image gradient field double-interval equalization algorithm based on histogram probability correction - Google Patents

Image gradient field double-interval equalization algorithm based on histogram probability correction Download PDF

Info

Publication number
CN111311525A
CN111311525A CN201911141281.1A CN201911141281A CN111311525A CN 111311525 A CN111311525 A CN 111311525A CN 201911141281 A CN201911141281 A CN 201911141281A CN 111311525 A CN111311525 A CN 111311525A
Authority
CN
China
Prior art keywords
gradient
histogram
image
probability
interval
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
CN201911141281.1A
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.)
Chongqing University of Post and Telecommunications
Original Assignee
Chongqing University of Post and Telecommunications
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 Chongqing University of Post and Telecommunications filed Critical Chongqing University of Post and Telecommunications
Priority to CN201911141281.1A priority Critical patent/CN111311525A/en
Publication of CN111311525A publication Critical patent/CN111311525A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/40Image enhancement or restoration by the use of histogram techniques

Abstract

In order to effectively enhance the image lacking texture details, the invention expands the traditional gray level histogram to the gradient histogram and provides an image gradient field double-interval equalization algorithm based on histogram probability correction. The algorithm considers the over-enhancement effect of global equalization, improves the traditional global equalization, provides that the gradient histogram is divided into an edge part and a non-edge part of an image, and then the two parts are equalized respectively, and the method solves the over-enhancement of the traditional global equalization. Finally, according to the mapping rule of histogram equalization, the algorithm provides single threshold value method correction probability before the two intervals are equalized respectively, the operation effectively avoids the 'phagocytosis' effect of histogram equalization, and the information entropy of the enhanced image is greatly improved compared with that of the original image.

Description

Image gradient field double-interval equalization algorithm based on histogram probability correction
Technical Field
The invention belongs to the technical field of digital image processing, and particularly relates to an image gradient field double-interval equalization algorithm based on histogram probability correction.
Background
Histogram Equalization (HE) is a common method for image enhancement, and has the advantages of small time complexity, obvious enhancement effect and the like, but after Equalization, the method can cause the area with high probability of the original Histogram to be over-enhanced and the area with low probability to be reduced in contrast. In view of the above-mentioned disadvantages, many scholars have recently proposed an image enhancement algorithm based on histogram equalization, and many algorithms have been proposed to achieve a better effect after equalization by dividing an original histogram or original image into a plurality of sub-blocks by setting a threshold value and then equalizing the sub-blocks individually, or by directly changing the distribution of the histogram to achieve a predetermined shape.
The image gradient is an important index for the quality and the quality of image texture details, the gradient amplitude at a certain position of an image is large and represents that the gray value at the position is greatly changed, namely the texture contour is clear, if the gradient field of the image is well enhanced, particularly for the image lacking the texture details, the image can be effectively enhanced.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides an image gradient field double-interval equalization algorithm based on histogram probability correction. The algorithm firstly proves that gradient variables of the edge part of an original gradient field obey mixed Gaussian distribution, gradient variables of the non-edge part obey mixed Rayleigh distribution, then a proper threshold value is found according to the characteristic that the deviation of the mixed Rayleigh distribution is a fixed value, a gradient histogram is divided into an edge part (large gradient interval) and a non-edge part (small gradient interval), and finally the two parts are respectively balanced. Further to solve the problem of 'phagocytosis' of two-part equilibrium, the invention proposes a single threshold method to correct the probability before the two parts are equilibrated.
The technical scheme and the flow sequence of the invention are as follows:
(1) inputting an original image, determining a pixel point at the leftmost upper corner of the original image I as an origin of a plane rectangular coordinate system (a y-axis direction is set downwards and an X-axis direction is set to be a positive direction), calculating gradient amplitudes of all pixel points in the original image I, and counting the number of the gradient amplitudes of all the pixel points to obtain a gradient amplitude histogram X;
(2) size gradient bi-compartment equalization: PDFs of gradient variables of an edge part (large gradient interval) and a non-edge part (small gradient interval) are firstly solved, and the fact that the gradient variables of the edge part obey mixed Gaussian distribution and the gradient variables of the non-edge part obey mixed Rayleigh distribution is proved. And then testing a large number of pictures according to the characteristic that the deviation of the mixed Rayleigh distribution is a fixed value to obtain an optimal threshold value for segmenting the original gradient amplitude histogram X, wherein the deviation of the mixed Rayleigh distribution corresponding to the threshold value is 0.75. Finally, dividing the original gradient amplitude histogram X into small gradient intervals X according to the optimal threshold valueSAnd large gradient interval XBAs shown in fig. 4;
(3) single threshold method: after dividing the large and small gradient regions, the invention firstly finds the small gradient region XSAnd large gradient interval XBDistribution average probability of (T)SAnd TBAs shown in fig. 5. Statistics of XSLi is greater than and less than TSThe number of gradient stages of (1), two numbers being denoted as ChS(k)>TSAnd ChS(k)<TSComparison ChS(k)>TSAnd ChS(k)<TSThe gradient histogram of (1) is obtained by changing the probability of the gradient level corresponding to the larger one to TS,XBProbability correction of similar XS
(4) The corrected large and small gradient intervals XSAnd XBRespectively equalizing, and combining the two equalized gradient regions to obtain an equalized image gradient field
Figure RE-GDA0002356572310000021
(5) According to
Figure RE-GDA0002356572310000022
Reconstructing an enhanced image: let the enhanced image be u, the gradient field according to u should be maximally close to the gradient field
Figure RE-GDA0002356572310000023
According to the requirement, the reconstruction problem is converted into an extreme value problem of a functional, and then the extreme value solving is converted into a solution of a Poisson equation according to a variational method;
(6) and performing experimental simulation by using MATLAB, objectively presenting an experimental result, and verifying the effectiveness of the algorithm.
Compared with the prior image gradient field equalization algorithm, the algorithm provided by the invention comprises the following steps: 1) the original gradient amplitude histogram is divided into an edge part and a non-edge part to be balanced respectively, and the divided threshold value is not selected randomly but is the boundary gradient value of the two parts, so that the two parts can effectively enhance the gradient field after being balanced respectively, the gradient value of each other can not occur, and the over-enhancement effect of the traditional global equalization is eliminated; 2) the probability of the two parts is corrected by a single threshold value method before the two parts are respectively balanced, so that the 'phagocytosis' problem of histogram balance is effectively avoided. Experimental results show that compared with the original image, the entropy of the image information enhanced by the algorithm is greatly improved and is superior to that of the traditional algorithm at present.
Drawings
FIG. 1 is a comparison graph of animal simulation effects in the example of the present invention
FIG. 2 is a comparison graph of simulation effect of a house according to an embodiment of the present invention
FIG. 3 is a diagram showing the comparison of forest simulation effects in the embodiment of the present invention
FIG. 4 is a diagram illustrating the effect of segmenting the gradient histogram by optimal threshold values in an embodiment of the present invention
FIG. 5 is a diagram illustrating a single threshold method according to an embodiment of the present invention
FIG. 6 is an abstract drawing of the present invention
Detailed Description
The following describes the practice of the present invention in detail with reference to the accompanying drawings.
ZHU proposes a global equalization algorithm of the gradient histogram, and the algorithm directly equalizes the original gradient histogram by keeping the direction of the original gradient field unchanged, so that the method has the advantages of obvious effect on enhancing image details, high efficiency and the like. However, the algorithm does not consider the problems of overlarge equilibrium range, uneven probability distribution and the like, so that the disadvantages of gradient field over-enhancement, gradient level phagocytosis and the like exist after equilibrium. The invention provides an image gradient field double-interval equalization algorithm based on histogram probability correction, firstly, a gradient histogram is divided into an edge part and a non-edge part of an image, and then the two parts are equalized respectively, so that the operation effectively weakens the problem of over-enhancement of global equalization. In order to solve the problem of gradient level phagocytosis, the invention provides a single threshold value method to correct the probability before the two parts are respectively balanced.
One, two interval equalization
Conventional gradient histogram equalization employs global equalization, which results in an over-enhancement of the histogram equalization. In order to eliminate the over-enhancement phenomenon, the gradient amplitude histogram is divided into large and small gradient intervals by an optimal threshold value and then the gradient intervals are respectively balanced according to the mapping rule of histogram balancing, the two intervals can be balanced in the original gradient range, and the gradient values cannot occur after the two intervals are balanced, so that the over-enhancement is avoided. The steps for finding the optimal threshold value provided by the invention are as follows:
1. proving that the gradient amplitude variable of the original gradient field obeys the Rice distribution
Firstly, the vertical gradient of an input image is set as a variable YijRThe gradient in the horizontal direction being the variable YijCConsidering the gradient distribution of the input image as a binary mixed Gaussian distribution, Y is obtained because the gradient value of the input image depends on various reasonsijRAnd YijCPDF obeying the following formula (1):
Figure RE-GDA0002356572310000031
wherein r isGAre the regions corresponding to the binary mixed gaussian distribution,
Figure RE-GDA0002356572310000032
and
Figure RE-GDA0002356572310000033
is Y in each regionijRAnd YijCIn the expectation that the position of the target is not changed,
Figure RE-GDA0002356572310000041
and
Figure RE-GDA0002356572310000042
is Y in each regionijRAnd YijCThe standard deviation of (a) is determined,
Figure RE-GDA00023565723100000412
is YijRAnd YijCThe covariance of the regions in each of the regions,
Figure RE-GDA00023565723100000413
is the weight of each region. To simplify equation (1), a series of proofs is required, the procedure is as follows:
(1) proving that Y in formula (1)ijRAnd YijCIndependent of each other
① finding YijRAnd YijCCorrelation coefficient of (1) ("rho")
Because of YijRAnd YijCThe correlation coefficient ρ of (d) is:
Figure RE-GDA0002356572310000043
wherein I1And I2Is YijRAnd YijCFirst moment of (d). At the same time according to YijRAnd YijCAre mutually orthogonal to obtain YijRAnd YijCHas a cross-correlation function of 0, i.e. E (Y)ijRYijC) When 0, then equation (2) can be reduced to equation (3):
Figure RE-GDA0002356572310000044
wherein v is1And v2Is YijRAnd YijCStandard deviation of (1), M1And M2Is YijRAnd YijCSecond moment of (I)1And I2Is YijRAnd YijCFirst moment of (d).
② finding the gradient variable Y in the formula (3)ijRAnd YijCFirst moment of1And I2
Because the input image is composed of many non-edge and edge regions, I is obtained1And I2It becomes to find the first moment I of each region1r1And I2r2The weighted sum of (2) is given by the following equation (4)ijRAnd YijCThe second moment of (2) is the same.
Figure RE-GDA0002356572310000045
Wherein w1r1And w2r2Is I1r1And I2r2The corresponding weight.
③ analysis of the magnitude relation of each variable in the formula (3) yields the value of ρ
For a certain non-edge area, the gray scale difference in the area is not large, namely the gradient value in the area is relatively small, and I is deduced1r1And I2r2Close to 0. And the ratio of the number of pixels in the edge area is small and the obtained I1r1And I2r2Has positive or negative values, so that the first moment I in the formulas (3) and (4) is obtained1And I2Close to 0. At the same time due to M1And M2Is a gradient variable YijRAnd YijCSo that they are much larger than I1And I2. From the above, it is found that p is a very small value, i.e. Y is provedijRAnd YijCAre independent of each other.
(2) In analytical formula (1)
Figure RE-GDA0002356572310000046
And
Figure RE-GDA0002356572310000047
in relation to (2)
Due to the variable YijRAnd YijCAre obtained by operating on the same group of pixels of the input image, so they have the same standard deviation, i.e. v1=v2. And the gradient variables of each region in the input image are subjected to Gaussian distribution, and all the gradient variables are obtained by using the same gradient operator action on each region of the input image, so that all the gradient variables are subjected to the same mixed Gaussian distribution, and the standard deviation of the mixed Gaussian distribution is set as
Figure RE-GDA0002356572310000048
According to the above Y in each region of the input imageijRAnd YijCStandard deviation of (2)
Figure RE-GDA0002356572310000049
And
Figure RE-GDA00023565723100000410
are equal to, and have
Figure RE-GDA00023565723100000411
Approximating equation (1) in two steps according to (1) (2) as follows:
f(YijR,YijC)≈fk(YijR,YijC) (5)
Figure RE-GDA0002356572310000051
wherein r isGIs YijRAnd YijCThe corresponding respective areas are set to be in correspondence with each other,
Figure RE-GDA0002356572310000052
is the weight of each of the regions and,
Figure RE-GDA0002356572310000053
and
Figure RE-GDA0002356572310000054
is Y in each regionijRAnd YijCIs markedTolerance, prGIs Y in each regionijRAnd YijCThe covariance of (a) of (b),
Figure RE-GDA0002356572310000055
and
Figure RE-GDA0002356572310000056
is Y in each regionijRAnd YijCIn the expectation that the position of the target is not changed,
Figure RE-GDA0002356572310000057
N1,N0,N-1is fk(YijR,YijC) Correction constants that make the curves uniform in three cases. According to formula (7) and formula (1), G is obtainedijThe PDF of (1) is formula (8):
Figure RE-GDA0002356572310000058
Figure RE-GDA0002356572310000059
wherein Y isijRAnd YijCAre gradient variables in the vertical and horizontal directions of the image. F of formula (6)kSubstituting the value into formula (8) to obtain GijThe PDF of (a) can be approximated as a weighted sum rice PDFs, i.e. to prove that the gradient variables of the original gradient field obey a rice distribution.
2. Proving the gradient amplitude of the non-edge region of the original gradient map
Figure RE-GDA00023565723100000510
And edge region gradient magnitude
Figure RE-GDA00023565723100000511
Obeying Rayleigh and Gaussian distributions
Due to the non-edge area AHIs/are as follows
Figure RE-GDA00023565723100000512
And
Figure RE-GDA00023565723100000513
about 0, will
Figure RE-GDA00023565723100000514
And
Figure RE-GDA00023565723100000515
substitution of 0 into f in formula (6)kThen f of formula (6)kSubstituting the value into the formula (8) to obtain
Figure RE-GDA00023565723100000516
The probability density of (a) is as follows (9):
Figure RE-GDA00023565723100000517
wherein r isGIs that
Figure RE-GDA00023565723100000518
The corresponding respective areas are set to be in correspondence with each other,
Figure RE-GDA00023565723100000519
is the weight of each of the regions and,
Figure RE-GDA00023565723100000520
is in each region
Figure RE-GDA00023565723100000521
The standard deviation of (a) is determined,
Figure RE-GDA00023565723100000522
is in each region
Figure RE-GDA00023565723100000523
Of (a) autocovariance, N1,N0,N-1Is fk(YijR,YijC) Correction constants that make the curves uniform in three cases.
For the edge area AEIs provided with
Figure RE-GDA0002356572310000061
And substituting into formula (8) to obtain (G)ij)AEThe probability density of (a) is as follows (10):
Figure RE-GDA0002356572310000062
wherein r isGIs that
Figure RE-GDA0002356572310000068
The corresponding respective areas are set to be in correspondence with each other,
Figure RE-GDA0002356572310000063
is the weight of each of the regions and,
Figure RE-GDA0002356572310000064
is in each region
Figure RE-GDA0002356572310000065
Standard deviation of (1), ρrGIs in each region
Figure RE-GDA0002356572310000066
Of (a) autocovariance, N1,N0,N-1Is fk(YijR,YijC) Correction constants that make the curves uniform in three cases.
The gradient amplitude variable of the non-edge region obtained by the derivation approximately follows mixed Rayleigh distribution, and the gradient amplitude variable of the edge region approximately follows mixed Gaussian distribution.
3. Selection of optimal segmentation threshold
In the gradient histogram of the lack of detail image, when the original gradient histogram is divided by different threshold values, the distribution of the gradient amplitudes of small gradient intervals is different, and the skewness coefficients of the small gradient intervals calculated by taking the gradient amplitudes as sample values are also different, so that the optimal threshold value can be determined by measuring the skewness coefficients of the small gradient intervals under different division threshold values and then utilizing the corresponding relation between the skewness coefficients and the threshold values.
When the mixed rayleigh distribution includes only one rayleigh distribution, the skewness coefficient thereof is a constant value of 0.63, and when the mixed rayleigh distribution includes a large number of rayleigh distributions, the skewness coefficient thereof is a constant value of 1.25. Because gradient amplitude variables of non-edge areas of different images approximately obey mixed Rayleigh distribution, and the number of Rayleigh distributions contained in the mixed Rayleigh distribution is uncertain, the optimal segmentation threshold is determined by the following two steps:
(1) testing the skewness coefficient of small gradient intervals of a certain input image under different segmentation threshold values to obtain the following conclusion: when a certain segmentation threshold value is taken, the skewness coefficient can be monotonically increased from 0.63 to 1.25 correspondingly;
(2) testing a large amount of gradient histograms lacking texture details to obtain a corresponding threshold value x when the skewness coefficient is 0.75tIt is reasonable to segment the gradient histograms of different images.
Setting the gradient histogram X according to the above by the optimal threshold value XtDivided into small gradient regions XSAnd large gradient interval XBThere are then the formulae (11) to (13)
X=XS∪XB(11)
Wherein
Figure RE-GDA0002356572310000067
Figure RE-GDA0002356572310000071
XSIs a partial gradient level of X {0,1,2tComposition XBIs a partial gradient order by X { Xt+1,Xt+ 2.., L-1} as in fig. 4.
Two, one threshold method
After the large and small gradient intervals are segmented, because the probability of gradient level distribution of each interval is uneven, phagocytosis can occur when the two intervals are directly balanced, and a part of gradient can be lost in a reconstructed image, the probability in a gradient histogram is adjusted by adopting a single threshold method before the two intervals are respectively balanced, and the specific process of the single threshold method is as follows:
(1) average probability of two intervals of gradient histogram is calculated
The above small gradient interval XSThe original probability (number of pixel points) of the inner gradient level k is hs(k) Denotes, the large gradient region XBThe original probability of the inner gradient level k is hB(k) And (4) showing. Then, the average probability T of each of the two intervals is calculatedSAnd TB,TSAnd TBAdaptive calculation as follows (14) and (15):
Figure RE-GDA0002356572310000072
Figure RE-GDA0002356572310000073
(2) correcting the probability of two intervals by taking the average probability as a reference
Set small gradient interval hS(k)>TSHas a gradient number of
Figure RE-GDA0002356572310000074
hS(k)<TSNumber of gradient stages of
Figure RE-GDA0002356572310000075
To correct XSIs performed by the following formulas (16) and (17):
Figure RE-GDA0002356572310000076
Figure RE-GDA0002356572310000077
wherein h isS(k) Is XSThe original probability of the pre-gradient level k, h, is correcteds(k) After correction, use hmS(k) Denotes, TSIs XSAverage probability of. The formulae (16) and (17) are represented by XSInterior with TSFor reference, the summary of all gradient levelsRate is greater than and less than TSDividing the data into an upper part and a lower part, comparing the number of gradient levels of the two parts, and changing the more probability into TS,XBThe probability correction method of (3) is similar.
Equalization of large and small gradient intervals
Correcting the probability of the large and small gradient regions, balancing the two regions, and setting the threshold for dividing the original gradient histogram as xtDividing the original gradient histogram X into small gradient intervals XSAnd large gradient interval XBInterval XSHas a gradient range of [0, x ]t]Interval XSHas a gradient range of
Figure RE-GDA0002356572310000078
Is the maximum gradient level in the original gradient histogram. The formula for calculating the magnitude of the equalized gradient field is shown in (18):
Figure RE-GDA0002356572310000081
wherein I1And I2Are respectively the interval XSAnd XBThe original gradient amplitude of (a).
Figure RE-GDA0002356572310000082
And
Figure RE-GDA0002356572310000083
respectively, the equalized gradient amplitudes. n (I)1) Is the interval XSThe value of the interior gradient is less than or equal to I1All pixel numbers of (n) (I)2) Is the interval XBThe value of the internal gradient being greater than xtAnd is less than or equal to I2All pixel numbers of (N)1And N2Are respectively the interval XSAnd XBThe total number of pixels in.
Will be provided with
Figure RE-GDA0002356572310000084
And
Figure RE-GDA0002356572310000085
gradient magnitudes combined together to form a target gradient field
Figure RE-GDA0002356572310000086
Maintaining the direction of the original gradient field before the balance, and establishing a target gradient field
Figure RE-GDA0002356572310000087
For a vector field containing direction and magnitude, it is expressed by equation (19):
Figure RE-GDA0002356572310000088
wherein
Figure RE-GDA0002356572310000089
The original gradient vector is used as the vector of the original gradient,
Figure RE-GDA00023565723100000810
is the modulus of the original gradient vector,
Figure RE-GDA00023565723100000811
representing the original unit vector.
Image reconstruction based on target gradient field
After the double-interval equalization, the target gradient field is obtained
Figure RE-GDA00023565723100000812
When the gradient field of image u is maximally close
Figure RE-GDA00023565723100000813
When u is then according to
Figure RE-GDA00023565723100000814
And (4) reconstructing an enhanced image. The solution for u can be found by finding the minimum of the functional e (u) of the following formula:
Figure RE-GDA00023565723100000815
in the formula
Figure RE-GDA00023565723100000816
Is a gradient operator. The minimization of E (u) is equivalent to the Poisson equation of equation (21) according to the variational method:
Figure RE-GDA00023565723100000817
where Δ is the laplacian, u is the enhanced image, div is the sign of the divergence,
Figure RE-GDA00023565723100000818
representing the target gradient field. The solution to the poisson equation of formula (21) is many, and the invention adopts a matrix transformation method with small time complexity. The method is characterized in that the effect of the Laplace operator on an image U is equivalent to that two matrixes are multiplied by an image matrix U and then added, as shown in a formula (22), the effect of the divergence operator on a target gradient field G is equivalent to a formula (23), and the formula (21) is equivalent to a formula (24):
Δu=Am*mUm*n+Um*nBn*n(22)
Figure RE-GDA00023565723100000819
Am*mUm*n+Um*nBn*n=Cm*n(24)
wherein A and B in the formulas (22) and (24) are shown in the formula (25), U is a matrix of the enhanced image U, and the size is m x n.
Figure RE-GDA0002356572310000091
Because the eigenvalues of both A and B matrices are distinct and negative, both matrices can be diagonalized. The matrix U is obtained according to the above formula as follows:
(1) solving a similar diagonalized matrix I of A and BAAnd IBSimultaneously obtaining A and B similarity transformation matrixes P and Q;
(2) rewriting formula (24) to P-1APP-1UQ+P-1UQQ-1BQ=P-1CQ, DeiAP-1UQ+P-1UQIB=P-1CQ;
(3) Let Y be P-1UQ, based on the property of the product of diagonal matrix and general matrix
Figure RE-GDA0002356572310000092
(4) According to U-PYQ-1Obtaining a matrix U, namely an enhanced image U;
the method adopts matrix form to solve.
In order to evaluate the performance of the algorithm provided by the invention, three original images of a forest, an animal and a house are input for simulation. The algorithm chosen for the performance comparison was: HE. AHE and gradient field global equalization which are histogram equalization algorithms of the current mainstream are used for evaluating the algorithm provided by the invention from both subjective and objective aspects.
Fig. 1 to 3 are comparison graphs of simulation results of the algorithms, and in subjective view, the HE algorithm has an obvious over-enhancement effect although the HE algorithm improves the contrast of the image as a whole and has a certain effect on enhancing details of the image. The AHE algorithm is a self-adaptive HE algorithm, has obvious effect on enhancing images lacking texture details, but has poor image authenticity after enhancement. The gradient field global equalization algorithm has over-enhancement and 'phagocytosis' effects on the equalized gradient field, the gradient of a part of regions of an output image is overlarge, and the gradient of the other part of regions is lost. The algorithm of the invention has obvious effect on enhancing the detail texture of the original image, and because the edge and the non-edge are respectively balanced, the gradient values of the edge and the non-edge can not appear after the balance, so that the enhanced image has no distortion of overlarge or undersize gradient values.
Objectively, the invention uses the information entropy to evaluate the result of each algorithm after enhancement, as shown in table 1, and uses the average gradient to evaluate the result, as shown in table 2. As can be seen from the observation of the two tables, the algorithm provided by the invention can better improve the information entropy and the average gradient of the original image. Meanwhile, in contrast, although the average gradient after processing is larger, the gradient field global equalization algorithm is established on the premise that the gradient field is over-enhanced. The average gradient processed by the HE algorithm and the AHE algorithm is good in performance, but the output image has an over-enhancement phenomenon, and the effectiveness of the algorithm provided by the invention is demonstrated. For the comparison of effectiveness of the single threshold method provided by the invention, as shown in table 3, the entropy of the output image information is larger with the single threshold method than without the single threshold method as shown in table 3.
Figure RE-GDA0002356572310000101
TABLE 1
Figure RE-GDA0002356572310000102
TABLE 2
Serial number Original drawing Correction for removing single threshold value by algorithm Algorithm of the invention
FIG. 1 shows a schematic view of a 6.59 7.00 14.78
FIG. 2 6.15 7.63 21.03
FIG. 3 6.77 7.38 19.21
Table 3.

Claims (3)

1. An image gradient field double-interval equalization algorithm based on histogram probability correction is characterized by comprising the following steps:
firstly, solving a gradient amplitude value of each pixel point of an original image, counting the gradient amplitude values of all the pixel points to obtain a gradient histogram, using the gradient value of a small gradient interval as a corresponding threshold value when the sample deviation degree is 0.75, and dividing the gradient histogram into large and small gradient intervals by using the threshold value;
then, before the two intervals are respectively balanced, respectively solving the average probability of the distribution of the two intervals, dividing the probability of the gradient level in the corresponding interval into an upper part and a lower part according to the reference by taking the average probability as the reference, then changing all the probability of the part with more gradient levels into the average probability, keeping the probability of the part with less gradient levels unchanged, and finally respectively balancing the two intervals;
and finally, reconstructing an enhanced image according to the equalized image gradient field, converting the problem into a functional extreme value solving problem, and solving an extreme value of the functional to obtain the enhanced image.
2. The histogram probability modification-based image gradient field dual-interval equalization algorithm as claimed in claim 1, wherein: after the gradient histogram of the original image is solved, the traditional global gradient domain equalization is improved, and the original gradient histogram is divided into an edge interval and a non-edge interval by adopting a proper threshold value; the specific threshold solving process comprises the following steps:
(1) proving the gradient amplitude of the non-edge part of the original image gradient domain
Figure FDA0002281008070000013
Obeying a mixed rayleigh distribution;
(2) proving the gradient amplitude of the edge part of the original image gradient domain
Figure FDA0002281008070000014
Obeying a mixed Gaussian distribution;
(3) according to the skewness characteristics of Rayleigh distribution, a large number of gradient histograms lacking texture details are tested; finding out an optimal threshold value, and dividing the gradient histogram into an edge part and a non-edge part to obtain an optimal threshold value xtThe corresponding skewness factor is 0.75.
3. The histogram probability modification-based image gradient field dual-interval equalization algorithm as claimed in claim 1, wherein: before the double-interval equalization, the average probability of the double-interval distribution is solved, the number of gradient levels which are larger than and smaller than the reference is compared by taking the average probability as the reference, the probability of the larger gradient level is changed into the average probability, and the modified model is as follows:
Figure FDA0002281008070000011
Figure FDA0002281008070000012
the single threshold method provided by the invention is adopted to modify and balance, so that the information entropy of the output image can be greatly improved.
CN201911141281.1A 2019-11-20 2019-11-20 Image gradient field double-interval equalization algorithm based on histogram probability correction Pending CN111311525A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911141281.1A CN111311525A (en) 2019-11-20 2019-11-20 Image gradient field double-interval equalization algorithm based on histogram probability correction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911141281.1A CN111311525A (en) 2019-11-20 2019-11-20 Image gradient field double-interval equalization algorithm based on histogram probability correction

Publications (1)

Publication Number Publication Date
CN111311525A true CN111311525A (en) 2020-06-19

Family

ID=71159847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911141281.1A Pending CN111311525A (en) 2019-11-20 2019-11-20 Image gradient field double-interval equalization algorithm based on histogram probability correction

Country Status (1)

Country Link
CN (1) CN111311525A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113222954A (en) * 2021-05-21 2021-08-06 大连海事大学 Multi-exposure image ghost-free fusion method based on patch alignment under global gradient
CN113592750A (en) * 2021-07-30 2021-11-02 成都市晶林科技有限公司 Infrared enhancement method based on gradient histogram
CN115049566A (en) * 2022-08-15 2022-09-13 聊城扬帆田一机械有限公司 Intelligent adjusting system for vibration excitation mode of plate compactor
CN115409745A (en) * 2022-10-31 2022-11-29 深圳市亿康医疗技术有限公司 CT image enhancement method applied to radiotherapy preparation

Citations (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06124343A (en) * 1992-06-19 1994-05-06 Toppan Printing Co Ltd Method and device for determining limited color
WO1999006941A2 (en) * 1997-07-31 1999-02-11 University Of California, Berkeley Apparatus and methods for image and signal processing
EP1168244A2 (en) * 2000-06-19 2002-01-02 GE Medical Systems Global Technology Company LLC Image processing method and apparatus, recording medium, and imaging apparatus
JP2002125130A (en) * 2000-10-13 2002-04-26 Noritsu Koki Co Ltd Image processing unit, image processing method, and recording medium for recording image processing program
US20030161549A1 (en) * 2002-02-26 2003-08-28 Zhichun Lei Contrast enhancement of digital images
WO2003098522A1 (en) * 2002-05-17 2003-11-27 Pfizer Products Inc. Apparatus and method for statistical image analysis
WO2006091983A2 (en) * 2005-02-25 2006-08-31 University Of Florida Research Foundation, Inc. Variable diffusion-time magnetic resonance-based system and method
US20070115518A1 (en) * 2005-11-22 2007-05-24 Beyond Innovation Technology Co., Ltd. Image processing method and apparatus for color enhancement and correction
WO2008154281A2 (en) * 2007-06-13 2008-12-18 Sensors Unlimited, Inc. Method and apparatus for enhancing images
CN101895487A (en) * 2010-07-13 2010-11-24 清华大学 Confidence-based method and device for suppressing noises in channel estimation results
WO2010136584A1 (en) * 2009-05-29 2010-12-02 Institut Telecom-Telecom Paris Tech Method for quantifying the development of diseases involving changes in the volume of bodies, in particular tumours
TWM408516U (en) * 2011-03-04 2011-08-01 Shin Chin Ind Co Ltd Structural improvement of LED fog light
WO2011158135A1 (en) * 2010-06-14 2011-12-22 Koninklijke Philips Electronics N.V. Tissue classification
CN103208116A (en) * 2013-03-20 2013-07-17 西安电子科技大学 Neighborhood-information-based method for segmentation of images with non-uniform gray levels for blurred active contour model
CN103942796A (en) * 2014-04-23 2014-07-23 清华大学 High-precision projector and camera calibration system and method
CN104574417A (en) * 2015-01-27 2015-04-29 中国人民解放军国防科学技术大学 Image edge grey level fluctuation measurement and adaptive detection method
CN105308625A (en) * 2013-06-28 2016-02-03 高通股份有限公司 Deformable expression detector
CN105389811A (en) * 2015-10-30 2016-03-09 吉林大学 Multi-modality medical image processing method based on multilevel threshold segmentation
CN105608676A (en) * 2015-12-23 2016-05-25 浙江宇视科技有限公司 Video image enhancement method and device
CN105654501A (en) * 2016-02-22 2016-06-08 北方工业大学 Self-adaptive image segmentation method based on fuzzy threshold
CN107527329A (en) * 2017-09-19 2017-12-29 重庆邮电大学 A kind of image defogging method based on dark channel prior and Markov random field
CN108022233A (en) * 2016-10-28 2018-05-11 沈阳高精数控智能技术股份有限公司 A kind of edge of work extracting method based on modified Canny operators
CN108510499A (en) * 2018-02-08 2018-09-07 河南师范大学 A kind of carrying out image threshold segmentation method and device based on fuzzy set and Otsu
CN108564094A (en) * 2018-04-24 2018-09-21 河北智霖信息科技有限公司 A kind of Material Identification method based on convolutional neural networks and classifiers combination
CN108875401A (en) * 2018-04-17 2018-11-23 安徽师范大学 A kind of method for secret protection based on improvement KD data tree structure
CN109035249A (en) * 2018-09-10 2018-12-18 东北大学 A kind of parallel global threshold detection method of pipeline fault based on image procossing
CN109102511A (en) * 2018-07-06 2018-12-28 深圳先进技术研究院 A kind of cerebrovascular dividing method, system and electronic equipment
CN109711284A (en) * 2018-12-11 2019-05-03 江苏博墨教育科技有限公司 A kind of test answer sheet system intelligent recognition analysis method
CN109785371A (en) * 2018-12-19 2019-05-21 昆明理工大学 A kind of sun image method for registering based on normalized crosscorrelation and SIFT
CN110070146A (en) * 2019-04-30 2019-07-30 大连海事大学 A kind of screening technique for filter class algorithm
CN110428450A (en) * 2019-08-01 2019-11-08 中国矿业大学 Dimension self-adaption method for tracking target applied to the mobile inspection image of mine laneway

Patent Citations (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06124343A (en) * 1992-06-19 1994-05-06 Toppan Printing Co Ltd Method and device for determining limited color
WO1999006941A2 (en) * 1997-07-31 1999-02-11 University Of California, Berkeley Apparatus and methods for image and signal processing
EP1168244A2 (en) * 2000-06-19 2002-01-02 GE Medical Systems Global Technology Company LLC Image processing method and apparatus, recording medium, and imaging apparatus
JP2002125130A (en) * 2000-10-13 2002-04-26 Noritsu Koki Co Ltd Image processing unit, image processing method, and recording medium for recording image processing program
US20030161549A1 (en) * 2002-02-26 2003-08-28 Zhichun Lei Contrast enhancement of digital images
WO2003098522A1 (en) * 2002-05-17 2003-11-27 Pfizer Products Inc. Apparatus and method for statistical image analysis
WO2006091983A2 (en) * 2005-02-25 2006-08-31 University Of Florida Research Foundation, Inc. Variable diffusion-time magnetic resonance-based system and method
US20070115518A1 (en) * 2005-11-22 2007-05-24 Beyond Innovation Technology Co., Ltd. Image processing method and apparatus for color enhancement and correction
WO2008154281A2 (en) * 2007-06-13 2008-12-18 Sensors Unlimited, Inc. Method and apparatus for enhancing images
WO2010136584A1 (en) * 2009-05-29 2010-12-02 Institut Telecom-Telecom Paris Tech Method for quantifying the development of diseases involving changes in the volume of bodies, in particular tumours
WO2011158135A1 (en) * 2010-06-14 2011-12-22 Koninklijke Philips Electronics N.V. Tissue classification
CN101895487A (en) * 2010-07-13 2010-11-24 清华大学 Confidence-based method and device for suppressing noises in channel estimation results
TWM408516U (en) * 2011-03-04 2011-08-01 Shin Chin Ind Co Ltd Structural improvement of LED fog light
CN103208116A (en) * 2013-03-20 2013-07-17 西安电子科技大学 Neighborhood-information-based method for segmentation of images with non-uniform gray levels for blurred active contour model
CN105308625A (en) * 2013-06-28 2016-02-03 高通股份有限公司 Deformable expression detector
CN103942796A (en) * 2014-04-23 2014-07-23 清华大学 High-precision projector and camera calibration system and method
CN104574417A (en) * 2015-01-27 2015-04-29 中国人民解放军国防科学技术大学 Image edge grey level fluctuation measurement and adaptive detection method
CN105389811A (en) * 2015-10-30 2016-03-09 吉林大学 Multi-modality medical image processing method based on multilevel threshold segmentation
CN105608676A (en) * 2015-12-23 2016-05-25 浙江宇视科技有限公司 Video image enhancement method and device
CN105654501A (en) * 2016-02-22 2016-06-08 北方工业大学 Self-adaptive image segmentation method based on fuzzy threshold
CN108022233A (en) * 2016-10-28 2018-05-11 沈阳高精数控智能技术股份有限公司 A kind of edge of work extracting method based on modified Canny operators
CN107527329A (en) * 2017-09-19 2017-12-29 重庆邮电大学 A kind of image defogging method based on dark channel prior and Markov random field
CN108510499A (en) * 2018-02-08 2018-09-07 河南师范大学 A kind of carrying out image threshold segmentation method and device based on fuzzy set and Otsu
CN108875401A (en) * 2018-04-17 2018-11-23 安徽师范大学 A kind of method for secret protection based on improvement KD data tree structure
CN108564094A (en) * 2018-04-24 2018-09-21 河北智霖信息科技有限公司 A kind of Material Identification method based on convolutional neural networks and classifiers combination
CN109102511A (en) * 2018-07-06 2018-12-28 深圳先进技术研究院 A kind of cerebrovascular dividing method, system and electronic equipment
CN109035249A (en) * 2018-09-10 2018-12-18 东北大学 A kind of parallel global threshold detection method of pipeline fault based on image procossing
CN109711284A (en) * 2018-12-11 2019-05-03 江苏博墨教育科技有限公司 A kind of test answer sheet system intelligent recognition analysis method
CN109785371A (en) * 2018-12-19 2019-05-21 昆明理工大学 A kind of sun image method for registering based on normalized crosscorrelation and SIFT
CN110070146A (en) * 2019-04-30 2019-07-30 大连海事大学 A kind of screening technique for filter class algorithm
CN110428450A (en) * 2019-08-01 2019-11-08 中国矿业大学 Dimension self-adaption method for tracking target applied to the mobile inspection image of mine laneway

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
丁畅等: "图像梯度场双区间均衡化的细节增强", 《电子学报》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113222954A (en) * 2021-05-21 2021-08-06 大连海事大学 Multi-exposure image ghost-free fusion method based on patch alignment under global gradient
CN113222954B (en) * 2021-05-21 2024-03-29 大连海事大学 Multi-exposure image ghost-free fusion method based on global gradient of patch alignment
CN113592750A (en) * 2021-07-30 2021-11-02 成都市晶林科技有限公司 Infrared enhancement method based on gradient histogram
CN113592750B (en) * 2021-07-30 2023-10-20 成都市晶林科技有限公司 Infrared enhancement method based on gradient histogram
CN115049566A (en) * 2022-08-15 2022-09-13 聊城扬帆田一机械有限公司 Intelligent adjusting system for vibration excitation mode of plate compactor
CN115049566B (en) * 2022-08-15 2022-10-25 聊城扬帆田一机械有限公司 Intelligent adjusting system for vibration excitation mode of plate compactor
CN115409745A (en) * 2022-10-31 2022-11-29 深圳市亿康医疗技术有限公司 CT image enhancement method applied to radiotherapy preparation

Similar Documents

Publication Publication Date Title
CN111311525A (en) Image gradient field double-interval equalization algorithm based on histogram probability correction
CN110046673B (en) No-reference tone mapping image quality evaluation method based on multi-feature fusion
Celik Spatial mutual information and PageRank-based contrast enhancement and quality-aware relative contrast measure
CN110599415A (en) Image contrast enhancement implementation method based on local adaptive gamma correction
CN111079740A (en) Image quality evaluation method, electronic device, and computer-readable storage medium
CN110852955B (en) Image enhancement method based on image intensity threshold and adaptive cutting
CN110599439A (en) Image block selection method and image quality evaluation method for training neural network
Lai et al. Improved local histogram equalization with gradient-based weighting process for edge preservation
CN103295191A (en) Multi-scale vision self-adaptation image enhancing method and evaluating method
CN111210395B (en) Retinex underwater image enhancement method based on gray value mapping
CN104063848A (en) Enhancement method and device for low-illumination image
CN109886945B (en) No-reference contrast distortion image quality evaluation method based on contrast enhancement
CN112634238B (en) Attention module-based image quality evaluation method
CN111476744B (en) Underwater image enhancement method based on classification and atmospheric imaging model
CN112950596A (en) Tone mapping omnidirectional image quality evaluation method based on multi-region and multi-layer
CN108280836B (en) Image processing method and device
CN110910347B (en) Tone mapping image non-reference quality evaluation method based on image segmentation
WO2020107308A1 (en) Low-light-level image rapid enhancement method and apparatus based on retinex
CN111667509B (en) Automatic tracking method and system for moving target under condition that target and background colors are similar
CN112950479B (en) Image gray level region stretching algorithm
CN115660994B (en) Image enhancement method based on regional least square estimation
CN113012079B (en) Low-brightness vehicle bottom image enhancement method and device and storage medium
CN116797468A (en) Low-light image enhancement method based on self-calibration depth curve estimation of soft-edge reconstruction
CN113781368B (en) Infrared imaging device based on local information entropy
CN112348754B (en) Low-illumination color image enhancement method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200619