FEATURE EXTRACTION TECHNIQUES FOR IMAGE RETRIEVAL USING HAAR AND GLCM

Similar documents
CHAPTER 2 TEXTURE CLASSIFICATION METHODS GRAY LEVEL CO-OCCURRENCE MATRIX AND TEXTURE UNIT

Wavelet-based Texture Segmentation: Two Case Studies

Texture. Frequency Descriptors. Frequency Descriptors. Frequency Descriptors. Frequency Descriptors. Frequency Descriptors

Image Contrast Enhancement in Wavelet Domain

IMAGE DIGITIZATION BY WAVELET COEFFICIENT WITH HISTOGRAM SHAPING AND SPECIFICATION

Robust DWT Based Technique for Digital Watermarking

ECE 176 Digital Image Processing Handout #14 Pamela Cosman 4/29/05 TEXTURE ANALYSIS

Content Based Image Retrieval Using Color and Texture Feature with Distance Matrices

Handwritten Script Recognition at Block Level

Neural Network based textural labeling of images in multimedia applications

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Texture Analysis of Painted Strokes 1) Martin Lettner, Paul Kammerer, Robert Sablatnig

Feature Extraction from Wavelet Coefficients for Pattern Recognition Tasks. Rajat Aggarwal Chandu Sharvani Koteru Gopinath

Content Based Image Retrieval Using Combined Color & Texture Features

Face Detection for Skintone Images Using Wavelet and Texture Features

Periodicity Extraction using Superposition of Distance Matching Function and One-dimensional Haar Wavelet Transform

Document Text Extraction from Document Images Using Haar Discrete Wavelet Transform

Digital Image Steganography Techniques: Case Study. Karnataka, India.

ISSN (ONLINE): , VOLUME-3, ISSUE-1,

An Optimal Gamma Correction Based Image Contrast Enhancement Using DWT-SVD

An Improved CBIR Method Using Color and Texture Properties with Relevance Feedback

Comparative Evaluation of Transform Based CBIR Using Different Wavelets and Two Different Feature Extraction Methods

TEXT DETECTION AND RECOGNITION IN CAMERA BASED IMAGES

Feature Based Watermarking Algorithm by Adopting Arnold Transform

Texture image retrieval and image segmentation using composite sub-band gradient vectors q

Texture Classification with Feature Analysis: A Wavelet Based Approach

EDGE DETECTION IN MEDICAL IMAGES USING THE WAVELET TRANSFORM

CORRELATION BASED CAR NUMBER PLATE EXTRACTION SYSTEM

Autoregressive and Random Field Texture Models

ADAPTIVE TEXTURE IMAGE RETRIEVAL IN TRANSFORM DOMAIN

TEXTURE. Plan for today. Segmentation problems. What is segmentation? INF 4300 Digital Image Analysis. Why texture, and what is it?

Texture Segmentation Using Multichannel Gabor Filtering

Wavelet Based Image Retrieval Method

A Modified SVD-DCT Method for Enhancement of Low Contrast Satellite Images

Short Run length Descriptor for Image Retrieval

Feature extraction. Bi-Histogram Binarization Entropy. What is texture Texture primitives. Filter banks 2D Fourier Transform Wavlet maxima points

Edge detection in medical images using the Wavelet Transform

Efficient Image Compression of Medical Images Using the Wavelet Transform and Fuzzy c-means Clustering on Regions of Interest.

COLOR HISTOGRAM BASED MEDICAL IMAGE RETRIEVAL SYSTEM

Biometric Security System Using Palm print

Multi-focus Image Fusion Using Stationary Wavelet Transform (SWT) with Principal Component Analysis (PCA)

An Introduction to Content Based Image Retrieval

Haralick Parameters for Texture feature Extraction

A Miniature-Based Image Retrieval System

Generation of Digital Watermarked Anaglyph 3D Image Using DWT

Invariant Features of Local Textures a rotation invariant local texture descriptor

Content-based Image Retrieval (CBIR) using Hybrid Technique

