Improved Image Retrieval based on Fuzzy Colour Feature Vector

Similar documents
Content Based Image Retrieval Using Color Histogram

Segmentation using Saturation Thresholding and its Application in Content-Based Retrieval of Images

DESIGN & DEVELOPMENT OF COLOR MATCHING ALGORITHM FOR IMAGE RETRIEVAL USING HISTOGRAM AND SEGMENTATION TECHNIQUES

Performance Analysis of Color Components in Histogram-Based Image Retrieval

A Methodology to Create a Fingerprint for RGB Color Image

EFFICIENT COLOR IMAGE INDEXING AND RETRIEVAL USING A VECTOR-BASED SCHEME

Spatial Color Indexing using ACC Algorithm

Colour Profiling Using Multiple Colour Spaces

Computer Graphics. Si Lu. Fall er_graphics.htm 10/02/2015

Color Image Processing

Color Image Segmentation using FCM Clustering Technique in RGB, L*a*b, HSV, YIQ Color spaces

An Efficient Method for Landscape Image Classification and Matching Based on MPEG-7 Descriptors

Color Image Processing

Chapter 3 Part 2 Color image processing

ROTATION INVARIANT COLOR RETRIEVAL

Introduction to computer vision. Image Color Conversion. CIE Chromaticity Diagram and Color Gamut. Color Models

Image Extraction using Image Mining Technique

Color. Used heavily in human vision. Color is a pixel property, making some recognition problems easy

Locating the Query Block in a Source Document Image

Color: Readings: Ch 6: color spaces color histograms color segmentation

Prof. Feng Liu. Fall /02/2018

Color. Used heavily in human vision. Color is a pixel property, making some recognition problems easy

A Review : Fast Image Retrieval Based on Dominant Color Feature

Wavelet-Based Multiresolution Matching for Content-Based Image Retrieval

Digital Image Processing. Lecture # 6 Corner Detection & Color Processing

Lecture 8. Color Image Processing

Figure 1: Energy Distributions for light

International Journal of Innovative Research in Engineering Science and Technology APRIL 2018 ISSN X

A Novel Method for Enhancing Satellite & Land Survey Images Using Color Filter Array Interpolation Technique (CFA)

Digital Image Processing. Lecture # 8 Color Processing

VC 16/17 TP4 Colour and Noise

Reversible data hiding based on histogram modification using S-type and Hilbert curve scanning

Color Image Segmentation Using K-Means Clustering and Otsu s Adaptive Thresholding

Developing the Color Temperature Histogram Method for Improving the Content-Based Image Retrieval

I. INTRODUCTION. Keywords Image Contrast Enhancement; Fuzzy logic; Fuzzy Hyperbolic Threshold; Intelligent Techniques.

Interactive Computer Graphics

Brain Tumor Segmentation of MRI Images Using SVM Classifier Abstract: Keywords: INTRODUCTION RELATED WORK A UGC Recommended Journal

A SURVEY ON COLOR IMAGE SEGMENTATION BY AUTOMATIC SEEDED REGION GROWING

Fig Color spectrum seen by passing white light through a prism.

For a long time I limited myself to one color as a form of discipline. Pablo Picasso. Color Image Processing

Photo Quality Assessment based on a Focusing Map to Consider Shallow Depth of Field

Stamp Colors. Towards a Stamp-Oriented Color Guide: Objectifying Classification by Color. John M. Cibulskis, Ph.D. November 18-19, 2015

Computer Graphics Si Lu Fall /27/2016

Imaging Process (review)

White Intensity = 1. Black Intensity = 0

Integrated Digital System for Yarn Surface Quality Evaluation using Computer Vision and Artificial Intelligence

An Efficient Color Image Segmentation using Edge Detection and Thresholding Methods

Region Based Satellite Image Segmentation Using JSEG Algorithm

Keywords Fuzzy Logic, ANN, Histogram Equalization, Spatial Averaging, High Boost filtering, MSE, RMSE, SNR, PSNR.

COLOR IMAGE SEGMENTATION USING K-MEANS CLASSIFICATION ON RGB HISTOGRAM SADIA BASAR, AWAIS ADNAN, NAILA HABIB KHAN, SHAHAB HAIDER

Colors in Images & Video

A Comparison of Histogram and Template Matching for Face Verification

