当前位置:网站首页>[texture feature extraction] LBP image texture feature extraction based on MATLAB local binary mode [including Matlab source code 1931]
[texture feature extraction] LBP image texture feature extraction based on MATLAB local binary mode [including Matlab source code 1931]
2022-07-07 11:46:00 【Poseidon light】
One 、 How to get the code
How to get the code 1:
The complete code has been uploaded to my resources :【 Texture feature extraction 】 be based on matlab Local binary mode LBP Image texture feature extraction 【 contain Matlab Source code 1931 period 】
How to get the code 2:
By subscribing to Ziji Shenguang blog Paid column , With proof of payment , Private Blogger , This code is available .
remarks :
Subscribe to Ziji Shenguang blog Paid column , Free access to 1 Copy code ( The period of validity From the Subscription Date , Valid for three days );
Two 、 Local binary mode LBP Introduction to image texture feature extraction
1 Local binary mode
LBP It is an algorithm used to describe the local texture features of an image , It has remarkable advantages such as rotation invariance and gray invariance . The original LBP Is in 3×3 In the window of , Take the pixel value of the central pixel as the threshold , The neighborhood 8 Compare the value of pixels with the threshold , If the pixel value of the neighborhood point is greater than the central pixel , Remember as 1, Otherwise the record for 0, Then follow the specified coding direction , Give different weights to different neighborhood points , Convert a binary sequence into an unsigned decimal number , And use this value as the LBP The eigenvalue , The process is shown in the figure 1 Shown .Ojala Originally proposed LBP The operator has the disadvantage of being unable to extract large-scale structure texture , To solve this problem ,Ojala Make improvements , take 3×3 Neighborhood extended to any neighborhood , And use circular neighborhood instead of square neighborhood , Improved LBP The operator is allowed to have a radius of R There are any number of pixels in the circular neighborhood of . Sum up , For an image S Any pixel on S(i,j), Will be with S(i,j) Centered , The radius is R Contains P The region of sampling points is called its local neighborhood (P,R), Then pixels S(i,j) Of LBP The value can be defined as :
In style :gc Represents the center pixel S(i,j) Gray value ,gp Represents the gray value of the sampling point . Obtained by this method LBP Value has linear grayscale invariance , But when the image rotates , Corresponding LBP The value will also change . In order to solve the problem of rotation invariance ,Ojala etc. [11] Based on rotation invariance LBP Algorithm . For the same central point , Binary coding with different neighborhood pixels as the starting point , Thus, a series of binary codes are obtained , Select the smallest value as the LBP value .
chart 1 Local binary pattern extraction process
3、 ... and 、 Partial source code
clc;close all;clear;
img=imread('lena512color.tiff');
img=imresize(img,[256,256]);
figure, imshow(img);
Four 、 Running results


5、 ... and 、matlab Edition and references
1 matlab edition
2014a
2 reference
[1] Cai Limei .MATLAB The image processing —— theory 、 Algorithm and example analysis [M]. tsinghua university press ,2020.
[2] Yang Dan , Zhao Haibin , Long Zhe .MATLAB Detailed explanation of image processing examples [M]. tsinghua university press ,2013.
[3] Zhou pin .MATLAB Image processing and graphical user interface design [M]. tsinghua university press ,2013.
[4] Li Song , Cai hang , Yu Meng . Texture feature extraction method based on adaptive local binary pattern [J]. Computer applications and software . 2019,36(09)
3 remarks
This part of the introduction is taken from the Internet , For reference only , If infringement , Contact deletion
边栏推荐
- Have you ever met flick Oracle CDC, read a table without update operation, and read it repeatedly every ten seconds
- Talk about SOC startup (11) kernel initialization
- EasyUI learn to organize notes
- LeetCode - 面试题17.24 最大子矩阵
- 请查收.NET MAUI 的最新学习资源
- The annual salary of general test is 15W, and the annual salary of test and development is 30w+. What is the difference between the two?
- How to write test cases for test coupons?
- Electron adding SQLite database
- Distributed database master-slave configuration (MySQL)
- 【滤波跟踪】基于matlab扩展卡尔曼滤波EKF和无迹卡尔曼滤波UKF比较【含Matlab源码 1933期】
猜你喜欢

本地navicat连接liunx下的oracle报权限不足

千人规模互联网公司研发效能成功之路

Flet教程之 15 GridView 基础入门(教程含源码)

The road to success in R & D efficiency of 1000 person Internet companies

Programming examples of stm32f1 and stm32subeide -315m super regenerative wireless remote control module drive

Table replication in PostgreSQL

Leetcode - interview question 17.24 maximum submatrix

What is cloud computing?

普通测试年薪15w,测试开发年薪30w+,二者差距在哪?

Technology sharing | packet capturing analysis TCP protocol
随机推荐
R language uses image of magick package_ Mosaic functions and images_ The flatten function stacks multiple pictures together to form a stack layers on top of each other
MIF file format record
How to add aplayer music player in blog
Easyui学习整理笔记
通过环境变量将 Pod 信息呈现给容器
[extraction des caractéristiques de texture] extraction des caractéristiques de texture de l'image LBP basée sur le mode binaire local de Matlab [y compris le code source de Matlab 1931]
Android 面试知识点
Suggestions on one-stop development of testing life
Zhou Yajin, a top safety scholar of Zhejiang University, is a curiosity driven activist
正在运行的Kubernetes集群想要调整Pod的网段地址
如何在博客中添加Aplayer音乐播放器
基于华为云IOT设计智能称重系统(STM32)
There are ways to improve self-discipline and self-control
Flet教程之 14 ListTile 基础入门(教程含源码)
Stm32f1 and stm32subeide programming example -max7219 drives 8-bit 7-segment nixie tube (based on SPI)
electron 添加 SQLite 数据库
Verilog design responder [with source code]
Talk about SOC startup (VII) uboot startup process III
SwiftUI Swift 内功之如何在 Swift 中进行自动三角函数计算
. Net Maui performance improvement