Skip to content

arorayash/mdLBP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMAGE AND VISION COMPUTING

Multichannel Decoded Local Binary Patterns for Content Based Image Retrieval

Related paper

Project brief

Local binary patterns (LBP) is a type of visual descriptor used for classification in computer vision. LBP is the particular case of the Texture Spectrum model. To describe the color images, it is required to combine the LBPs from each channel of the image. In traditional approach the LBPs of each channel are calculated and concatenated. However, this increase the dimensionality of the pattern. In order to cope with this problem, a novel method for image description with multichannel decoded local binary patterns is proposed. Adder and decoder based two schemas for the combination of the LBPs from more than one channel are introduced.

Tech

Introduction

To describe the color images using local patterns, several researchers adopted the multichannel feature extraction approaches. These techniques can be classified in four categories -

Here, two multichannel decoded local binary pattern approaches namely multichannel adder based local binary pattern (𝑚𝑎𝐿𝐵𝑃) and multichannel decoder based local binary pattern (𝑚𝑑𝐿𝐵𝑃) to utilize the local binary pattern information of multiple channels in efficient manners. Total 𝑐 + 1 and 2𝑐 number of output channels are generated by using multichannel adder and decoder respectively from 𝑐 number of input channels for 𝑐 ≥ 2.

Description and Approach

Consider the given input image -

alt text

The image is first split into three (Red, Green, Blue) channels.

alt text alt text alt text

Each channel is then padded in order to calculate the Local Binary Pattern. The procedure for calculating LBP is given as follows -

  • Divide the examined window into cells.
  • For each pixel in a cell, compare the pixel to each of its 8 neighbors (on its left-top, left-middle, left-bottom, right-top, etc.). Follow the pixels along a circle, i.e. clockwise or counterclockwise.
  • Where the center pixel's value is greater than the neighbor's value, write "0". Otherwise, write "1". This gives an 8-digit binary number (which is usually converted to decimal for convenience).
  • Compute the histogram, over the cell, of the frequency of each "number" occurring (i.e., each combination of which pixels are smaller and which are greater than the center). This histogram can be seen as a 256-dimensional feature vector.
  • Concatenate histograms of all cells. This gives a feature vector for the entire window.

For simplicity, we consider 8 neighbours and radius of 1 unit.

The formulae for calculating the LBP of a channel are given as -

While calculating the LBP for each channel, multichannel adder and decoder maps are used to calculate the maMn(x, y) and mdMn(x, y) values. The table is given as follows.

The following formulae are used to calculate the Multichannel adder based local binary pattern for each input channels. The corresponding output are given.

The following formulae are used to calculate the Multichannel decoder based local binary pattern for each input channels. The corresponding output are given.

The feature vectors are then calculated using the following formulae -

Inference and conclusion

It can be perceived that the decoder channels are having a better texture differentiation as compared to the adder channels and input channels while adder channels are better differentiated than input channels. In other words, we can say that by applying the adder and decoder transformation the inter channel de-correlated information among the adder and decoder channels increases as compared to the same among the input channels. Four and eight output channels are produced by the adder and decoder respectively The calculated feature vector is used to define the image in the database and hence can be used to retrieve similar images based upon the image content.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages