Texture Matching using Local Binary Patterns (LBP)
Python
Latest commit 157f9f6 May 17, 2015 @bikz05 Updated README.md
Permalink
Failed to load latest commit information.
data/lbp Updated perform-testing.py May 16, 2015
docs/images
.gitignore Updated perform-testing.py May 16, 2015
README.md Updated README.md May 17, 2015
lbp.pkl Updated perform-testing.py May 16, 2015
perform-testing.py Updated perform-testing.py May 16, 2015
perform-training.py First commit May 16, 2015

README.md

Texture Matching using Local Binary Patterns (LBP)

Related blog post explaining the code - Click Here

Usage

Perform training using

python perform-training.py -t data/lbp/train/ -l data/lbp/class_train.txt

Perform testing using

python perform-testing.py -t data/lbp/test/ -l data/lbp/class_test.txt

Results

Let's check out the results.

Input Image -- ROCK Class

Here is an input image of a rock texture.

alt tag

Matching Scores - Below are the sorted results of matching. The top 2 scores are of rock texture.

alt tag

Input Image -- CHECKERED Class

Here is an input image of a checkered texture .

alt tag

Matching Scores - Below are the sorted results of matching. The top 2 scores are of checkered texture.

alt tag

Input Image -- GRASS Class

Here is an input image of a grass texture.

alt tag

Matching Scores - Below are the sorted results of matching. The top 2 scores are of grass texture.

alt tag