• No results found

Face Image Retrieval Using LBP Features and Sparse Codewords

N/A
N/A
Protected

Academic year: 2022

Share "Face Image Retrieval Using LBP Features and Sparse Codewords"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

Nuzhat Mobeen

, IJRIT-121 International Journal of Research in Information Technology

(IJRIT)

www.ijrit.com ISSN 2001-5569

Face Image Retrieval Using LBP Features and Sparse Codewords

Nuzhat Mobeen1 , Aradhana D2

1M.Tech 4th semester, Department of CSE, BITM Bellary, Karnataka, India

[email protected]

2Associate Professor, Department of CSE, BITM Bellary, Karnataka, India

[email protected]

Abstract

The rising popularity of digital devices such as cameras, smart phones etc., has led to immense growth with respect to photos available in our life. Photos with images of loved ones are the major interest of users who share their moments of life via the social networks and photo sharing services such as Facebook, Flickr etc. Searching of human face images has become an important research problem enabling many real world applications. This paper intends to discuss a Face image retrieval method that aims to improve the content based image retrieval by processing the image to perform face detection ,facial landmark detection feature extraction and codeword generation to generate attribute enhanced sparse codewords to perform matching image retrieval.

Keywords:Face Detection,Facial Landmark Detection ,LBP Features,Attribute Enhanced Sparse Codewords,

1. Introduction

One of the important and challenging problems in todays life is large-scale content-based face image retrieval. Searching of pictures with faces of loved ones is interesting and popular with the rising use of technology. Given a query face image, the problem addressed by the content-based face image retrieval is to find similar face images from a very large image database. This has beens an enabling technology for many applications including social networking sites, online job sites, automatic face annotation, crime related investigation, etc. The conventional methods for face image retrieval utilize low-level features of the images such as pixel gradient to represent faces, but these low-level features lack semantic meanings and face images usually poses high variation in terms of expression, lighting and posing, therefore retrieval results are unsatisfactory.

Automatically detected human attributes contain meaningful cues of the face photos. This can be utilized to improve content based face retrieval by forming semantic code words for proficient large-scale face retrieval. The Face images of two different individuals may be very similar with respect to the low- level feature space. The low-level features and the high-level human attributes are combined to achieve, better feature representations, thus enhancing the retrieval results. The high level attributes and the low level features of the image are both merged together to obtain more meaningful codewords.

(2)

Nuzhat Mobeen

, IJRIT-122 2. Objective & Motivation

To present paper based to discuss a method that will improve the face image retrieval from a large image database accurately and improve content based image retrieval. The paper discusses a method which shall retrieve matching images from the large image database based on semantic code words. The face images should be retrieved accurately while minimizing the retrieval time.

3. Related Work

Conventional methods for face image retrieval utilize low level features in images, such as pixel values, gradient directions, histograms of oriented gradients to represent faces.

[1] This paper proposes “Retrieval based Face Annotation by weak label regularized local coordinate coding” in 2011, which is a promising paradigm in mining massive web facial images for automated face annotation. They propose a novel Weak Label regularized Local Coordinate Coding (WLRLCC) technique which attempts to boost the annotation performance by a unified learning scheme.

But in the proposed method low-level features lack semantic meanings and face images usually have high variance in expression, posing etc., so the retrieval results are unsatisfactory.

Traditional CBIR techniques use two kinds of indexing systems to deal with large scale data, inverted indexing or hash-based indexing combined with bag-of-word model (BoW) and local features like SIFT, to achieve efficient similarity search.

[2] The author proposed “Semantics Preserving bag-of words model and applications”, in 2010.

BoW representation transforms high dimensional local features into discrete visual words (VWs). To represent an image using BoW model, an image can be treated as a document. It usually requires the following three steps to process the image: to detect the features from the image, perform description of the feature and the finally generation of codebook. After detecting the feature, every image is extracted by many image patches. Feature representation technique concentrates with how to represent the patches as numerical values. These values are called feature descriptors.

The disadvantages of BoW include that it ignores the spatial relationships among the patches, which is very important in image representation.However, traditional BoW-like methods fail to address issues related to noisily quantized visual features and vast variations in viewpoints, lighting conditions, occlusions, etc., commonly observed in large-scale image collections.