COLOR TEXTURE CLASSIFICATION USING LOCAL & GLOBAL METHOD FEATURE EXTRACTION

Schedule for Rest of Semester

A NEW ROBUST IMAGE WATERMARKING SCHEME BASED ON DWT WITH SVD

Implementation of Lifting-Based Two Dimensional Discrete Wavelet Transform on FPGA Using Pipeline Architecture

Defect Detection of Regular Patterned Fabric by Spectral Estimation Technique and Rough Set Classifier

Fingerprint Recognition using Texture Features

Image Classification Using Wavelet Coefficients in Low-pass Bands

Texture Segmentation by Windowed Projection

DWT Based Text Localization

Remote Sensing Image Retrieval using High Level Colour and Texture Features

Implementation of Texture Feature Based Medical Image Retrieval Using 2-Level Dwt and Harris Detector

CHAPTER 6 DETECTION OF MASS USING NOVEL SEGMENTATION, GLCM AND NEURAL NETWORKS

Get High Precision in Content-Based Image Retrieval using Combination of Color, Texture and Shape Features

Edge Histogram Descriptor, Geometric Moment and Sobel Edge Detector Combined Features Based Object Recognition and Retrieval System

Image Enhancement Techniques for Fingerprint Identification

COLOR AND SHAPE BASED IMAGE RETRIEVAL

Improved Qualitative Color Image Steganography Based on DWT

Texture Segmentation by using Haar Wavelets and K-means Algorithm

A Texture Extraction Technique for. Cloth Pattern Identification

Temperature Calculation of Pellet Rotary Kiln Based on Texture

Image Compression Algorithm for Different Wavelet Codes

Extraction of Color and Texture Features of an Image

2. LITERATURE REVIEW

Content-based Image Retrieval using Image Partitioning with Color Histogram and Wavelet-based Color Histogram of the Image

CHAPTER 4 TEXTURE FEATURE EXTRACTION

Digital Image Processing. Lecture # 15 Image Segmentation & Texture

CHAPTER 4 SEGMENTATION

IJSRD - International Journal for Scientific Research & Development Vol. 4, Issue 02, 2016 ISSN (online):

Robust Watermarking Method for Color Images Using DCT Coefficients of Watermark

Texture Image Segmentation using FCM

Adaptive Quantization for Video Compression in Frequency Domain

Using Shift Number Coding with Wavelet Transform for Image Compression

International Journal of Advanced Research in Computer Science and Software Engineering

Efficient Content Based Image Retrieval System with Metadata Processing

AN EFFICIENT BATIK IMAGE RETRIEVAL SYSTEM BASED ON COLOR AND TEXTURE FEATURES

Lecture 6: Multimedia Information Retrieval Dr. Jian Zhang

Texture and Shape for Image Retrieval Multimedia Analysis and Indexing

Robust Lossless Image Watermarking in Integer Wavelet Domain using SVD

Content Based Image Retrieval: Survey and Comparison between RGB and HSV model

International Journal of Computer Engineering and Applications, Volume XII, Issue XII, Dec. 18, ISSN

CONTENT BASED IMAGE RETRIEVAL (CBIR) USING MULTIPLE FEATURES FOR TEXTILE IMAGES BY USING SVM CLASSIFIER

HYBRID TRANSFORMATION TECHNIQUE FOR IMAGE COMPRESSION

Digital Image Processing

Image Compression & Decompression using DWT & IDWT Algorithm in Verilog HDL

Linear Regression Model on Multiresolution Analysis for Texture Classification

IMAGE COMPRESSION USING HYBRID QUANTIZATION METHOD IN JPEG

EE795: Computer Vision and Intelligent Systems

Comparative Analysis of Edge Detection Algorithms Based on Content Based Image Retrieval With Heterogeneous Images

A Robust Color Image Watermarking Using Maximum Wavelet-Tree Difference Scheme

ISSN: P A Hemalatha et al, International Journal of Computer Science & Communication Networks,Vol 3(3),