IMAGE INTENSIFICATION TECHNIQUE USING HORIZONTAL SITUATION INDICATOR

NORMALIZED SI CORRECTION FOR HUE-PRESERVING COLOR IMAGE ENHANCEMENT

COLOR IMAGE SEMANTIC INFORMATION RETRIEVAL SYSTEM USING HUMAN SENSATION AND EMOTION

An Efficient Noise Removing Technique Using Mdbut Filter in Images

LECTURE 07 COLORS IN IMAGES & VIDEO

Images and Graphics. 4. Images and Graphics - Copyright Denis Hamelin - Ryerson University

Multiresolution Analysis of Connectivity

Color Image Enhancement by Histogram Equalization in Heterogeneous Color Space

Colour Based People Search in Surveillance

CSE 332/564: Visualization. Fundamentals of Color. Perception of Light Intensity. Computer Science Department Stony Brook University

COLOR-TONE SIMILARITY OF DIGITAL IMAGES

Developing a New Color Model for Image Analysis and Processing

Unit 8: Color Image Processing

Recursive Plateau Histogram Equalization for the Contrast Enhancement of the Infrared Images

Nonuniform multi level crossing for signal reconstruction

Detection of Compound Structures in Very High Spatial Resolution Images

Color images C1 C2 C3

Window Averaging Method to Create a Feature Victor for RGB Color Image

An Efficient Gaussian Noise Removal Image Enhancement Technique for Gray Scale Images V. Murugan, R. Balasubramanian

Compression Method for Handwritten Document Images in Devnagri Script

Hand Gesture Recognition System Using Camera

Reference Free Image Quality Evaluation

Introduction. The Spectral Basis for Color

PAPER Grayscale Image Segmentation Using Color Space

Published in A R DIGITECH

YIQ color model. Used in United States commercial TV broadcasting (NTSC system).

Extraction and Recognition of Text From Digital English Comic Image Using Median Filter

Contrast Enhancement in Digital Images Using an Adaptive Unsharp Masking Method

New Feature Extraction Technique for Color Image Clustering

Visual Communication by Colours in Human Computer Interface

ABSTRACT I. INTRODUCTION

Detection and Verification of Missing Components in SMD using AOI Techniques

Advanced Maximal Similarity Based Region Merging By User Interactions

Implementation of Block based Mean and Median Filter for Removal of Salt and Pepper Noise

Content based Color Image Clustering

Image and video processing

8.2 IMAGE PROCESSING VERSUS IMAGE ANALYSIS Image processing: The collection of routines and

Image Representation using RGB Color Space

Hash Function Learning via Codewords

Travel Photo Album Summarization based on Aesthetic quality, Interestingness, and Memorableness

APPLICATION OF COMPUTER VISION FOR DETERMINATION OF SYMMETRICAL OBJECT POSITION IN THREE DIMENSIONAL SPACE

COLOR IMAGE SEGMENTATION BASED ON JND COLOR HISTOGRAM

Maturity Detection of Fruits and Vegetables using K-Means Clustering Technique

CSE1710. Big Picture. Reminder

Enhancing thermal video using a public database of images

arxiv: v3 [cs.cv] 18 Dec 2018

Audio Fingerprinting using Fractional Fourier Transform

A Chinese License Plate Recognition System

Transcription:

