当前位置:网站首页>[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
边栏推荐
- 【系统设计】指标监控和告警系统
- 本地navicat连接liunx下的oracle报权限不足
- Audit migration
- 【滤波跟踪】基于matlab扩展卡尔曼滤波EKF和无迹卡尔曼滤波UKF比较【含Matlab源码 1933期】
- Creative information was surveyed by 2 institutions: greatdb database has been deployed in 9 places
- 在我有限的软件测试经历里,一段专职的自动化测试经验总结
- Flet教程之 17 Card卡片组件 基础入门(教程含源码)
- 普通测试年薪15w,测试开发年薪30w+,二者差距在哪?
- Unsupervised learning of visual features by contracting cluster assignments
- OneDNS助力高校行业网络安全
猜你喜欢

聊聊SOC启动(七) uboot启动流程三

对比学习之 Unsupervised Learning of Visual Features by Contrasting Cluster Assignments

禁锢自己的因素,原来有这么多

. Net Maui performance improvement

Web端自动化测试失败的原因

分布式数据库主从配置(MySQL)

Some opinions and code implementation of Siou loss: more powerful learning for bounding box regression zhora gevorgyan

sql里,我想设置外键,为什么出现这个问题
![Verilog realizes nixie tube display driver [with source code]](/img/ad/be94912bedc738f4b5f97138db7352.png)
Verilog realizes nixie tube display driver [with source code]

Automated testing framework
随机推荐
About the application of writing shell script JSON in JMeter
基于华为云IOT设计智能称重系统(STM32)
Various uses of vim are very practical. I learned and summarized them in my work
QT implements the delete method of the container
聊聊SOC启动(九) 为uboot 添加新的board
简单介绍一下闭包及它的一些应用场景
[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]
Apprentissage comparatif non supervisé des caractéristiques visuelles par les assignations de groupes de contrôle
CMU15445 (Fall 2019) 之 Project#2 - Hash Table 详解
STM32 entry development NEC infrared protocol decoding (ultra low cost wireless transmission scheme)
. Net Maui performance improvement
【问道】编译原理
How to write test cases for test coupons?
Talk about SOC startup (VII) uboot startup process III
QT | multiple windows share a prompt box class
Android interview knowledge points
Electron adding SQLite database
How to add aplayer music player in blog
SwiftUI 4 新功能之掌握 WeatherKit 和 Swift Charts
The Oracle message permission under the local Navicat connection liunx is insufficient