GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - arsho/local_binary_patterns: Local Binary Patterns implementation using Python3 and OpenCV

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
screenshot
screenshot
 
 
lbp.py
lbp.py
 
 
lenna.jpg
lenna.jpg
 
 
readme.md
readme.md
 
 
two_bin.py
two_bin.py
 
 

Repository files navigation

Local Binary Patterns implementation using Python 3

Local Binary Pattern (LBP) is a simple yet very efficient texture operator which labels the pixels of an image by thresholding the neighborhood of each pixel and considers the result as a binary number. Click here to learn more.

Moreover, I also added a pattern code for two bins only to compare the result of LBP and two bin pattern.

Packages Used

The program is coded using Windows 10 (64 bit) operating system with Python version 3.5.2.

The following packages are necessary to run the program:

Package Version Installation
OpenCV 3.2.0 pip install opencv-python
Numpy 1.11.3 pip install numpy
Matplotlib 1.5.3 pip install matplotlib

Image Used

alt Lena Söderberg

  • Click to download original image of Lena Söderberg

Output of lbp.py

The output consists of the gray scale image, LBP representation image and LBP histogram. alt output of lbp

Output of two_bin.py

The output consists of the gray scale image, Two Bin representation image and Two Bin histogram. alt output of lbp

References

  • Local Binary Patterns with Python & OpenCV
  • Local Binary Patterns Wiki

Feel free to contribute for improvement.

About

Local Binary Patterns implementation using Python3 and OpenCV

Topics

lbplocalbinarypatternsopencv-python

Resources

Readme
Activity

Stars

92 stars

Watchers

3 watching

Forks

35 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.