Improved Image Retrieval based on Fuzzy Colour Feature Vector Sami B. Abugharsa, and Ahlam M. Ben-Ahmeida Abstract--- One of Image indexing techniques is the Content- Based Image Retrieval which is an efficient way for retrieving images from the image database automatically based on their visual contents such as colour, texture, and shape. In this paper will be discuss how using content-based image retrieval (CBIR) method by colour feature extraction and similarity checking. By dividing the query image and all images in the database into pieces and extract the features of each part separately and comparing the corresponding portions in order to increase the accuracy in the retrieval. The proposed approach is based on the use of fuzzy sets, to overcome the problem of curse of dimensionality. The contribution of colour of each pixel is associated to all the bins in the histogram using fuzzyset membership functions. As a result, the Fuzzy Colour Histogram (FCH), outperformed the Conventional Colour Histogram (CCH) in image retrieving, due to its speedy results, where were images represented as signatures that took less size of memory, depending on the number of divisions. The results also showed that FCH is less sensitive and more robust to brightness changes than the CCH with better retrieval recall values. Fuzzy Color Histogram, Fuzzy membership, Fuzzy Colour Feature Vector, Conventional Color Histogram, Image Signature, Image Retrieval, Histogram bins, Feature Extraction, Query Image, Image Databases. Keywords--- Retrieval based on Fuzzy Colour Feature Vector I. INTRODUCTION MAGE databases are becoming increasingly common and Ifinding application in wide areas of disciplines such as medical images, digital libraries, criminology, satellite imagery, government documents and to trade marks justification. With the increase in the use of image databases, the need for fast search of similarities between query images and the database images increases. Content-based Image Retrieval (CBIR) system is a search engine for retrieving desired images from a large collection on the basis of features (such as color, texture and shape) that can be automatically extracted from the images themselves. The features used for retrieval can be either primitive or semantic, but the extraction process must be automatic to avoid user subjectivity [1] [2]. Three stages are very important in every Content-Based Image Retrieval (CBIR). The CBIR system consists of image pre-processing, features extraction and similarity measure. The first stage is needed for image segmentation, de-noising normalization or conversion of image into a different color space[3]. The second stage is features extraction. These visual contents of the image are converted to 1-D vector. When selection of features space, it is important that the selected features represent the image as close as possible and this point is the key to a good retrieval system. Because the selected features are going to be used for retrieval, between the query image and images in the database and the database indexing should be measured in distance. Signature vector must be representative (have the ability to represent any image with a reasonable length). It must be of a reasonable length to avoid the curse of dimension and high account costs. The third stage is the similarity measure between the query image and database images. This can be performed by measuring distance between query and every image in the database. Instead of exact matching, CBIR systems calculate visual similarities between a query image and images in a database. Accordingly, the retrieval result is not a single image but a list of images ranked by their similarities measures with the query image [4]. In local feature extraction, a set of features are computed for every pixel using its neighborhood (e.g., average colour values across a small block centered around the pixel). To reduce computation, an image may be divided into subimages and convert it to 1-D vector as a signature, but the amount of computation is only a fraction of that for obtaining features around every pixel. Let the feature vectors extracted at block or pixel location. Exploration of colour features was active in nascent CBIR, with emphasis on exploiting colour spaces, e.g.(hue, Saturation and Value), The HSV coincides better with human vision than the basic (Red, Green and Blue), In recent years, research on colour features has focused more on the summarization of colours in an image, that is, the construction of signatures out of colours [5]. For instance, in a colour feature extraction approach, an image is divided into several regions (e.g., red, green, and blue intensities) are computed for every image, and after converting it from RGB colour space to HSV colour space. The overall image is thus represented by a vector of colour components where a particular dimension of the vector corresponds to a certain to several regions in an images. The advantage of colour feature extraction is its high speed for both extracting features and computing similarity. This paper is organized as follows: Section 2 describes the Colour Space Representations. Section 3 is for fuzzy set and fuzzy variables and image signature using FCH. Section 4 for image experimental results and section 5 conclusions. Sami B. Abugharsa, Education College (University Of Misurata), Misurata, Libya 44