Although these methods can achieve high precision on rigid object retrieval, they suffer from low recall problem due to the semantic gap. Recently, some researchers have focused on bridging the semantic gap by finding semantic image representations to improve the CBIR performance by using extra textual information to construct semantic code words, others propose to use class labels for semantic hashing. The idea of the work of the proposed system is similar to the aforementioned methods, but instead of using extra information that might require intensive human annotations (and tagging), automatically detected human attributes are exploited to construct semantic codewords for the face image retrieval task.

[3] This paper proposes component-based local binary pattern (LBP), a well known feature for face recognition, combined with sparse coding and partial identity information to construct semantic codewords for content-based face image retrieval.

Although images naturally have very high dimensional representations, those within the same class usually lie on a low dimensional subspace. Sparse coding can exploit the semantics of the data and achieve promising results .

[4] This paper proposes that the images can be defined by giving meaningful labels to describe its appearance. The proposed method uses features in the image such as pixel values gradient etc. which are low level features to represent an image. The representations which are obtained describe the images with labeled set of visual attributes.

(3)

Nuzhat Mobeen

, IJRIT-123 4. Proposed System - Face Image Retrieval Using LBP Features and Sparse

Codewords

The proposed system describes a method for retrieval wherein a local image database is created and for every image, preprocessing is done by performing face detection, facial landmark detection. Viola- Jones face detector is utilized to find the locations of faces. Active shape model is the deformative model that locates 68 facial landmarks on the image. For each of the facial component, the image is separated into patches and each such grid is a square patch. From five of the mentioned components i.e. two eyes, nose tip, and two mouth corners, image patches are extracted and a 59-dimensional uniform LBP feature descriptor is computed..

The feature descriptors, are quantized into codewords using attribute-enhanced sparse coding.The histograms are calculated for the image patches and Euclidean distance is used to measure the similarity between the query image and images in the database. Inverted index is then built for efficient retrieval. Fig 1 shows the system architecture is diagram.

Fig 1: Proposed system architecture

4.1. Preprocessing-

The input image is converted to gray scale image and filtering, is performed to remove the noise, while retaining the salient edges. Gaussian Filter is used to cause blur effect on the image. It is used to

Matching

Codeword Generation Feature Extraction

Preprocessing Query Image

Retrieval Database

(4)

Nuzhat Mobeen

, IJRIT-124

reduce the noise and the image details. The next step in preprocessing is face detection. Face detection is applied to the image to find the locations of the face. Viola jones face detector is used to find the locations of faces it uses the Haar like features which make the detection faster. The intensity difference between the two regions is calculated. It starts with a simple two feature classifier. It builts weak classifiers and then combines the weak classifiers to get a strong classifier.It rejects all the other sub windows other than the region of interest. The 20 stage cascade classifier is built to perform detection of the face objects.

The landmarks are detected using the active shape model. It is called the deformative object model since the ASM iteratively deforms to fit the shape of the model that is guided by the point distribution model.

The point distribution model defines the region boundaries of the shape of the object. Active shape model is applied to locate different facial landmarks on the image.

Fig 2: Face Detection

4.2. Feature Extraction

The images are separated as patches and from each of the detected facial component, square patches called as grids are extracted. An image patch can be extracted to compute uniform Local Binary Pattern feature descriptor as a local feature. The grids are extracted from two eyes, nose tip, and two mouth corners. 59-dimensional uniform LBP feature descriptor is computed as a local feature which improves the detection performance.

Each pixel in the image is compared with its neighborhood pixels. Taking a pixel as center and thresholding its neighbors against it, denote it with 0 or 1. If the intensity of the center pixel is greater-equal its neighbor, then denote it with 1 and 0 if not. Let 'c' be the centre pixel and n1 to n8 be eight neighbouring pixels from left bottom in clockwise direction. Compare centre pixel 'c' with each pi, i from 1 to 8. If ni > c, set ai= 1, else 0. This results in a binary number for each pixel, for example 11001111. For 8 surrounding pixels 2^8 possible combinations called are resulted. Then orderly arrange all ai's and find number of transition in bits. If transition less than three, it considered as uniform and its uniform LBP value is set as decimal value of ai from 1 to 8..

If transition greater than two, it considered as non-uniform and set uniform LBP value of centre pixel as a constant say for example 5. For a 10x10 patch, there are 64 non boundary pixels and found uniform LBP value of all 64 non boundary pixels and the histogram is computed and then 59 dimensional uniform LBP value for a patch is obtained. Likewise find 59 dimensional ULBP from all square patches of size 10x10 from all extracted components.

