1 / 28

Content-Based Image Retrieval Using Block Discrete Cosine Transform

Content-Based Image Retrieval Using Block Discrete Cosine Transform. Presented by Te-Wei Chiang Department of Information Networking Technology Chihlee Institute of Technology 2005/12/19. Outline. 1. Introduction. 2. Problem Formulation. 3. Proposed Image Retrieval System.

espen
Download Presentation

Content-Based Image Retrieval Using Block Discrete Cosine Transform

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Content-Based Image Retrieval Using Block Discrete Cosine Transform Presented by Te-Wei Chiang Department of Information Networking Technology Chihlee Institute of Technology 2005/12/19

  2. Outline 1. Introduction 2. ProblemFormulation 3. Proposed Image Retrieval System 4. Experimental Results 5. Conclusions

  3. 1. Introduction • Two approaches for image retrieval: • query-by-text (QBT): annotation-based image retrieval (ABIR) • query-by-example (QBE): content-based image retrieval (CBIR) • Standard CBIR techniques can find the images exactly matching the user query only.

  4. In QBE, the retrieval of images basically has been done via the similarity between the query image and all candidates on the image database. • Euclidean distance • Transform type feature extraction techniques • Wavelet, Walsh, Fourier, 2-D moment, DCT, and Karhunen-Loeve. • In our approach, the DCT is used to extract low-level texture features. • the energy compacting property of DCT

  5. In this paper, we propose a content-based image retrieval method based on block DCT. • In the image database establishing phase, each image is first transformed from the standard RGB color space to the YUV space; then Y component of the image is further transformed to the DCT domain. • In the image retrieving phase, the system compares the most significant DCT coefficients of the Y component of the query image and those of the images in the database and find out good matches. • Moreover, based on the observation that block DCT can reduce the computational complexity of each DCT operation but may lose global view of the image being processed, in this paper, we will investigate the relation between the precision rate in image retrieval and the block size of the block DCT.

  6. 2. Problem Formulation • Let I be the image database with I := {Xn | n = 1, . . ., N} where Xn is an image represented by a set of features: Xn := {xn m | m = 1, . . ., M}. • N and M are the number of images in the image database and the number of features, respectively. • To query the database, the dissimilarity (or distance) measure D(Q, Xn) is calculated for each n as • dm is the distance function or dissimilarity measure for the mth feature and wmR is the weight of the mth feature. • Query image Q := {qm | m = 1, …, M}. • For each n, holds. By adjusting the weights wm it is possible to emphasize properties of different features.

  7. 3. The Proposed Image Retrieval System Figure 1. The proposed system architecture.

  8. Feature Extraction • Features are functions of the measurements performed on a class of objects (or patterns) that enable that class to be distinguished from other classes in the same general category. • Color Space Transformation RGB (Red, Green, and Blue) -> YUV (Luminance and Chroma channels)

  9. YUV color space • YUV is based on the CIE Y primary, and also chrominance. • The Y primary was specifically designed to follow the luminous efficiency function of human eyes. • Chrominance is the difference between a color and a reference white at the same luminance. • The following equations are used to convert from RGB to YUV spaces: • Y(x, y) = 0.299 R(x, y) + 0.587 G(x, y) + 0.114 B(x, y), • U(x, y) = 0.492 (B(x, y) - Y(x, y)), and • V(x, y) = 0.877 (R(x, y) - Y(x, y)).

  10. 2 Feature Extraction via DCT Discrete Cosine Transform • The DCT coefficients F(u, v) of an N×N image represented by f(i, j) can be defined as where

  11. Characteristics of DCT • the DC coefficient (i.e. F(0, 0)) represents the average energy of the image; • all the remaining coefficients contain frequency information which produces a different pattern of image variation; and • the coefficients of some regions represent some directional information.

  12. Similarity Measurement • Distance measure • the sum of absolute differences (SAD): avoid multiplications. • the sum of squared differences (SSD): exploit the energy preservation property of DCT • The distance between Q and Xn under the low frequency block of size k×k can be defined as • For block DCT, where an image is divided into nonoverlapping S×S blocks, the distance between Q and Xn can be defined as the summation of the distances under each block.

  13. 4. Experimental Results • 1000 images downloaded from the WBIIS database are used to demonstrate the effectiveness of our system. • The user can query by an external image or an image from the database. • To evaluate the retrieval efficiency of the proposed method, we use the performance measure, the precision rate, as follows: where Rr is the number of relevant retrieved items, and Tr is the number of all retrieved items.

  14. Figure 1. Retrieved results using ordinary DCT with low frequency DCT coefficients of size 2×2.

  15. Figure 2. Retrieved results using ordinary DCT with low frequency DCT coefficients of size 4×4.

  16. Figure 3. Precision rate of the test image over k using ordinary DCT.

  17. Figure 4. Precision rate of the test image over k using 2x2 block DCT.

  18. Figure 5. Precision rate of the test image over k using 3x3 block DCT.

  19. Figure 6. Precision rate of the test image over k using 4x4 block DCT.

  20. Figure 7. Precision rate of the test image over k using 5x5 block DCT.

  21. Figure 8. Precision rate of the test image over k using 6x6 block DCT.

  22. Figure 9. Precision rate of the test image over k using 7x7 block DCT.

  23. Figure 10. Precision rate of the test image over k using 8x8 block DCT.

  24. Figure 11. Precision rate of the test image over k using 16x16 block DCT.

  25. Figure 12. Retrieved results using 2×2 block DCT with low frequency DCT coefficients of size 2×2.

  26. Figure 13. The best precision rate that can be obtained from the block DCT with differing S value.

  27. 5. Conclusions • In this paper, a content-based image retrieval method based on block DCT is proposed. • To achieve QbE, the system compares the most significant DCT coefficients of the query image and those of the images in the database and find out good matches. • Based on the observation that block DCT can reduce the computational complexity of each DCT operation but may lose global view of the image being processed, we are motivated to investigate the relation between the precision rate in image retrieval and the block size of the block DCT. • Experiments show that the block DCT with larger block size would perform better than the block DCT with small block size and the ordinary DCT in terms of the precision rate of the content-based image retrieval.

  28. Thank You !!!

More Related