VOL 2 . NO 1 e-ISSN : 2549-9904 ISSN : 2549-9610 INTERNATIONAL JOURNAL ON INFORMATICS VISUALIZATION A New Approach Towards Image Retrieval Using Texture Statistical Methods Tamilkodi#. Rosline Nesa Kumari*. Maruthu Perumal** # CSE Department. Saveetha University. Assoc. Prof. GIET. Rajahmundry-533296. India * Saveetha University. Tandalem. Chennai- 600077. India ** CSE Department. NBKR Institutes of Science and Technology. AP. India Email : tamil_kodiin@yahoo. in, rosemaruthu@gmail. AbstractAi Texture is a possession that represents the facade and arrangement of an image. Image textures are intricate ocular patterns serene of entities or regions with sub-patterns with the kind of brightness, color, outline, dimension, and etc. This article proposes a new method for texture characterization by using statistical methods (TCUSM). In this proposed method (TCUSM) the features are obtained from energy, entropy, contrast and homogeneity. In an image, each one pixel is enclosed by 8 nearest pixels. The confined in turn for a pixel can be extracted from a neighbourhood of 3x3 pixels, which represents the fewest absolute unit. We used four vector angles 0, 45, 90,135 to carry out the experimentation with the query image. A total of 16 texture values are calculated per Compute the feature vectors for the query image by calculating texture unit and the resultant value is compared with the image The retrieval result shows that the performance using Canberra distance has achieved higher performance. KeywordsAi Texture. Color. Statistical. Energy. Entropy. Contrast. Homogeneity. Retrieval. explored texture depiction from unlike angle and projected a computational estimation on six visual properties like coarsness,disparity,directionality,linelikeness,constancy and The QBIC system and MARS system further improved TamuraAos texture depiction . In the early 90Aos the wavelet transform was introduced for texture representation. In texture analysis, the most important task is to extract a texture feature which specifies textual characteristics of the original image . The texture feature of an image is extracted by mean and variance of the wavelet sub bands. But wavelet . loses their universality in capturing the edge discontinuities in image which is important in texture This proposed method (TCUSM) overcomes the weakness of conventional wavelets to obtain images with less computational complexity. The main aim of the paper is to retrieve the images accurately with the combined texture features based on orientation, directionality and regularity. The characteristics features of texture are investigated in classification experiments with images taken from Brodatz album . The classification accuracy rates are compared with other methods and the results are found to be improved significantly. This paper is organized as follows: section 2 explains the model behind the work proposed and the methods of detecting the characteristics of texture. Section 3 with proposed set of INTRODUCTION Texture analysis is the fundamental task used in the content based image recovery which specifies the properties of image It contains the significant information about the structural plan of surfaces and their bond to the adjoining In general, texture can be defined as a usual replication of elements or patterns on a surface. The repetition frequencies results in textures can appear to be random and A number of techniques have been used for measuring the texture features such as Gabor filter, fractals, wavelets, cooccurence matrix etc. Texture has many diverse extents. there is no solo way of texture depiction that is ample for an assortment of textures. refers to a class of statistical measures and models that exemplify the spatial variations surrounded by descriptions resources of extracting information. Texture is an aerial erect that defines local spatial association of spatially altering ethereal principles that is recurring in a section of outsized spatial position. Since an image is completely in the form of pixels, texture can be distinct as a unit consisting of equally associated pixels and collection of pixels. This cluster of pixels is called as texture primitives or texture essentials. In the early 70Aos Haralick et al . anticipated cooccurence matrix representation of texture feature. This approach explored gray level spatial reliant of texture. Tamura et al . texture images and the experiments shown with Corel Dataset. Finally, the conclusion about proposed method has been II. IMAGE RETRIEVAL USING PROPOSED METHOD (TCUSM) Fig. working out of Cooccurence matrix The goal of this work is to study, if the values of the features describing a texture are the same or very similar with the query image compared with the database image are Before we are going to say about our work, we want to know the terms used in our methods. Let us see about those methods how it extracts the feature form the images. Figure 1 shows the block diagram of our proposed method TCUSM. This projected method works by supplying the query image which is fed for feature extraction through various statistical methods like contrast, homogeneity, energy and Once the value of texture unit if found a comparison is made with the image database by applying the same statistical methods to find the value of the texture Simliarity measures are carried out to find the distance measure between the two textures unit obtained and if it shows equal then the corresponding image can be Texture Extraction The grey level co occurrence matrix calculates how frequently a pixel with gray level value m occurs flat, perpendicularly or crosswise to nearby pixels with the value n. The size of cooccurence matrix will be the number of threshold levels. When we consider neighboring pixels, the distance between the pair of pixels is 1. On the other hand, each altered relative position between the two pixels to be compared creates a different co-occurrence matrix. Fig. Directional analysis P0. P45. P90. P135 Image Database Statistical features of grey level were one of the most primitive methods worn to categorize textures. Haralick . recommended the use of grey level cooccurence matrices (GLCM) to take out second order statistics from an GLCMs have been used very effectively for texture categorization in evaluations. Matrix element P. in a grey level cooccurence is Order probability of varying grey level m to n when affecting distance d in the direction A of the image, or equivalent . i, i. From a X xY image with G grey levels and f. is the intensity, then Query Image Contrast Homogeneity Texture Unit Energy Entropy Apply Canberra Distance Store Retrieved Images P. | ii, i. =ST. ii, i. Fig. Block Diagram of proposed method where S = Cooccurence Matrix The gray level cooccurence estimates image properties associated to information which considers the correlation T. ii, i. = along with pixels or group of pixels. Haralick . recommended the use of grey level cooccurence matrices which became the famous and widely used texture features. is based on the joint probability distributions of pairs of pixels. It shows often the grey level occurs at a pixel located at a fixed geometric position relative to each other pixel, as a Alternative notation depends on direction and distance . ,n | function of the grey level. A). The following figure shows the 3x3 image and its gray level cooccurence matrices. The number of threshold levels is B. Contrast Consider the image as shown in Fig. if we use the position Contrast is a local gray level disparity in the grey level operator Auone pixel to the right and one pixel down then we cooccurence matrix. It can be contemplated as a linear get the gray level cooccurence matrix as shown. The 2 in the dependency of grey levels of neighbouring pixels. cooccurence matrix indicates that there are two occurrences of a pixel with gray level 1 immediately to the right of the pixel level as well as the down of the pixel level 1. where m & n are the horizontal and vertical coordinates and p is the pixel value. If the neighbouring pixels are very similar in their grey level values then the dissimilarity in the image is very short. The grey level variations show the distinction of texture itself. It measures the amount of variation flanked by the maximum and smallest value of a position of adjoining i. FUNCTIONING THEORY OF PROJECTED TECHNIQUE TCUSM Homogeneity It assumes big values for minor gray tone differences in couple elements. Homogeneity process the regularity of the non-zero entries in the cooccurence matrix. It weights values by the inverse of dissimilarity weight. First a query image is fed in to the system for the conversion of RGB into grey level image. As from the characteristics of Texture we can able to find out all the statistical methods and the resultant is stored with texture unit. In this proposed method (TCUSM) the features are obtained from energy, entropy, contrast and homogeneity. In an image, each pixel is surrounded by 8 neighbouring pixels. The local information for a pixel can be extracted from a neighbourhood of 3x3 pixels, which represents the smallest complete unit. used four vector angles 0, 45, 90,135 to carry out the experimentation with the query image. A total of 16 texture values are calculated per unit. Compute the feature vectors for the query image by calculating texture unit and the resultant value is compared with the image database. Steps involved in proposed method TCUSM: Read the Query Image Convert into gray level Apply Characteristics of texture Find the value of Texture Unit Repeat the steps 1 to 4 for database image. Compare the Texture Unit value with the database image If both values are similar retrieve the images. Stop computation. It is more sensitive to the presence of near diagonal elements in the matrix. It has maximum value when all elements in the image are equal. In grey level cooccurence matrix contrast and homogeneity are strongly but inversely correlated in terms of equivalent distribution in the pixel pairs. It means homogeneity decreases if contrast increases while energy is kept constant. Therefore high homogeneity refers to textures that contain ideal repetitive structures while low homogeneity refers to big variation in both texture elements and their spatial arrangements. The range of homogeneity is equal to . if the image has little variation then homogeneity is high equal to 1 and if there is no variation then we can say that the homogeneity is low equal to 0. IV. PERFORMANCE EVALUATION To evaluate the retrieval efficiency of the proposed system, we use the performance measure calculation by using the formulas for recall and precision. The one which computes the system to retrieve all the images which is related to the query Energy It measures the uniformity of texture that is pixel pair image supplied where as precision computes the aptitude of It detects disorders in textures. Energy reaches a the system to retrieve only the images that are exactly matches maximum value that equal to one. The higher the energy value, with the query image. Using precision and recall to measure the accuracy of retrieval the bigger the homogeneity of the texture. system is still the most prominent technique. Precision = Recall = The range of energy is . where energy is 1 for a constant image. All the features discussed are connected in certain manner. Contrast calculates the variation of grey level pairs but with a different weight. Homogeneity weights values by the inverse of contrast weight, which means lower the homogeneity, higher the contrast. Energy is actually local homogeneity and entropy is the opposite of energy. Where Rr -Represents the number of appropriate images retrieved. Tr -Represents the entire images retrieved T-Represents the total appropriate images retrieved. Precision and recall results are tabulated in table 1. TABLE 1 PRECISION AND RECALL VALUES USING PROPOSED METHOD (TCUSM) Entropy It is a measure of randomness, having its highest value when the elements of P are all equal. In the case of a checkerboard, the entropy would be low. Category of Images Average Precision Average Recall Autumn Dog Bear Ship Flowers we need to be defined as Train to a small change when both coordinate near to zero. Castle Cloud Cat Horses Average (%) = 0. This distance is very sensitive Dmn = For finding the calculation input the values of query image compare it with Database image and store the resultant. From the resultant values we can able to know the matching relevant Graph representing the performance analysis of texture feature using TCUSM VI. EXPERIMENTAL RESULTS Fig. 4 Graph represents the average precision and recall We followed an approach to carry out an assessment and modifications to the retrieval of images based on the features experienced by means of a cautiously particular division of the Corel image dataset and the vector space likeness compute. We selected random sample of images from the Corel collection to carry out the distance vector calculation for the retrieval process. We have categorized the images in various forms like Autumn. Bear, dog, horse, castle, cloud, train, ship, cat. Flowers. Ship etc. We reorganised the Corel sample dataset as many images with similar concepts were not in the same group and some images with different images were in the same group in the original database, each group includes more than 100 images and the image group are categoryhomogeneous. These concept groups were used in the evaluation of the results of our technique. For each feature we evaluated performance in the configuration described to improve performances were devised and evaluated. The general themes considered were how best to represent an entire image, how to accommodate differing sizes and scale of images and how to cope with the regional qualities of textures. These evaluations were run on the Corel data. The best performing features from the initial evaluation were then tested on the image data set. Tests were run with each texture feature combined with a high performing colour feature. SIMILARITY MEASURE A query image is any one of the images from image This query image is processed to compute the feature vector. Distance metrics are calculated between the query image and every image in the database. This process is repeated till all the images in the database have been compared with the query image. After completing the distance algorithm an array of distances is obtained and which is then The similarity functions seek calculates the content difference between two images based on their features. One of the images is given as search parameter and another is stored in the database and had their features previously extracted. There are different ways to show the results for users, the most common is use the ranking method and present thumbnails according to the similarity degree in relation to a The judgement of how similar a database image is to a query is dependent on which image distance measure or measures are used to judge similarity. Calculate Canberra Distance to get the similarity distance between images. In the present work we have carried out Canberra similarity distance measure described as below. Canberra Distance It is the sum of absolute values of the differences between ranks divided by their sum, thus it is a weighted version of the It examines the sum of series of a fraction difference between the coordinates of a pair. Each term of fraction difference has value lies between 0 & 1. The Canberra Distance itself is not between 0 & 1. If one of the coordinator is 0, the term become unity regardless the other value, thus the distance not be affected. Note that if both coordinate are 0Aos. Fig. Sample query images from Corel Database Query Image: Bear Assessment chart with Precision Fig. Retrived images after applying proposed method (TCUSM) The retrieval results for bear is illustrated in Fig. The distance metrics used is Canberra distance. when an image is a searching process will retrieve the closest image s in the database. The retrieved images are displayed according to their distance with the image query. The image that indicating perfect match will be retrieved first. Table 1 depicts the retrieval results for the sample images taken from the Corel dataset. The average precision is 8. 172 and the average recall 2. Proposed method we have used four statistical measures namely energy,entropy,homogeneity and contrast which shows proposed method is efficient than DWT-GLCM Methods. Canberra distance measures gives better retrieval results both in the proposed methods. Average precision is calculated and the graph is drawn between Average precision and recall as shown in Fig. The method of image retrieval is illustrated in the block diagram Fig. In this study the image query and image database that are represented in the RGB color space is converted to gray. Firstly all images are stored to the database. An image in the database is to be considered as a match to a query if the distance of feature vector image in the databases and the distance between feature vector of a query image is equal to zero. The retrieval result is based on the similarity computation. Assessment chart with Recall VII. The search for the relevant information in the large database has become more challenging. In this paper a new proposed method TCUSM was framed for retrieval of images from a large database which gives better results and higher precision when compared to other methods. In this paper we have used four different features are obtained from an image based on energy, entropy, contrast and homogeneity. The proposed method TCUSM generally reduces the computational time and at the same time increases the user relations and also the exactness is better level as the images are retrieved on the basis of pixel in turn. Assessment with other methods The comparison of the proposed methods is carried with Sulochanan et. Metty Mustikasari et. GLCM using Image sub blocks and DWT retrieval methods are compared with the proposed statistical method TCUSM. TABLE 2. COMPARISON OF PROPOSED TCUSM WITH OTHER METHOD Category Images DWT GLCM Precisi Recall Framelet Transform Precisi Recal Proposed TCUSM Precisi Recall Autumn Dog Bear Ship Flowers Train Castle Cloud Cat Horses Average (%) CONCLUSION REFERENCES