Next Article in Journal
Signal Timing Optimization Model Based on Bus Priority
Previous Article in Journal
Reliability Dynamic Analysis by Fault Trees and Binary Decision Diagrams
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Mutual Information Loss in Pyramidal Image Processing †

Department of Electrical and Computer Engineering, University of California, Santa Barbara, CA 93106-9560, USA
*
Author to whom correspondence should be addressed.
This paper is an extended paper presented at the Multimedia Information Processing and Research conference in San Jose, CA, USA, in April 2019.
These authors contributed equally to this work.
Information 2020, 11(6), 322; https://doi.org/10.3390/info11060322
Submission received: 19 May 2020 / Revised: 2 June 2020 / Accepted: 4 June 2020 / Published: 15 June 2020

Abstract

:
Gaussian and Laplacian pyramids have long been important for image analysis and compression. More recently, multiresolution pyramids have become an important component of machine learning and deep learning for image analysis and image recognition. Constructing Gaussian and Laplacian pyramids consists of a series of filtering, decimation, and differencing operations, and the quality indicator is usually mean squared reconstruction error in comparison to the original image. We present a new characterization of the information loss in a Gaussian pyramid in terms of the change in mutual information. More specifically, we show that one half the log ratio of entropy powers between two stages in a Gaussian pyramid is equal to the difference in mutual information between these two stages. We show that this relationship holds for a wide variety of probability distributions and present several examples of analyzing Gaussian and Laplacian pyramids for different images.

1. Introduction

Gaussian and Laplacian pyramids allow images to be viewed, stored, analyzed, and compressed at different levels of resolution, thus minimizing browsing time, required storage capacity, and required transmission capacity, in addition to facilitating comparisons of images across levels of detail [1,2,3]. Different resolution pyramids play a major role in image and speech recognition in machine learning and deep learning [4,5].
The formation of Gaussian and Laplacian pyramids requires the signal processing steps of filtering/averaging, decimation and interpolation. Interestingly, the filters and the interpolation steps are usually left unspecified, and in applications such as image storage and compression, the performance of the various steps in the Gaussian pyramid is primarily based on mean squared error. The cascade of signal processing steps performed in obtaining a Gaussian pyramid forms a Markov chain, and as such, satisfies the Data Processing Inequality from information theory. Based on this fact, we utilize the quantity entropy rate power from information theory and introduce a new performance indicator, the log ratio of entropy powers, to characterize the loss in mutual information at each signal processing stage in forming the Gaussian pyramid.
In particular, we show that the log of the ratio of entropy powers between two signal processing steps is equivalent to the difference between the differential entropy of the two stages and equal to twice the difference in the mutual information between the two stages. However, in order to calculate the entropy power, we need an expression for the differential entropy, but the accurate computation of the differential entropy can be quite difficult and requires considerable care [6].
We show that for i.i.d. Gaussian and Laplacian distributions, and note that for logistic, uniform, and triangular distributions, the mean squared estimation error can replace the entropy power in the log ratio of entropy power expression [7]. As a result, the log ratio of entropy power and the difference in differential entropies and mutual informations can be much more easily calculated.
Note that the mean squared error and the entropy power are only equal when the distribution is Gaussian, and that the entropy power is the smallest variance possible for a random variable with the same differential entropy. However, if the distributions in the log ratio of the entropy powers are the same, then the constant multiplier of the mean squared error in the expressions for entropy power will cancel out and only the mean squared errors are needed in the ratio. We also note that for the Cauchy distribution, which has an undefined variance, the log ratio of entropy powers equals the log ratio of the squared Cauchy distribution parameters.
The concept of entropy power and entropy rate power are reviewed in Section 2. Section 3 sets up the basic cascade signal processing problem being analyzed, the well known inequalities for mutual information in the signal processing chain are stated, and the inequalities that follow from the results in Section 2 are given. The log ratio of entropy powers is developed in Section 4, explicitly stating its relationship to the changes in mutual information as a signal progresses through the signal processing chain, and wherein a discussion of calculating entropy power and log ratio of entropy powers is presented. Section 5 provides results using the log ratio of entropy powers to characterize the mutual information loss in bits/pixel for Gaussian and Laplacian image pyramids. In Section 6 we compare log ratio of entropy powers to a direct calculation of the difference in mutual information. Section 7 contains a discussion of the results and conclusions.
This paper is an expansion and extension of the conference paper presented in 2019 [8] with expanded details of the examples and more extensive analyses of the results.

2. Entropy Power/Entropy Rate Power

Given a random variable X with probability density function p ( x ) , we can write the differential entropy
h ( X ) = p ( x ) log p ( x ) d x
where the variance v a r ( X ) = σ 2 . Since the Gaussian distribution has the maximum differential entropy of any distribution with mean zero and variance σ 2 [9],
h ( X ) 1 2 log 2 π e σ 2
from which we obtain
Q = 1 ( 2 π e ) exp 2 h ( X ) σ 2
where Q was defined by Shannon to be the entropy power associated with the differential entropy of the original random variable [10]. In addition to defining entropy power, this equation shows that the entropy power is the minimum variance that can be associated with the not-necessarily-Gaussian differential entropy h ( X ) .
If we let X be a stationary continuous-valued random process with samples X n = [ X i , i = 1 , 2 , , n ] , then the differential entropy rate of the process X is [9,11]
h ¯ = lim N 1 N h ( X 1 , , X N )
which is the long term average differential entropy in bits/symbol for the sequence being studied. An alternative definition of differential entropy rate is
h ¯ = lim N h ( X N | X N 1 , , X 1 )
These two definitions are equal for stationary processes and we drop the overbar notation and use h = h ¯ . Using the entropy rate in the definition of entropy power yields the nomenclature entropy rate power.

3. Cascaded Signal Processing

Figure 1 shows a cascade of N signal processing operations with the Estimator blocks at the output of each stage as studied by Messerschmitt [12]. He used the conditional mean at each stage and the corresponding conditional mean squared errors to obtain a representation of the distortion contributed by each stage. We analyze the cascade connection in terms of information theoretic quantities, such as mutual information, differential entropy, and entropy rate power. Similar to Messerschmitt, we consider systems that have no hidden connections between stages other than those explicitly shown. Therefore, we conclude directly from the Data Processing Inequality [9] that
I ( X ; Y 1 ) I ( X ; Y N 1 ) I ( X ; Y N ) I ( X ; X ^ )
Since I ( X ; Y n ) = h ( X ) h ( X | Y n ) , it follows from Equation (6) that
h ( X | Y 1 ) h ( X | Y N 1 ) h ( X | Y N ) h ( X )
For the optimal estimators at each stage, the basic Data Processing Inequality also yields I ( X ; Y n ) I ( X ; X ^ n ) and thus h ( X | Y n ) h ( X | X ^ n ) .
These are the fundamental results that additional processing cannot increase the mutual information.
Now we notice that the series of inequalities in Equation (7) along with the entropy power expression in Equation (3) gives us the series of inequalities in terms of entropy power at each stage in the cascaded signal processing operations
Q X | Y 1 Q X | Y N 1 Q X | Y N Q X
We can also write that
Q X | Y n Q X | X ^ n
In the context of Equation (8), the notation Q X | Y n denotes the minimum variance when reconstructing an approximation to X given the sequence at the output of stage n in the chain.

4. Log Ratio of Entropy Powers

We can use the definition of the entropy power in Equation (3) to express the logarithm of the ratio of two entropy powers in terms of their respective differential entropies as
log Q X Q Y = 2 [ h ( X ) h ( Y ) ]
We can write a conditional version of Equation (3) as
Q X | Y n = 1 ( 2 π e ) exp 2 h ( X | Y n ) V a r ( X | Y n )
and from which we can express Equation (10) in terms of the entropy powers at successive stages in the signal processing chain as
1 2 log Q X | Y n Q X | Y n 1 = h ( X | Y n ) h ( X | Y n 1 )
If we add and subtract h ( X ) to the right hand side of Equation (12), we then obtain an expression in terms of the difference in mutual information between the two stages as
1 2 log Q X | Y n Q X | Y n 1 = I ( X ; Y n 1 ) I ( X ; Y n )
From the series of inequalities on the entropy power in Equation (8), we know that both expressions in Equations (12) and (13) are greater than or equal to zero.
These results are from [13] and extend the Data Processing Inequality by providing a new characterization of the information loss between stages in terms of the entropy powers of the two stages. Since differential entropies are difficult to calculate, it would be particularly useful if we could obtain expressions for the entropy power at two stages and then use Equations (12) and (13) to find the difference in differential entropy and mutual information between these stages.
More explicitly, we are interested in studying the change in the differential entropy brought on by different signal processing operations by investigating the log ratio of entropy powers. However, in order to calculate the entropy power, we need an expression for the differential entropy! Thus, why do we need the entropy power?
First, entropy power may be easy to calculate in some instances, as we show later. Second, the accurate computation of the differential entropy can be quite difficult and requires considerable care [6,14]. Generally, the approach is to estimate the probability density function (pdf) and then use the resulting estimate of the pdf in Equation (1) and numerically evaluate the integral.
Depending on the method used to estimate the probability density, the operation requires selecting bin widths, a window, or a suitable kernel [6], all of which must be done iteratively to determine when the estimate is sufficiently accurate. The mutual information is another quantity of interest, as we shall see, and the estimate of mutual information also requires multiple steps and approximations [14,15,16]. These statements are particularly true when the signals are not i.i.d. and have unknown correlation.
In the following we highlight several cases where Equation (10) holds with equality when the entropy powers are replaced by the corresponding variances. The Gaussian and Laplacian distributions often appear in studies of speech processing and other signal processing applications [17,18,19], so we show that substituting the variances for entropy powers in the log ratio of entropy powers for these distributions satisfies Equations (10), (12), and (13) exactly.
Interestingly, using mean squared errors or variances in Equation (10) is accurate for many other distributions as well. It is straightforward to show that Equation (10) holds with equality when the entropy powers are replaced by mean squared error for the logistic, uniform, and triangular distributions as well. Further, the entropy powers can be replaced by the ratio of the squared parameters for the Cauchy distribution.
Therefore, the satisfaction of Equation (10) with equality occurs not just in one or two special cases. The key points are first that the entropy power is the smallest variance that can be associated with a given differential entropy, so the entropy power is some fraction of the mean squared error for a given differential entropy. Second Equation (10) utilizes the ratio of two entropy powers, and thus, if the distributions corresponding to the entropy powers in the ratio are the same, the scaling constant (fraction) multiplying the two variances cancels out. So, we are not saying that the mean squared errors equal the entropy powers in any case but for Gaussian distributions.
It is the new quantity, the log ratio of entropy powers that enables the use of the mean squared error to calculate the loss in mutual information at each stage [13].

4.1. Gaussian Distributions

For two i.i.d. Gaussian distributions with zero mean and variances σ X 2 and σ Y 2 , we have directly that Q X = σ X 2 and Q Y = σ Y 2 , so
1 2 log Q X Q Y = 1 2 log σ X 2 σ Y 2 = [ h ( X ) h ( Y ) ]
which satisfies Equation (10) exactly. Of course, since the Gaussian distribution is the basis for the definition of entropy power, this result is not surprising.

4.2. Laplacian Distributions

For two i.i.d. Laplacian distributions with parameters λ X and λ Y [20], their corresponding entropy powers Q X = 2 e λ X 2 / π and Q Y = 2 e λ Y 2 / π , respectively, so we form
1 2 log Q X Q Y = 1 2 log λ X 2 λ Y 2 = [ h ( X ) h ( Y ) ] .
since h ( X ) = ln ( 2 e λ X ) so the Laplacian distribution also satisfies Equation (10) exactly [7]. We thus conclude that we can substitute the variance, or for zero mean Laplacian distributions, the mean squared value for the entropy power in Equation (10) and the result is the difference in differential entropies [7].

5. Pyramidal Image Processing

Pyramidal decimation to several different levels is fundamental to multiresolution image processing and compression and is a common first step in many machine learning algorithms for image recognition [21]. To illustrate the utility of the new log ratio of entropy powers expression, we consider an experiment conducted on several different images. We examine the results of passing four different images, Campus, News1, News2, and City, shown in Figure 2, through the given pyramidal signal processing chain. The sequence of image processing operations is illustrated in Figure 3 for the Campus image.
We start with an original 720 by 1280 gray level image (called Image X1) to which we apply Gaussian blurring to produce Image X2. We then downsample the Gaussian blurred image X2 by a factor of 2, as indicated in Figure 4, to generate a 360 by 640 image that is upsampled using nearest neighbor interpolation, as illustrated in Figure 5, to generate image X3. We compare both sides of Equation (13), but where Q X | X 2 is replaced with M S E ( X 1 , X 2 ) and Q X | X 3 is replaced with M S E ( X 1 , X 3 ) . We emphasize that this substitution is known from Section 4 to always be possible for i.i.d. Gaussian, Laplacian, Logistic, triangular, and uniform distributions, as long as both quantities in the ratio have the same distribution.
Table 1 shows the mutual information loss with respect to the original image X 1 in going from image X 2 to image X 3 in the Gaussian pyramid for the City Image. Based on 1 2 log M S E ( X 1 , X 3 ) M S E ( X 1 , X 2 ) , we see that the simple operations of Gaussian blurring, downsampling, and then upsampling have produced a loss of about 0.2 bits/pixel for the 720 × 1280 resolution that increases to about 0.3 bits/pixel for the 360 × 640 and 180 × 320 images. As shown in Table 2, Table 3 and Table 4, for the 720 × 1280 resolution, the loss in the first layer of the Gaussian Pyramid is 0.3366 bits/pixel for News1, 0.3507 bits/pixel for News2, and 0.1661 bits/pixel for Campus, respectively. The losses in mutual information for the Gaussian Pyramid for the lower resolutions are also shown in the tables.
We thus have a characterization of the loss in mutual information in a Gaussian pyramid decomposition of images that is easily calculated and is valid for a wide range of distributions. Therefore, other filtering, decimation, and interpolation methods thus can be easily compared in terms of the loss in mutual information produced in forming the Gaussian pyramid.
Table 1 shows results for the difference images in the Laplacian pyramid for the City image. We see that the mutual information loss is substantially higher than for the Gaussian pyramids for all images. This intuitively makes sense, but we note that the differencing operation means that the Markov chain property and the data processing inequality are no longer satisfied. We discuss the Laplacian pyramid results in Section 6.1.

6. Comparison to Direct Calculation

