• 沒有找到結果。

A novel image quality index using Moran I statistics

N/A
N/A
Protected

Academic year: 2021

Share "A novel image quality index using Moran I statistics"

Copied!
7
0
0

加載中.... (立即查看全文)

全文

(1)

Phys. Med. Biol. 48 (2003) N131–N137 PII: S0031-9155(03)58321-X NOTE

A novel image quality index using Moran I statistics

Tzong-Jer Chen1, Keh-Shih Chuang1, Jay Wu1,2, Sharon C Chen1,

Ing-Ming Hwang1,3and Meei-Ling Jan1,4

1Department of Nuclear Science, National Tsing-Hua University, Taiwan

2Health Physics Division, Institute of Nuclear Energy Research, Atomic Energy Council, Taiwan 3School of Medical Technology, Kaohsiung Medical University, Taiwan

4Physics Division, Institute of Nuclear Energy Research, Atomic Energy Council, Taiwan

E-mail: kschuang@mx.nthu.edu.tw

Received 14 January 2003 Published 1 April 2003

Online atstacks.iop.org/PMB/48/N131

Abstract

Measurement of image quality is very important for various applications such as image compression, restoration and enhancement. Conventional methods (e.g., mean squared error; MSE) use error summation to measure quality change pixel by pixel and do not correlate well with subjective quality measurement. This is due to the fact that human eyes extract structural information from the viewing field. In this study a new quality index using a Moran I statistics is proposed. The Moran statistic that measures the sharpness from a local area is a good index of quality as most image processing techniques alter the smoothness of the image. Preliminary results show that the new quality index outperforms the MSE significantly under various types of image distortions.

1. Introduction

Measurement of image quality is very important for various image processing applications such as compression, restoration, enhancement and reproduction (Okkalides and Efremides 1994,Good et al 1994,Eskicioglu and Fisher 1995,Cosman et al 2000, Burgul et al 2000,

Avcibas et al 2002). Human observer studies have been conducted to assess the changes in image quality. The receiver operating characteristic (ROC) analysis is the dominant technique for evaluating image quality. A subjective image quality index can be evaluated from the area under the ROC curves. In an ROC study (Wong et al 1995) for a specific task application, the image observers are asked to review the processed images with or without an abnormality to provide a binary decision along with their degree of certainty. The diagnostic accuracies of these images are then compared with that of the original images. The ROC analyses are expensive and time consuming. A typical ROC study would require more than 300 images to obtain a statistically significant result (Wong et al 1995).

Objective evaluations of image quality are attractive because they are easy to calculate and are independent of viewing conditions and individual observers. The mean squared error

(2)

(MSE) is most commonly used to measure the quality changes of images objectively. In fact, the FDA guidance document for picture archiving and communication systems (PACS) requires the manufacturers to report the MSE of their lossy compression techniques (Wong et al 1995). The MSE measures the quality change by taking the mean of the squared differences between all corresponding pixels in the original and processed images. The MSE is sensitive to degradation. However, MSE neither provides any information regarding the type of loss that causes the quality deterioration nor correlates well with subjective quality measurement. The problem of MSE is due to the fact that it only calculates the sum of error between corresponding pixels. But the human eyes extract structural information based on the relative distribution of grey levels in the neighbouring pixels. The structural information is not affected by the magnitude of change between the images.

In our opinion, a good quality index for the comparison between two images should be: (1) extracted from structural information; (2) calculated on a small region such that small variation can be detected; and (3) based on regional grey level distribution. It is usually desired to evaluate the entire image using a single quality value although the image quality is often space variant. Therefore, it is practical to measure the quality index locally and then combine them together. In this study, we propose the use of a Moran I statistics (Cliff and Ord 1981) calculated on a sliding window as the quality index.

In this note, we first introduce the conventional MSE index, a viewing area based Q quality index, and the proposed quality index. Then the results of the comparison among different quality indexes when applied to various processed images are presented. Finally, the advantages of the proposed index are discussed.

2. Objective image quality measurement

In the following discussion, let G and H represent the original and processed images and their pixel values are denoted by fGand fH, respectively.

2.1. Pixelwise error based measurement

This class of methods measures the quality degradation in the form of a Minkowski metric

E= 1 M   i |fG(i)− fH(i)|β 1/β (1)

where M is the total number of pixels and β is a constant. Among them, MSE is the most common criterion used. It measures the image difference by taking the mean of the squared differences between all corresponding pixels. It is very sensitive to the image degradation but is completely non-specific and it does not correlate well with subjective quality measures. For example, when two images are relatively displaced by one pixel, the image quality is the same but the measured MSE is very large.

2.2. Q index

To avoid the difficulties encountered by MSE, a Q index has been proposed by Wang and Bovik (2002). It estimates a quality index from a local region. It is defined as

Q=  GHf¯Gf¯H

(3)

where ¯f and σ2 are the mean and variance of the pixel values inside the window and

σGH = N1−1

N

i=1[fG(i)− ¯fG][(fH(i)− ¯fH] is the covariance between images G and H.

The dynamic range of Q is [−1, 1] with the best value of 1 being achieved when G and H are identical. Note that the covariance measurement is dependent upon the relative location between sequential pixels. The Q index is calculated for a window size of 8 × 8 using a sliding window approach without overlapping.

2.3. Moran I test

The Moran coefficient I (Chuang and Huang 1992) for pixels in an r× c window is calculated as I = r×c j=1 r×c i=1δij[f (i)− ¯f][f (j )− ¯f]/S0 r×c i=1[f (i)− ¯f]2/N (3)

where f (i) is the grey level of pixel i, ¯f is the mean grey level inside the window, δij= 1 if

pixel i and j are adjacent, and 0 otherwise, S0=

 

δij is the number of contiguous pairs

(equal to 4rc− 2r − 2c for a rectangular lattice) and N (= rc) is the total number of pixels. This I value measures the unsharpness of the region under study. For a smooth region, the grey levels of adjacent pixels are more or less the same, the calculated I is large. Note that I= 1 when all pixels have the same grey levels. If the pixels inside the window are randomly distributed, the random variable I can be approximated by a normal distribution (when N is large enough) with mean and variance given by

m= −1/(N − 1) (4) and σ2= N  (N2− 3N + 3)S 1− NS2+ 3S20  − KN (N − 1)S1− 2NS2+ 6S02  (N− 1)(N − 2)(N − 3) − m 2 (5)

where K = N[f (i)− ¯f]4  (f (i)− ¯f )22, S

1= 2S0, and S2= 8(8rc – 7r – 7c + 4).

The standardized normal statistic

z= I− m

σ (6)

is often employed. Since sharpness is an important parameter of image quality, the z statistic can serve as the quality index for pixels inside the window.

The proposed quality index is defined as the difference or the squared difference between the z values of two corresponding windows. The mean Moran error (MME) and mean squared Moran error (MSME) are the index average of all windows, i.e.

MME= rc Mf¯G  (zG− zH) ¯fG (7) MSME= rc Mf¯G  (zG− zH)2f¯G. (8)

Since most background areas are associated with lower grey levels they should have smaller weights in the perceived image quality. Therefore, we include ¯fGin the calculation so that

regions with higher grey levels will have more weights for quality index measurement. The

r× c (= 8 × 8) window size should be large enough to be statistically significant and yet small

(4)

-2 0 2 4 6 8 2 4 6 8 10 Window Size Quality Index

log(MSE)

MSME

Q

MME

Figure 1. The quality index measured on an MR image processed by a median filter with various

window sizes. (The log scale is used for MSE for better visualization.)

-1

0

1

2

3

4

5

6

0

20

40

60

80

Compression Ratio

Quality Index

log(MSE)

MSME

Q

MME

Figure 2. The quality index measured on the reconstructed MR image from a lossy wavelet

compression with various compression ratios. (The log scale is used for MSE for better visualization.)

(i.e., zG> zH) if the processed image (H) is becoming sharper or noisier than the original

image (G) and negative if the processed image is smoother.

3. Results

We use an MR image (512× 512, 12 bits) with different types of distortion to test the proposed method and compare the results with the MSE and Q index. Figure1 shows the quality index measured on the MR image processed with a median filter with various window sizes. Figure2shows the quality index measured on wavelet compressed images (Pegasus Imaging Corp., FL, USA) of various compression ratios. In figure3, we randomly assign ‘0’ or ‘1’ to

(5)

0 2 4 6 8 1 2 3 4 5 6 7 No. of Bits Qu a lity Index

Q

MME

MSME

log(MSE)

Figure 3. The quality index measured on the MR image as a function of number of lower

n (= 1 to 6) bits data that are randomly manipulated. (The log scale is used for MSE for better visualization.)

the lower n (= 1 to 6) bits data of the MR image and measure their quality indexes. These results show that both MSME and MME correlate well with the MSE and the Q index. It can be seen from these figures that the Q index is less sensitive to the quality change. This is due to the fact that the Q index (Wang and Bovik 2002) measures the ‘ratio’ of three combining factors (correlation coefficient, mean luminance and contrast) between images and in most cases the relative change of these factors is small. The MSE, MSME and MME measure the ‘error’ between images and are more sensitive to quality change. In figures1and2, the images become smoother after median filtering and compression, and the MME are negative, while in figure3 the image becomes noisier after bit manipulation and the MME value is positive.

The quality index must be applicable to various image processing applications and be able to provide meaningful comparison across different types of image distortions. In the following, we compare the quality index under various corruptions. The ‘Lena’ image is employed for demonstration (figure4). Although it is not related to medical images, the Lena image is widely employed in the image processing field. The images are arranged with increasing MSME (deteriorating quality). The overall quality indexes are tabulated in table1. The performance of MSE is poor in the sense that the measured value changes significantly (e.g., figures4(b) and (c)) while the image quality is only modified slightly. Another example (not shown here) is that a constant shift of the grey level to the image will cause a large change in MSE value while the Q index and Moran index remain almost the same. This is due to the fact that MSE is sensitive to the grey level difference between corresponding pixels. Both Q index and Moran index measure the structural distortions and are insensitive to the mean shift in grey level.

In general, the MSME (MME) and Q index have shown good correlation in the quality evaluation (refer to table1) except for figures4(a) and (b). The Q index is sensitive to the displacement of image (figure4(b)) due to the covariance measurement. The Q index is rather small for an image processed by histogram equalization. Histogram equalization is an image enhancement process, which is supposed to increase the image quality. The quality index should not be too different from the ideal one. The decrease in Q index is due to the large grey level shift after equalization. The MSME (MME) does not show much change in the quality

(6)

(c) (d)

(a) (b)

(e) (f )

Figure 4. Evaluation of test image processed by various techniques. (a) Histogram equalization;

(b) spatial displacement of (1,1); (c) window/level; (d) lower 3 bits manipulation; (e) median filter with window size of 3× 3; (f) wavelet compression with compression ratio of 20.

index for this image. Another large discrepancy between MSME (MME) and Q index is the image processed by the window/level technique. In this enhancement processing, the grey level does not significantly change and the Q index remains fairly high. However, the Moran test is sensitive to the grey level overflowed regions in the image and yields a slightly large MSME (MME) index.

(7)

Table 1. Quality measurement of ‘Lena’ image with various effects.

Processing

Image type MSE Q MSME MME

Figure 4(a) Histogram 1144.2 0.74 0.065 0.056 equalization

Figure 4(b) Spatial 141.2 0.5 0.95 0.03 displacement

Figure 4(c) Window/level 66.1 0.96 1.41 0.32 Figure 4(d) Lower 3 bits 9.5 0.79 3.77 1.39

manipulation

Figure 4(e) Median filter 14.47 0.78 7.7 −2.06 Figure 4(f) Wavelet 16.03 0.68 11.37 −2.39

compression

4. Discussion and conclusion

The use of Moran statistics as a quality index has several advantages: (1) it measures the sharpness of image that is strongly related to image quality; (2) it is sensitive to the quality change; (3) it is a regional measurement and is relatively unaffected by the spatial displacement between two images; (4) it measures the structural distortion and not pixel variation; (5) it measures the overall quality change and yet is sensitive to local variation; (6) the sign (positive or negative) of MME is an indication of the type (sharpening or smoothing) of quality change.

5. Summary

In this note, we propose a new image quality measurement based on Moran I statistics of a viewing field. The quality index is applied to various processed images and the measured values correlate well with the degree of quality degradation. This index can be used to specify the types of quality change. The future work is to apply this method to blind quality

measurement, i.e., to assign quality indexes that are consistent with human perception without

explicit comparison with the reference image.

References

Avcibas I, Bulent S and Sayood K 2002 Statistical evaluation of image quality measures J. Electron. Imaging 11 206–23

Burgul R, Gilbert F J and Undrill P E 2000 Methods of measurement of image quality in teleultrasound Br. J. Radiol.

73 1306–12

Chuang K S and Huang H K 1992 Assessment of noise in a digital image using the join-count statistic and Moran test Phys. Med. Biol. 37 357–69

Cliff A D and Ord J K 1981 Spatial Process: Methods and Applications (London: Pion)

Cosman P, Gray R and Plshen R 2000 Quality evaluation for compressed medical images: fundamentals Handbook of Medical Imaging Processing and Analysis ed I N Bankman (New York: Academic)

Eskicioglu A M and Fisher P S 1995 Image quality measures and their performance IEEE Trans. Commun. 43 2959–65

Good W F, Gur D, Feist J H, Thaete F L, Fuhrman C R, Britton C A and Slasky B S 1994 Subjective and objective assessment of image quality—a comparison J. Digit. Imaging 7 77–8

Okkalides D and Efremides S 1994 Quality assessment of DSA, ultrasound and CT digital images compressed with the JPEG protocol Phys. Med. Biol. 39 1407–21

Wang Z and Bovik A C 2002 A universal image quality index IEEE Signal Process. Lett. 3 81–4

Wong S, Zaremba L, Gooden D and Huang H K 1995 Radiologic image compression—a review Proc. IEEE 83 194–219

數據

Figure 1. The quality index measured on an MR image processed by a median filter with various window sizes
Figure 3. The quality index measured on the MR image as a function of number of lower n ( = 1 to 6) bits data that are randomly manipulated
Figure 4. Evaluation of test image processed by various techniques. (a) Histogram equalization;
Table 1. Quality measurement of ‘Lena’ image with various effects.

參考文獻

相關文件

• It is a plus if you have background knowledge on computer vision, image processing and computer graphics.. • It is a plus if you have access to digital cameras

• It is a plus if you have background knowledge on computer vision, image processing and computer graphics.. • It is a plus if you have access to digital cameras

The research outcome shows that the reliability of the fac- tor of teacher empowering and school ’s image enhancement is the highest, and the factor loading of item 47- “if it

The objective of this study is to establish a monthly water quality predicting model using a grammatical evolution (GE) programming system for Feitsui Reservoir in Northern

In this study, the impact of corporate social responsibility to corporate image, service quality, perceived value, customer satisfaction and customer loyalty was explored

The analytic results show that image has positive effect on customer expectation and customer loyalty; customer expectation has positive effect on perceived quality; perceived

The regression analysis results indicated that after the corporate image, service quality, satisfaction, perceived value and loyalty between each dimension and is

A digital color image which contains guide-tile and non-guide-tile areas is used as the input of the proposed system.. In RGB model, color images are very sensitive