II. COLOUR SPACE REPRESENTATION A colour space is a coordinate system that allow colours to be measured and quantitatively specified[5]. RGB and HSV systems, are good examples of colour space representations. A. RGB Colour Space Most of image processing applications treat an image as collections of pixels comprised of red, green, and blue (RGB) values. RGB at 3-axis range [0 1] and each gray scale along the diagonal of each component is quantized into 256 levels [0:255]. The total number of different colours of 24 bits RGB colour space that can be produced is = 2 24 = 16,777,216 colours. B. HSV Colour Space Human do not perceive colours by combining different amounts of red, green and blue. Colours are perceived in terms of Hue (H), Saturation(S) and Value (V) as shown in Fig. ure (1). HSV seeks to depict relationships between colours, and improve upon the RGB colour model. Standing for hue, saturation, and value, HSV depicts three-dimensional colour, the center axis goes from white at the top to black at the bottom, with other neutral colours in between. The angle from the axis depicts the hue, the distance from the axis depicts saturation, and the distance along the axis depicts value. HSV is usually referred to as Perceptual Colour Space (PCS) [6]. A computer may describe a colour using the amounts of red, green and blue phosphor emission required to match a colour [8]. III. FUZZY VARIABLES AND FUZZY COLOUR HISTOGRAM (FCH) In our CBIR system, each pixel value is converted to 6 (Hue) X 3 (Saturation) X 1 (Value) which is equivalent to 18 bins values. In addition 3 (Gray scale) is added for special case where Hue is undefined compute the signature from RGB histogram [7]. A signature histogram is constructed by accumulating the value for each of the 21 histogram bins. The image signature will consist of 21 values. To overcome the colour distribution problem in CCH system as shown in Fig. ure (2), the image will be divided into 2 or 3 or 4 regions or parts as shown in Fig. ure (3), and one fuzzy colour histogram is obtained for each region making the dimension of the signature equal to 2X21=42 bins, if the image division into 3 parts the length of signature equal to 3X21=63 bins, if the image division into 4 parts the length of signature equal to 4X21=84 bins, thus the multiply in 21 will be for all the regions in the image after division to know the difference between results and do comparing between them [10][12]. Fig.1 HSV Colour space C. Colour Space Conversion Unchanged. The equivalent operation in the RGB color space would need to modify the red, green, and blue components). Given a colour defined by (R, G, B) where R, G, and B are between 0 to 255, the equivalent (H, S, V) colour can be determined by these equations used for translating from the RGB color space to the HSV color space as follows [4]: Let Max = maximum(red, green, blue) Min = minimum(red, green, blue) Delta = Max Min Fig.. 2 Two perceptually different images with equal colour distribution 45

Blue V13 V14 V15 MAGENTA V16 V17 V18 Undefined V19 V20 V21 Fig. 3 Different division between two image For all membership function we have used Triangle membership is defined by a lower Limit a and an upper Limit b, and a value θ, where a < θ < b as follows: The consequence part represents the increase of the FCH bin which corresponds to the rule. Every subset has a center where its membership equal 1 [7]. The HSV spectrums are divided into several centers as follows: A. Hue Center The Hue value is represented by six subsets as shown in Fig. ure (5). The centers of the subsets are defined empirically by the following values: {0, 60, 120, 180, 240, 300 and 360}. Each value will activate only two subsets [11]. B. Saturation The highest saturation is 255 will corresponds to 1 membership while 0 saturation corresponds to 0 membership. The saturation represents the strength of the colour. The higher the saturation, the higher the membership. Each Hue value is multiplied by the saturation. Values which are not activated will be zero and will not be affected by the saturation. Fig. ure (6) shows an example of the saturation of green colour [11]. Fig. 4 A Triangular membership function 0, if x a x a, if x [a, θ] θ a µ A (x) = b x, if x [θ, b] b θ 0, if x b FCH is constructed from fuzzy rules which are fuzzy rules represented by IF-THEN construction that have the general form of "IF A THEN B" where A is called a premise and B is called a consequence. IF-THEN rules exploits the tolerance for imprecision and uncertainty [9]. In this respect, constructing the FCH from fuzzy rules is as shown in Table (1), as an example: Hue Colour = {Hue Red, Hue Yellow,.., Hue Green, Hue Cyan, Hue Blue, Hue Magenta } Saturation Colour = {Saturation Low, Saturation Medium, Saturation High } µ Hue = Max (µ HueYellow, µ HueGreen ) µ Saturation = Max µ SaturationMedium, µ SaturationHigh The out of the premise part is defined as: µ premise = (µ Hue, µ Saturation ) (4) Fig.. 5 Membership function of Hue C. Value Fig.. 6 Membership function of Saturation The membership of the value is representing as shown in Fig. ure (7). The fuzzy set of the value representing as full rank from 0 to the 255. Each value of the Hue is multiplied by the saturation and multiplied by value. D. Gray Scale Black, Gray and White colours are represented by three separate bins, since they are not included in the hue bins and the value of the Hue is undefined when these colours are equal shown in Fig. ure (8). TABLE I STRUCTURE OF LINGUISTIC FUZZY RULE BASE Saturation Hue Low Media High Red V1 V2 V3 Yellow V4 V5 V6 Green V7 V8 V9 CYAN V10 V11 V12 Fig. 7 Membership function of the Value Fig. 8 Hue representation for R=G=B Where the parameters a and b represent the left and right boundary of the set θ represents the center of the set as shown in Fig. ure (9), the θ denotes the model value. 46