Table 1, Table 2, Table 3 and Table 4 also show the difference in mutual information I ( X 1 ; X 2 ) I ( X 1 ; X 3 ) , where the mutual informations are determined by estimating the probability density functions needed using histograms of the image pixels and then using these results in the standard expression for the mutual information as if the pixels were i.i.d. Since the images certainly have spatial correlations, this is clearly just an approximation.
In any event, the quantity I ( X 1 ; X 2 ) I ( X 1 ; X 3 ) is 0.2006, 0.2077, 0.2667, and 0.1462 bits/pixel for the City, News1, News2, and Campus images (720 × 1280 resolution), respectively. Comparing to the loss in mutual information obtained from the expression 1 2 log M S E ( X 1 , X 3 ) M S E ( X 1 , X 2 ) , we see that the two quantities agree well for the City image and are close for the Campus image, but are significantly different for News1 and News2. It is thus of interest to investigate these differences further.
Specifically, we compare 1 2 log M S E ( X 1 , X 3 ) M S E ( X 1 , X 2 ) with I ( X 1 ; X 2 ) I ( X 1 ; X 3 ) to determine when Equation (13) is satisfied with equality, viz, when
1 2 log M S E ( X 1 , X 3 ) M S E ( X 1 , X 2 ) = I ( X 1 ; X 2 ) I ( X 1 ; X 3 )
In Table 5, we tabulate a normalized comparison between I ( X 1 ; X 2 ) I ( X 1 ; X 3 ) and 1 2 log M S E ( X 1 , X 3 ) M S E ( X 1 , X 2 ) , when normalized by the latter. From Table 5, we see that for the 720 × 1280 City image, Equation (16) is satisfied with near equality, less than 1% error, and for the Campus image, the one half log ratio of entropy powers is within 12% of the difference in the mutual information between the two stages. For the 720 × 1280 News1 this discrepancy is 38.3% and for News2 the difference is 24%. These trends are fairly similar across all three resolutions.
Since we know that the one-half the log ratio of entropy powers equals one half the log ratio of mean squared errors when the distributions of the two quantities being compared are the same for i.i.d. Gaussian, Laplacian, Logistic, triangular, and uniform distributions, we are led to investigate the histograms of the four images to analyze these discrepancies. For the Gaussian and Laplacian distributions, we conducted Kolmogorov-Smirnov (K-S) goodness-of-fit tests for the four original images at all three resolutions. The results are shown in Figure 6, Figure 7, Figure 8 and Figure 9.
The K-S statistic that we use is the distance of the cumulative distribution function from the hypothesized distribution given by
D = sup x | F n ( x ) F ( x ) |
where F n ( x ) is the distribution being tested, after correction for mean and variance, and F ( x ) is the distribution being hypothesized. For this measure, a smaller value indicates a better match to the hypothesis.
For the News1 image results in Figure 6, the K-S statistic values are nearly the same for the Gaussian Pyramid for all three resolutions, but for the Laplacian Pyramid difference image the K-S statistic for a Gaussian distribution increases and becomes larger than the K-S value for a Laplacian distribution, suggesting that the difference image is more Laplacian than Gaussian. For the News2 image results in Figure 7, the behavior is similar although the K-S statistic for both the Gaussian and Laplacian distribution increase substantially for the difference image, and that the values of the K-S statistics in Figure 7 for the Gaussian pyramid are smaller than for News1 but the K-S values are very nearly the same as News1 for the difference image.
The characteristics of the K-S test values start to change when it comes to the Campus and City images as shown in Figure 8 and Figure 9. The magnitude of the K-S test statistic drops for the Gaussian distribution for the Campus image and is significantly lower for the Gaussian pyramid resolutions than the Laplacian K-S statistic. Indicating that the Campus image is more Gaussian than Laplacian. For the difference image, the K-S statistic for the Gaussian distribution increases and is larger than the K-S statistic for the Laplacian distribution. For the City image results in Figure 9, the K-S statistics for both the Gaussian and Laplacian distributions become smaller and the K-S statistic for the Gaussian pyramid images indicates that these images have a Gaussian distribution. For the difference image, again the K-S statistics for the Gaussian and Laplacian distributions change places with the K-S statistic suggesting that the difference image is more Laplacian than Gaussian.
Before applying these Kolmogorov-Smirnov goodness-of-fit test results to the analysis of Table 5, it is perhaps instructive to show the histograms and cumulative distribution functions of the four original 720 by 1080 resolution images in relation to the Gaussian density and Gaussian cumulative distribution as shown in Figure 10, Figure 11, Figure 12 and Figure 13, for the four images. Visually it appears evident that News1 and News2 are not Gaussianly-distributed (nor Laplacian for that matter) and that the Campus image, while having multiple peaks in its histogram, has a more concentrated density that News1 and News1. The City image, however, appears remarkably Gaussian, at least visually.
Returning to an analysis of the results shown in Table 5, we see that for the Gaussian pyramid, the accuracy of the approximation of the change in mutual information of the processing in going from Image X 2 to X 3 is best for the City image, which is as it should be since we know that the expression in Equation (16) should hold exactly for a Gaussian distributed sequence. The accuracy of the approximation to Equation (16) is progessively poorer for the Campus, News2, and News1 images in that order. More explicitly, for the Campus image, we see that it tests to be close to Gaussian, and so again the close approximation shown in the table is to be expected. Neither the News1 or News2 images test to be reliably Gaussian or Laplacian and so at least for these two distributions, the relatively poor agreement between the two quantities in the table is as to be expected.
We note that the approximation for the Laplacian pyramid is better in the reverse order to the Gaussian pyramid analyses just presented. These results are investigated further in the next section.