COMPUTER PROGRAM FOR IMAGE TEXTURE ANALYSIS IN PhD STUDENTS LABORATORY

Statistical texture classification via histograms of wavelet filtered images

Reduced Time Complexity for Detection of Copy-Move Forgery Using Discrete Wavelet Transform

Transcription:

FEATURE EXTRACTION TECHNIQUES FOR IMAGE RETRIEVAL USING HAAR AND GLCM Neha 1, Tanvi Jain 2 1,2 Senior Research Fellow (SRF), SAM-C, Defence R & D Organization, (India) ABSTRACT Content Based Image Retrieval (CBIR) approach which provides efficient and effective means to extract most similar images stored in the database based on image contents. It aims at retrieving images which are perceptually meaningful by making the best use of a single or combination of visual content descriptors. The major steps are feature extraction and similarity comparison. This paper expands along the two techniques Haar and GLCM on Texture based image retrieval. Texture analysis is one of the widely used operations for feature extraction. The first method explores texture features extraction of the image by applying Haar Wavelet Transform (HWT) and then applying Gradient Operator Concept on LH and HL bands of HWT. The implemented second method computes the texture features by applying popular gray level co-occurrence matrix (GLCM) approach. The texture features thus extracted are subjected to similarity comparison and few images with higher similarity value are retrieved. The Brodatz image database that utilizes texture features forms the basis of the comparison and retrieval.it is concluded that the implemented GLCM provides much better results when compared with the popular Haar. Keywords: CBIR, GLCM, Haar discrete transform I. INTRODUCTION The term Feature Extraction deals with extracting feature such as energy (energy measures texture uniformity. If an image is completely homogeneous its energy will be maximum), entropy (it measures randomness of an image), randomness, correlation (measure of how correlated a pixel is to its neighbor over the entire image), homogeneity (it measures the spatial closeness of the distribution of elements in co-occurrence matrix to the diagonal. If an image will be completely homogeneous, its energy will be maximum) etc. from an image, then store these feature in an offline database for further use and use these feature for image retrieval. Image retrieval is the process searching images from an offline database which are most similar to a query image specified by the user. The matching of images is done by extracting their features (texture, color & shape) and then applying some similarity measures on these features. This whole process is shown in this Fig1. 1008 P a g e

Figure1. CBIR System Texture can be defined by certain constant, slowly varying or periodic local statistical properties computed over different regions of an image. Texture analysis is used in many applications such as CBIR, biomedical image processing, automated visual inspection, and remote sensing. Much research work has been done on texture analysis for the last few decades. Despite these efforts, texture analysis is still considered an interesting but difficult problem of image processing. A good approach to study texture is the use of multi resolution analysis specially the Haar Wavelet Transforms. The Gray Level Co-occurrence Matrix (GLCM) method is a way of extracting second order statistical texture features. Using this statistical approach will help to provide valuable information about the relative position of the neighboring pixels in an image. This paper is organized as follows: This section gives a brief introduction on CBIR. Section 2 explain the image decomposition and feature extraction using Haar discrete wavelet transform, Section 3 covers relative position of the neighboring pixels in an image and feature extraction using Gray Level Co-occurrence Matrix (GLCM) Section 4 covers similarity Measures. Section 5 describes experimental results. Finally conclusions are offered in section 6. II. HAAR DISCRETE WAVELET TRANSFORM Discrete Wavelet Transform (DWT) is the combination of pyramid coding, sub band coding and Haar transform. These are under the category of Multi-resolution analysis. Multi-resolution analysis (MRA) concerned with the representation and analysis of signals at more than one resolution. Features that might go undetected at one resolution may be easy to detect at another. The Haar function h k (z) is defined on a continuous interval, z belongs to[0,1] h 0 (z) =h 00 (z) =1/ N, z [0, 1] h pq (z) =1/ N*2 p/2 if (q-1)/2 p z < (q-0.5)/2 p h k (z) = h pq (z) =1/ N*(-2 p/2 ) if (q-0.5)/2 p z < q/2 p h pq (z) =0 otherwise, z [0, 1] where, k=0, 1, 2, N-1, N=2 n, z=0/n,1/n,2/n,,(n-1)/n. k is defined as k=2 p +q-1, where 0 p n-1, and q=0 or 1 for p=0, and 1 q 2 p for p 0. 1009 P a g e