B. Sample of Images Selected to Measure Recall Measurement The experiments were performed on a large heterogeneous database of up to 9,908 Bmp images with a lot of images, used as queries, demonstrate that set stages in the FCH technique performs better than the CCH technique depending on the divisions selected. In next samples, are seen that the ratio of Recall for FCH is highs compared with Recall for CCH. In order to measure the Recall of the system performance, the CBIR system was tested with a database contains 100 images, and any 9 images were similar to each other. The value of Recall for such a representation is given by the function [17]: Fig. 9 Example represented Structural components of the Fuzzy logic IV. EXPERIMENTAL RESULTS The size of web-crawled database which contains 9,908 images is about 338 Mb, size of FCH files is sure less than 338 Mb depending on the number of division this means depending on length of the signature, Obviously, for taking all signatures for all images in CCH requires four times more, the representation of the features of 42 Bins and the values or length of signature increase by division. A. Distance Measure A similarity measure is metric which expresses how close or far two n-dimensional feature vectors. When a query is executed the similarity between the query image (or query images) and every image in the database is calculated. The images which are closest (those with the smallest distances from the query) are expected to be better results. There are several distance measures. Each distance measure compares two vectors, u and v. Both vectors have a dimensionality of n [8]. L1 distance: (also known as Manhattan distance and city block distance) is the sum of the absolute difference of all the corresponding points in the vectors u and v. It is typically used to compare image features such as colour histograms. The L1 distance between vectors u and v is: Recall Value = Number of relevent documents that retrieved Total number of relevant documents Ra R Where Ra denotes a subset of relevant documents, which appear in the retrieved document list [17]. For example, if the database comprises of 100 relevant documents for a query, and the search procedure was able to retrieve only 10 of these relevant documents, then the Recall of the system for this particular query would be 10%. C. Results Analysis and Comparison The proposed technique is tested on three database as follows: WEB-CRAWLED database: It contains about 9,908 of natural scenes of images of sizes ranging from 128 x 85 to 128 x 96 pixels or 85 x128 to 96 x 128 pixels. This database is internationally used as a benchmark for CBIR testing. Results using this database. COUNTRY FLAGS database: This is a simple database taken from the original database, used for primary testing. It contains the flags of about 100 countries. Results using this database are shown in Fig. ure (11, 12, 13, 14 and 15). OWN database: This database is created by us to test the system. It contains about 100 colour images taken under different conditions from WEB-CRAWLED database. = (5) n L1(u, v) = i=0 u i v i (5) Fig. 10 The System interface shows sample query Fig. 11 CCH results obtained using Countries Flags database 47

Fig. 12 FCH results obtained using Countries Flags database (2 Division For Image) As a result notes FCH better than CCH of saluting the accuracy of the results even after change the brightness in the images and experience the results, because considers the contribution of each pixel into all bins, hence reducing the sensitivity of the signature, time reducing, this gives some spatial sensitivity, but increases the computing power and storage needed. Fig. 14 FCH results obtained using Countries Flags database (4 Division For Image) Experimental results showed from Fig. ures Previous and in tables below that the obtained FCH is less sensitive to brightness from CCH, the results are not consistent with how the images look to the human eye, because in CCH the problems with colour histogram this is however not the only problem associated with colour histograms. One other common problem is that of bin similarity. Fig. ure (15) shows CCH results were obtained by changing in brightness using images database, and Fig. ures (16, 17 and 18) show FCH results are obtained by changing in brightness images database for any division. Fig. 13 FCH results obtained using Countries Flags database (3 Division For Image) Fig. 15 9 best matches by CCH Recall value = 33% 48