6.1. Laplacian Pyramid Analysis

Table 1 shows results for the difference images in the Laplacian pyramid for the City image. While the results are striking, as noted earlier, the differencing operation means that the Markov chain property and the data processing inequality are no longer satisfied. While the data processing inequality does not hold, Equations (10), (14), and (15) can hold if the distributions in the ratio are the same.
The results in Table 1 contrast comparing X 1 to X 3 in relation to a comparison between X 1 and X 4 using the quantity 1 2 log M S E ( X 1 , X 4 ) M S E ( X 1 , X 3 ) . We see from the table for the City image that the Laplacian difference image formed by subtracting X 3 from X 1 has a loss of mutual information of 2.8 bits/pixel for the largest resolution and a loss of slightly greater than 3 bits/pixel for the smaller images. The same result for the News1 image in Table 2 shows a loss of about 3.4 bits/pixel for the 720 × 1280 resolution. While one would expect the loss in going from X 3 to the difference image X 4 to entail a significant loss of information, here we have been able to quantify the loss in mutual information using an easily calculated quantity.
As shown in Table 2 and Table 4 for the other images studied, News2 and Campus, 1 2 log M S E ( X 1 , X 4 ) M S E ( X 1 , X 3 ) = I ( X 1 ; X 3 ) I ( X 1 ; X 4 ) reveals an information loss of about 5.1 bits/pixel and 2.9 bits/pixel, respectively, in the Laplacian Pyramid for the 720 × 1280 resolution.
Intriguingly, the approximation accuracy for the Laplacian pyramid shown in Table 5 is much better for the image News1 than for the other images, and the accuracy of the approximation for the Laplacian pyramid difference image for the City image is the poorest. To analyze this behavior, we consider the Gaussian and Laplacian K-S test results for the four original 720 by 1080 resolution images X 1 in Figure 14 and compare to the 720 by 1080 resolution Laplacian pyramid difference images X 4 in Figure 15.
The entropy powers in Equation (13) can be replaced with the minimum mean squared estimation errors only if the distributions of X 1 and X 4 are the same. An inspection of Figure 14 and Figure 15 implies that this is not true. That is, we see from the K-S test results in Figure 15 that while all of the difference images test to be more Laplacian than Gaussian, the difference image for the City image has the smallest K-S statistic of all the images for the Laplacian distribution hypothesis. At the same time, from Figure 14, all of the four test images are closer to the Gaussian hypothesis distribution than the Laplacian, and the City image is the closest to a Gaussian distribution of them all. Hence, the poor approximations shown in Table 5 provided by the log ratio expression for the City image (and also for the News2 and Campus images) can be explained by the differing distributions of X 1 and X 4 .
This analysis does not explain the very positive result shown for the Laplacian pyramid of News1 in Table 5. We conjecture that this unexpected result, namely that the approximation in Table 5 for the Laplacian pyramid is much better for the image News1 than for the other images, is the consequence of inherent correlation between the Laplacian pyramid image X 4 for News1 and the original News1 image. We elaborate on this idea as follows. The comparisons in the approximation table, namely Table 5, are with respect to the difference in mutual information between X 1 and X 3 and the mutual information between X 1 and X 4 . Generally, since X 4 is a difference image, it is expected that the mutual information between X 1 and X 4 should be less than the mutual information between X 1 and X 3 . For the City image the differencing does not enhance the similarities between X 1 and X 4 , whereas for the News1 image the difference enhances the strong edges present. See Figure 16. From these figures of the difference images, it is evident that all are correlated to some degree with the originals, but the correlation between X 1 and X 4 is considerably larger for the News1 image than for the City image and the other two images.
To further elaborate on the effect of the correlation, if X 1 , X 3 , and X 4 are Gaussian (which for an i.i.d. assumption, they are not), a well known result yields that
1 2 log M S E ( X 1 , X 4 ) M S E ( X 1 , X 3 ) = 1 2 log ( 1 ρ 2 ( X 1 , X 4 ) ) ( 1 ρ 2 ( X 1 , X 3 ) )
which is in fact I ( X 1 ; X 3 ) I ( X 1 ; X 4 ) . Thus, the fact that X 3 is more correlated with X 1 than X 4 for the City image, makes the denominator of Equation (18) smaller and the numerator larger, yielding the results shown in Table 5. Whereas for the News1 image, the differencing enhances the correlation between X 1 and X 4 and thus reduces the numerator in Equation (18).
A more detailed analysis of the mutual information loss in Laplacian pyramids is left for further study.