Each step in the Haar Wavelet Transform [1], [2] calculates a set of scaling coefficients and a set of wavelet coefficients. It creates four sub bands named as LL, LH, HL and HH. LL represents approximation of original image, HL horizontal edges, LH vertical edges, HH diagonal edges. An L-level discrete wavelet transform decomposes an image into 3*L+1 sub bands. A 2-level DWT decomposes an image into 3*2+1=7 bands as shown in Fig 2. (a) (b) (c) Figure 2 (a) The original image (b) Image obtained using 1-level Haar DWT. The levels are distinguished by colored lines. (c) obtained using 2-level Haar DWT. The levels are distinguished by colored lines. 2.1 Texture Feature from Haar For computing 1- level Haar Gradient operator is applied on HL (channel represents horizontal edges) and LH (channel represents vertical edges) band of 1-Level haar wavelet. Thus with the given horizontal and vertical gradient magnitudes we can calculate gradient direction for each pixel of the sub image by the formula: where gx, gy are the convolved image of gradient magnitude in horizontal (from HL data) and vertical direction (from LH data), respectively. After calculating gradient direction for every pixel, number of regions is calculated as 360/D where D represents the direction range. In other words, D is nothing but size of a bin while plotting graph of number of pixels versus direction. Since the decision of direction range is crucial in affecting retrieval performance, the value of D should be fine tuned to achieve greatest performance. Based on a series of experiments, the value of D was set to 40 which has the greatest retrieval performance. [3] Hence we get 9 bins, each of size 40 degrees, and we calculate number of pixels in each bin. After this, for each bin three features, mean, standard deviation and entropy are calculated as shown in equations: (1) (2) (3) III. GRAY LEVEL CO-OCCURRENCE MATRIX The Gray Level Co-occurrence Matrix (GLCM) [4], [5] method is a way of extracting second order statistical texture features. Using only histograms in calculation will result in measures of texture that carry only information about distribution of intensities, but not about the relative position of pixels with respect to each 1010 P a g e

other in that texture. Using this statistical approach will help to provide valuable information about the relative position of the neighboring pixels in an image. GLCM is a spatial domain technique. It is a tabulation of how often different combinations of pixel brightness values (Gray Levels) occur in an image. The texture features are calculated by following the underlined steps in order: 1. Four co occurrence matrices are computed from the gray scale image by considering distance between pixels to be 1 and the four directions as 0 o, 45 o, 90 o and 135 o. Computation of co-occurrence matrix at 0 0 is shown in Fig 3. 2. For each co-occurrence matrix so obtained, four features namely; contrast, correlation, energy and homogeneity are calculated, thus resulting in a feature vector of size 16. Figure3. Formation of Co-Occurrence Matrix for 0º Direction and a Single Gap Between the Pixels 3.1. Texture Features from GLCM After calculating GLCM in all four directions 0, 45, 90, 135 degrees features energy, Contrast, Homogeneity and Correlation are calculated as shown in equations: Energy= (4) Contrast= (5) Homogeneity= (6) Correlation= (7) Here, N is the number of rows/columns of image matrix Q, P ij is the probability that a pair of points in Q will have values ( N i, N j ), and are the mean of rows and columns respectively, and are the standard deviation of rows and columns respectively. IV. SIMILARITY MEASURE In general, the accuracy of the retrieved results is directly proportional to the accuracy of the similarity measurement. A comparison of feature vectors of two different images gives the degree of similarity between them. Instead of exact matching of descriptors, content-based image retrieval calculates visual similarities of a 1011 P a g e