As can be seen, the following tables give the summary results for OWN images database. TABLE II TESTING FOR 100 IMAGES USING DIFFERENT SIGNATURE PARAMETERS TABLE III COMPARING RECALL VALUE RESULTS BETWEEN FCH AND CCH Fig.16 9 best matches by FCH Recall value = 66% TABLE IV TIME OF 9908 IMAGES FOR SIGNATURE CREATION Number of divisions FCH CCH 2 Parts 37.0059 min 3 Parts 35.1975 min 132.2808 min 4 Parts 90.2638 min Fig. 17 9 best matches by FCH Recall value = 77% TABLE V SIZE OF SIGNATURE FILE FOR 9908 IMAGES Number of divisions FCH CCH 2 Parts 0.2812 MB 3 Parts 0.2988 MB 4.18 MB 4 Parts 0.3457 MB TABLE VI TIME OF 9908 IMAGES WHEN RETRIEVING RESULTS Number of divisions FCH CCH 2 Parts 0.2242 min 3 Parts 0.2430 min 0.3033 min 4 Parts 0.2516 min Fig. 18 9 best matches by FCH Recall value = 89.5% V. CONCLUSION In this paper, we have reported a novel approach to color image signature.the approach is based on the application of fuzzy set theory and fuzzy rules on the color image retrieval was compared with CCH, and the results clearly showed that our proposed image signature outperforms the CCH signature. 49

In this CBIR system, the HSV was used instead of RGB because the advantages of HSV over RGB space is that HSV represents colour the way they are perceived by the human vision. To overcome the histogram problem of CCH, dividing the image into two, three or four parts, and representing any part by the signature if division the image into two parts, this would be less than the number of comparisons because the length of signature is short, and to be more accuracy division the image to three and four parts. This will be number of comparisons more and results recovered better because of its proximity is queried, in addition to that, the length of the signature increases the size, To increase the speed of the CBIR system, we used the K-means algorithm to perform clustering the entire images in the database into several groups, where the search is limited to the centers of the clusters. Using Graphical User Interface (GUI) in this CBIR system makes it easier for the users with nice and a friendly interface and bottoms for selection and for greater work efficiency. Thus, reducing the time of work and obtaining better effect to users. [13] JATIT. REFERENCES [1] J. Hafner, H. Sawhney,W. Equitz, M. Flickner, W. Niblack, "Efficient color Histogram indexing for quadratic form distance functions, IEEE Transactions on Pattern Analysis and Machine Intelligence, vol.17, pp.729-736, July 1995. [2] Hui Yu; Mingjing Li; Hong-Jiang Zhang; Jufu Feng, [Color texture moments for content-based image retrieval], Proc. ICIP 2002, vol. 3, pp:929-932, 24-28 June 2002. [3] Y.Deng, B. Manjunath, C.Kenney, M. Moore, H. Shin, [An efficient color representation for image retrieval], IEEE Transactions on Image Processing, vol. 10, pp.140 147, Jan 2001. [4] Joshi Madhuri A., [Digital Image Processing An Alogorithmic Approcach], PHL Learning private Limited, New Delhi-110001, July 2009. [5] Ritendra Datta, Dhiraj Joshi, Jia Li, And James Z. Wang, [Image Retrieval: Ideas, Influences, and Trends of the New Age. ACM Comput. Surv. 40], The Pennsylvania State University, Article 5 (April 2008). [6] Ka-Man Wong, Chun-Ho Chey, Tak-Shing Liu, Lai-Man Po, [Dominant color image retrieval using merged histogram], in Proc. ISCAS '03, vol. 2, pp:908-911, 25-28 May 2003. [7] I. El-Feghi, H. Aboasha, M. A. Sid-Ahmed, M. Ahmadi, Content- Based Image Retrieval Based on Efficient Fuzzy Color Signature, IEEE Explore, Al Fatah University, pp.7-10 Oct 2007. [8] Liam M. Mayron, [Image Retrieval Using Visual Attention], Ph.D. Dissertation Submitted to the Faculty of The College of Engineering and Computer Science, Florida Atlantic University, Boca Raton, Florida, May 2008. [9] J. Eakins and M. Graham, [Content-Based Image Retrieval], University of Northumbria at Newcastle, 2003. [10] P.S.SUHASINI, Dr.K.SRI RAMA KRISHNA, Dr.I.V.MURALI KRISHNA, "CBIR Using Color Histogram Processing", Journal of Theoretical and Applied Information Technology, 2005-2009 JATIT. [11] Heba Aboulmagd, Neamat El-Gayar, Hoda Onsi, [A new approch in content-based image retrieval using fuzzy], Springer Science Business Media, LLC 2008, 11 October 2008. [12] P.S.SUHASINI, Dr.K.SRI RAMA KRISHNA, Dr.I.V.MURALI KRISHNA, "CBIR Using Color Histogram Processing", Journal of Theoretical and Applied Information Technology, 2005-2009 50