7. Discussion and Conclusions

The formation of Gaussian and Laplacian pyramids requires the signal processing steps of filtering/averaging, decimation and interpolation. The cascade of signal processing steps performed in obtaining a Gaussian pyramid forms a Markov chain, and therefore satisfies the Data Processing Inequality from information theory. This fact allows the introduction of a new performance indicator, the log ratio of entropy powers, to characterize the loss in mutual information at each signal processing stage in the Gaussian pyramid. Further, for i.i.d. Gaussian, Laplacian, logistic, uniform, and triangular distributions, the mean squared estimation error can replace the entropy power in the log ratio of entropy power expression as long as the two distributions in the ratio are the same. Therefore, the difference in differential entropies and mutual informations can be much more easily calculated using the log ratio of entropy powers in the chain.
The utility of these theoretical results is tested by comparing the images produced after the filtering stage and the images after decimation and upsampling with the original image for four different images. It is observed that under the correct assumptions, the log ratio of entropy powers captures the loss in mutual information in progessing through the filtering, decimation, and upsampling sequence. It is also seen that the images in the Laplacian pyramid do not form a Markov chain and therefore do not exhibit the expected behavior in the log ratio of entropy powers and mutual information loss.
There are two caveats to be stated here. First, the mutual informations for I ( X 1 ; X 2 ) I ( X 1 ; X 3 ) are calculated under an i.i.d. assumption as noted earlier. Further, the Kolmogorov-Smirnov goodness-of-fit tests are also for i.i.d. distributions. However, it is our conjecture that one half the log ratio of mean squared errors is perhaps a more accurate estimate of the difference in mutual informations when the underlying theoretical assumptions are satisfied than the calculated values of the difference in mutual informations because of the i.i.d. assumptions in obtaining the mutual informations directly from the first order histograms.

Author Contributions

Conceptualization, J.G.; data curation, H.O.; formal analysis, J.G.; software, H.O.; writing — original draft, J.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
K-SKolmogorov-Smirnov
MSEMean squared error
QEntropy power

References

  1. Rabbani, M.; Jones, P.W. Digital Image Compression Techniques; SPIE Press: Bellingham, WA, USA, 1991; Volume 7. [Google Scholar]
  2. Akansu, A.N.; Haddad, P.A.; Haddad, R.A.; Haddad, P.R. Multiresolution Signal Decomposition: Transforms, Subbands, and Wavelets; Academic Press: San Diego, CA, USA, 2001. [Google Scholar]
  3. Vetterli, M.; Kovacevic, J. Wavelets and Subband Coding; Prentice-Hall: Englewood Cliffs, NJ, USA, 1995. [Google Scholar]
  4. Yang, J.; Yu, K.; Gong, Y.; Huang, T. Linear spatial pyramid matching using sparse coding for image classification. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Miami, FL, USA, 20–25 June 2009; pp. 1794–1801. [Google Scholar]
  5. Ogunfunmi, T.; Ramachandran, R.P.; Togneri, R.; Zhao, Y.; Xia, X. A primer on deep learning architectures and applications in speech processing. Circuits Syst. Signal Process. 2019, 38, 3406–3432. [Google Scholar] [CrossRef]
  6. Silverman, B.W. Density Estimation for Statistics and Data Analysis; Routledge: Boca Raton, FL, USA, 2018. [Google Scholar]
  7. Gibson, J.D. Entropy Power, Autoregressive Models, and Mutual Information. Entropy 2018, 20, 750. [Google Scholar] [CrossRef] [Green Version]
  8. Gibson, J.D.; Oh, H. Characterizing Mutual Information Loss in Pyramidal Image Processing Structures. In Proceedings of the IEEE International Conference on Multimedia Information Processing and Retrieval, San Jose, CA, USA, 28–30 March 2019; pp. 1–6. [Google Scholar]
  9. Cover, T.M.; Thomas, J.A. Elements of Information Theory; Wiley-Interscience: Hoboken, NJ, USA, 2006. [Google Scholar]
  10. Shannon, C.E. A mathematical theory of communication. Bell Syst. Tech. J. 1948, 27, 379–423. [Google Scholar] [CrossRef] [Green Version]
  11. El Gamal, A.; Kim, Y.H. Network Information Theory; Cambridge University Press: Cambridge, UK, 2011. [Google Scholar]
  12. Messerschmitt, D.G. Accumulation of Distortion in tandem Communication links. IEEE Trans. Inf. Theory 1979, IT-25, 692–698. [Google Scholar] [CrossRef]
  13. Gibson, J.D. Log Ratio of Entropy Powers. In Proceedings of the UCSD Information Theory and Application Workshop, San Diego, CA, USA, 11–16 February 2018. [Google Scholar]
  14. Xiong, W.; Faes, L.; Ivanov, P.C. Entropy measures, entropy estimators, and their performance in quantifying complex dynamics: Effects of artifacts, nonstationarity, and long-range correlations. Phys. Rev. E 2017, 95, 062114. [Google Scholar] [CrossRef] [Green Version]
  15. Darbellay, G.A.; Vajda, I. Estimation of the information by an adaptive partitioning of the observation space. IEEE Trans. Inf. Theory 1999, 45, 1315–1321. [Google Scholar] [CrossRef] [Green Version]
  16. Hudson, J.E. Signal Processing Using Mutual Information. IEEE Signal Process. Mag. 2006, 23, 50–54. [Google Scholar] [CrossRef]
  17. Rabiner, L.R.; Schafer, R.W. Digital Processing of Speech Signals; Pearson: New York, NY, USA, 2011. [Google Scholar]
  18. Chu, W.C. Speech Coding Algorithms; Wiley: Hoboken, NJ, USA, 2003. [Google Scholar]
  19. Gray, R.M. Linear Predictive Coding and the Internet Protocol; NOW: Hanover, MA, USA, 2010. [Google Scholar]
  20. Shynk, J.J. Probability, Random Variables, and Random Processes: Theory and Signal Processing Applications; John Wiley & Sons: Englewood Cliffs, NJ, USA, 2012. [Google Scholar]
  21. Grauman, K.; Darrell, T. The Pyramid Match Kernel: Efficient Learning with Sets of features. J. Mach. Learn.Res. 2007, 8, 725–760. [Google Scholar]