query image with images in a database. Accordingly, the retrieval result is not a single image but a list of images ranked by their similarities with the query image.in both the approaches (described in Section 2 and section 3) we use an as Euclidean distance. (8) The process of identifying similar images to query image is shown in Fig 4, using Euclidean distance and various features of image. Offline Feature Database Compute Euclidean Distance according to feature Normalize according to feature Online feature extraction Compute avg. of normalized value Apply sorting Retrieved values for retrieving similar images Figure4. Method for Identifying Similar Images V. EXPERIMENTAL RESULT The experiments were performed with Java as front end and MySQL as back end. The experiments were performed using the Brodatz [6] Texture Album.18 different textures were taken. The image of each texture type was divided into 16 non overlapping images of size 256X256, resulting in a database of 288 images. Therefore, there are 16 relevant images belonging to each texture type. Samples are shown in Fig 5. As an input query image shown in Fig 6 is provided Figure5. Brodatz Database Sample 1012 P a g e

Figure6. Query Image Haar transformation is applied on Brodatz database sample images. Then on these Haar transformed images Sobel Gradient operator is applied on HL & LH band. Output obtained after applying Sobel Gradient operator is shown in Fig7. Figure7. Output after Sobel Gradient operator After applying GLCM on Brodatz database sample images, following output is obtained. This is shown in Fig 8. Figure8. Output after GLCM The precision of the retrieval image is defined as the fraction of the retrieved images that are indeed relevant for the query: Performance analysis = X(q) Y(q) X(q) (9) Where, total number of images of the texture type in offline database is denoted as Y(q), the total number of images retrieved after computation is denoted as X(q). By applying the performance analysis on Sobel Gradient operator on Haar transformed and GLCM transformed images, the result obtained is summarized in Table 1. 1013 P a g e

Table1. Precision Table of Sobel Gradient Operator on Haar Transformed and GLCM images Texture Image Sobel Gradient operator GLCM applied on HL & LH and features on HL & LH Precision Precision 50 60 100 80 50 90 70 100 90 100 VI. CONCLUSION This paper presented efficient image retrieval techniques. It is concluded that the implemented GLCM provides much better results when compared with the popular Haar, shown in Fig 9. Figure9. Comparison Between Sobel Gradient Operator on Haar and GLCM REFERENCES [1] Dr. Fuhui Long, Dr. Hongjiang, and Prof. David Dagan Feng, Fundamentals of Content Based Image 1014 P a g e

Retrieval. [2] Y.M. Latha, B.C. Jinaga, and V.S.K. Reddy, A Precise Content-based Image Retrieval: Lifting Scheme, ICGST-GVIP Journal, ISSN: 1687-398X, Vol. 8, 1, 6, June 2008. [3] Kuo-An Wang, Hsuan-Hung Lin, Po-Chou Chan, Chuen-Horng Lin, Shih-Hsu Chang, and Yung-Fu Chen, Implementation of an Image Retrieval System Using Wavelet Decomposition and Gradient Variation, ISSN: 1109 2750, Issue 6, Volume 7, June 2008. [4] Mehran Yazdi, Kazem Gheysari, A New Approach for Fingerprint Classification based on Gray-Level Cooccurrence Matrix, World Academy of Science, Engineering and Technology 47, 2008. [5] Priti Maheshwary, Namita Sricastava, Prototype System for Retrieval of Remote Sensing Images on Color Moment and Gray Level Co-occurrence Matrix,IJCSI International Journal of Computer Science Issues, Vol 3, 2009. [6] P. Brodatz, Textures, A photographic album for artists and designers, New York, Dover, NY, 1996. [7] Rafael C. Gonzalez, Richard E. Woods, Digital Image Processing,3rd ed, Pearson Education, 2008. [8] Herbert Schildt, Java: The Complete Reference, 5 th ed., Tata McGraw Hill,2005. [9] Kogent Solutions Inc, Java 6 Programming Black Book, Dreamtech Press, 2008. 1015 P a g e