(5)

Nuzhat Mobeen

, IJRIT-125

Image Patch: 1 Image Patch: 2

Image Patch: 3 Image Patch: 4

Fig 3:Image patches

LBPimage: 1 LBPimage: 2

LBPimage: 3 LBPimage: 4

Fig 4:LBP features

4.3. Codeword Generation

When a large set of input patterns are given, sparse coding attempt to automatically find a small number of representative patterns which, can be combined in the right proportions, reproduce the original input patterns.

After obtaining local feature descriptors, every descriptor can be quantized into codewords by using sparse coding. For each image, the sparse representation is obtained by taking non-zero entries in the sparse representation as codewords. Attribute enhanced sparse code words are built to enhance the retrieval process.

4.4. Matching Images-

The similarity between two images are computed using the Euclidean distance function. The Euclidean distance for the image is calculated. The Euclidean distance is the distance between two points given by the Pythagorean formula .It maps high-dimensional samples to a low-dimensional space. Finally,

(6)

Nuzhat Mobeen

, IJRIT-126

the minimum distance of samples is calculated. After finding the minimum distance, it will be sorted to find index value of the image. From the index value, the image will be retrieved from the database.

1 2 3 4

5

6

7

8

9 10

11 12 13 14 15

Fig 5:Output Results

5. Conclusion-

This paper proposes an image retrieval method that performs face detection and feature extraction to extract the LBP features from all square patches and to construct attribute enhanced sparse code words. The sparse code words perform accurate and fast retrieval of matching images from the image database. The system tries to improve image retrieval and improve content based image retrieval.

6. References

[1].Retrieval Based Face Annotation by weak label Regularized Local Coordinate Coding.-Dayong Wang Steven .H. Hoi, Ying He, Jianke Zhu, School of Computer Engineering Nanyang Technological University, Singapore. College of Computer Science Zhejiang University, Hangzhou, China. MM’11 Proceedings of the 19th ACM International Conference on Multimedia.ACM New York, NY, USA 2011.

[2]. Semi supervised face image retrieval using sparse coding with identity constraint- B.C.Chen,Y.H.Kuo,Y.-Y.Chen,K.-Y.Chen ACM Multimedia,2011

[3]. Semi supervised face image retrieval using sparse coding with identity constraint- B.C.Chen,Y.H.Kuo,Y.-Y.Chen,K.-Y.Chen ACM Multimedia,2011

[4]. Describable Visual Attributes for Face Verification and Image Search- Neeraj Kumar, Student Member, IEEE, Alexander C. Berg, Member, IEEE, Peter N. Belhumeur and Shree K. Nayar, Member, IEEE. IEEE Transactions on Pattern Analysis and Machine Intelligence- Vol 33.Issue 10 Oct-2011.

[5]. Scalable Face Image Retrieval Using Attribute enhanced Sparse Codewords-Bor-Chun Chen,Yun-Ying Chen,Yin-his Kuo, Winston H.Hsu, IEEE transactions on multimedia 2013.

References

Related documents

Vol 11, Issue 6, 2018 Online 2455 3891 Print 0974 2441 PREVALENCE OF HYPERTENSION AND DETERMINATION OF ITS RISK FACTORS IN KORANGRAPADY, UDUPI DISTRICT, COASTAL KARNATAKA, INDIA

On the other hand, Coh f are significantly different even though in the same distance class. According to the subsurface velocity structures in Figure 3, P and S-wave

we use and analyze the MQTT protocol and take four scenarios and evaluate the proposed design by using OMNET++ simulation environment and its INET frame work, from the

The InterRisk Assess research project is working to develop a systematic approach to the analysis and evaluation of economic landslide risks at a local and regional scale.. Its

Figure 6-4 Expression of integrin a6 mRNA during zebrafish

First Legal has created a Litigation Cost Containment Solution that provides negotiated rates directly to companies for these legal services (court filings, court research,

Analysis of variance for SPAD, mass, and height as influenced by interaction from location (Rocky Mount and Lewiston), previous crop (soybean or fallow), and N rate (0, 11, 17, 34,

gence on homologous recombination as analyzed by a random- ␣ (the initial A -particle density) fixed, a contact point walk model.. Kobayashi,