Figure 1. N-Link System Block Diagram (Adapted from [12]).
Figure 1. N-Link System Block Diagram (Adapted from [12]).
Information 11 00322 g001
Figure 2. News1, News2, Campus, and City Images.
Figure 2. News1, News2, Campus, and City Images.
Information 11 00322 g002
Figure 3. Image Processing Pyramid Level 1.
Figure 3. Image Processing Pyramid Level 1.
Information 11 00322 g003
Figure 4. Downsampling Operation.
Figure 4. Downsampling Operation.
Information 11 00322 g004
Figure 5. UPsampling Operation.
Figure 5. UPsampling Operation.
Information 11 00322 g005
Figure 6. Kolmogorov-Smirnov Test Statistics for News1.
Figure 6. Kolmogorov-Smirnov Test Statistics for News1.
Information 11 00322 g006
Figure 7. Kolmogorov-Smirnov Test Statistics for News2.
Figure 7. Kolmogorov-Smirnov Test Statistics for News2.
Information 11 00322 g007
Figure 8. Kolmogorov-Smirnov Test Statistics for Campus.
Figure 8. Kolmogorov-Smirnov Test Statistics for Campus.
Information 11 00322 g008
Figure 9. Kolmogorov-Smirnov Test Statistics for City.
Figure 9. Kolmogorov-Smirnov Test Statistics for City.
Information 11 00322 g009
Figure 10. Histogram and Cumulative Distribution for News1.
Figure 10. Histogram and Cumulative Distribution for News1.
Information 11 00322 g010
Figure 11. Histogram and Cumulative Distribution for News2.
Figure 11. Histogram and Cumulative Distribution for News2.
Information 11 00322 g011
Figure 12. Histogram and Cumulative Distribution for Campus.
Figure 12. Histogram and Cumulative Distribution for Campus.
Information 11 00322 g012
Figure 13. Histogram and Cumulative Distribution for City.
Figure 13. Histogram and Cumulative Distribution for City.
Information 11 00322 g013
Figure 14. Kolmogorov-Smirnov Test Statistics for X1.
Figure 14. Kolmogorov-Smirnov Test Statistics for X1.
Information 11 00322 g014
Figure 15. Kolmogorov-Smirnov Test Statistics for X4.
Figure 15. Kolmogorov-Smirnov Test Statistics for X4.
Information 11 00322 g015
Figure 16. Level1 Difference Images for Laplacian Pyramids (a) News1, (b) News2, (c) Campus, (d) City.
Figure 16. Level1 Difference Images for Laplacian Pyramids (a) News1, (b) News2, (c) Campus, (d) City.
Information 11 00322 g016
Table 1. Mutual Information Loss for the City Image: P 1 = I ( X 1 ; A ) I ( X 1 ; B ) and P 2 = 1 2 log M S E ( X 1 , B ) M S E ( X 1 , A ) ; A = X 2 and B = X 3 for Gaussian Pyramid and A = X 3 and B = X 4 for Laplacian Pyramid.
Table 1. Mutual Information Loss for the City Image: P 1 = I ( X 1 ; A ) I ( X 1 ; B ) and P 2 = 1 2 log M S E ( X 1 , B ) M S E ( X 1 , A ) ; A = X 2 and B = X 3 for Gaussian Pyramid and A = X 3 and B = X 4 for Laplacian Pyramid.
ResolutionGaussian PyramidLaplacian Pyramid
PixelsP1P2P1P2
720 × 12800.20060.19891.20022.8224
360 × 6400.30830.28811.27823.1357
180 × 3200.28840.27031.06283.1638
Table 2. Mutual Information Loss for the News1 Image: P 1 = I ( X 1 ; A ) I ( X 1 ; B ) and P 2 = 1 2 log M S E ( X 1 , B ) M S E ( X 1 , A ) ; A = X 2 and B = X 3 for Gaussian Pyramid and A = X 3 and B = X 4 for Laplacian Pyramid.
Table 2. Mutual Information Loss for the News1 Image: P 1 = I ( X 1 ; A ) I ( X 1 ; B ) and P 2 = 1 2 log M S E ( X 1 , B ) M S E ( X 1 , A ) ; A = X 2 and B = X 3 for Gaussian Pyramid and A = X 3 and B = X 4 for Laplacian Pyramid.
ResolutionGaussian PyramidLaplacian Pyramid
PixelsP1P2P1P2
720 × 12800.20770.33663.41453.3883
360 × 6400.29570.42373.20723.1685
180 × 3200.25530.37602.59552.786
Table 3. Mutual Information Loss for the News2 Image: P 1 = I ( X 1 ; A ) I ( X 1 ; B ) and P 2 = 1 2 log M S E ( X 1 , B ) M S E ( X 1 , A ) ; A = X 2 and B = X 3 for Gaussian Pyramid and A = X 3 and B = X 4 for Laplacian Pyramid.
Table 3. Mutual Information Loss for the News2 Image: P 1 = I ( X 1 ; A ) I ( X 1 ; B ) and P 2 = 1 2 log M S E ( X 1 , B ) M S E ( X 1 , A ) ; A = X 2 and B = X 3 for Gaussian Pyramid and A = X 3 and B = X 4 for Laplacian Pyramid.
ResolutionGaussian PyramidLaplacian Pyramid
PixelsP1P2P1P2
720 × 12800.26670.35074.07865.1496
360 × 6400.50120.37643.87454.9123
180 × 3200.50480.33983.32944.7132
Table 4. Mutual Information Loss for the Campus Image: P 1 = I ( X 1 ; A ) I ( X 1 ; B ) and P 2 = 1 2 log M S E ( X 1 , B ) M S E ( X 1 , A ) ; A = X 2 and B = X 3 for Gaussian Pyramid and A = X 3 and B = X 4 for Laplacian Pyramid.
Table 4. Mutual Information Loss for the Campus Image: P 1 = I ( X 1 ; A ) I ( X 1 ; B ) and P 2 = 1 2 log M S E ( X 1 , B ) M S E ( X 1 , A ) ; A = X 2 and B = X 3 for Gaussian Pyramid and A = X 3 and B = X 4 for Laplacian Pyramid.
ResolutionGaussian PyramidLaplacian Pyramid
PixelsP1P2P1P2
720 × 12800.14620.16611.93482.8614
360 × 6400.21110.24712.45193.3809
180 × 3200.23780.28362.54943.5067
Table 5. Approximation Error : Per Cent Error = | P 2 P 1 | P 2 × 100 where P 1 = I ( X 1 ; A ) I ( X 1 ; B ) and P 2 = 1 2 log M S E ( X 1 , B ) M S E ( X 1 , A ) ; A = X 2 and B = X 3 for Gaussian Pyramid and A = X 3 and B = X 4 for Laplacian Pyramid.
Table 5. Approximation Error : Per Cent Error = | P 2 P 1 | P 2 × 100 where P 1 = I ( X 1 ; A ) I ( X 1 ; B ) and P 2 = 1 2 log M S E ( X 1 , B ) M S E ( X 1 , A ) ; A = X 2 and B = X 3 for Gaussian Pyramid and A = X 3 and B = X 4 for Laplacian Pyramid.
News1News2CampusCity
ResolutionGaussianLaplacianGaussianLaplacianGaussianLaplacianGaussianLaplacian
PixelsPyramidPyramidPyramidPyramidPyramidPyramidPyramidPyramid
720 × 128038.302.7223.9825.4511.9837.300.9059.85
360 × 64030.224.4433.1427.4414.5932.677.0061.76
180 × 32032.1016.6648.5539.4116.1334.766.7170.64

Share and Cite

MDPI and ACS Style

Gibson, J.; Oh, H. Mutual Information Loss in Pyramidal Image Processing. Information 2020, 11, 322. https://doi.org/10.3390/info11060322

AMA Style

Gibson J, Oh H. Mutual Information Loss in Pyramidal Image Processing. Information. 2020; 11(6):322. https://doi.org/10.3390/info11060322

Chicago/Turabian Style

Gibson, Jerry, and Hoontaek Oh. 2020. "Mutual Information Loss in Pyramidal Image Processing" Information 11, no. 6: 322. https://doi.org/10.3390/info11060322

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop