フィルターのクリア

feature extraction using local binary pattern

5 ビュー (過去 30 日間)
shalini c
shalini c 2015 年 3 月 24 日
コメント済み: pranjit das 2017 年 3 月 13 日
What feature vector are we getting after texture analysis using local binary patterns? Like for example if we want color feature extraction we can consider mean,standard deviation etc...similarly what features we can extract using local binary pattern.
  2 件のコメント
Sad Grad Student
Sad Grad Student 2015 年 3 月 24 日
Please elaborate your question with examples. We're not here to answer assignment questions.
shalini c
shalini c 2015 年 3 月 25 日
編集済み: shalini c 2015 年 3 月 25 日
Actually what I wanted is how do I extract lbp feature vector after doing the above code and what feature vector are we getting ? so that I can feed this feature vector for neural classification.

サインインしてコメントする。

回答 (1 件)

Stalin Samuel
Stalin Samuel 2015 年 3 月 25 日
you will get a binary pattern like 10100011 .wich will be unique for every image.
  2 件のコメント
shalini c
shalini c 2015 年 4 月 22 日
% if true
m=size(I2,1);
n=size(I2,2);
for i=2:m-1
for j=2:n-1
c=I2(i,j);
I3(i-1,j-1)=I2(i-1,j-1)>c;
I3(i-1,j)=I2(i-1,j)>c;
I3(i-1,j+1)=I2(i-1,j+1)>c;
I3(i,j+1)=I2(i,j+1)>c;
I3(i+1,j+1)=I2(i+1,j+1)>c;
I3(i+1,j)=I2(i+1,j)>c;
I3(i+1,j-1)=I2(i+1,j-1)>c;
I3(i,j-1)=I2(i,j-1)>c;
LBP(i,j)=I3(i-1,j-1)*2^7+I3(i-1,j)*2^6+I3(i-1,j+1)*2^5+I3(i,j+1)*2^4+I3(i+1,j+1)*2^3+I3(i+1,j)*2^2+I3(i+1,j-1)*2^1+I3(i,j-1)*2^0;
end
end
figure(); imshow(LBP);
% code
After getting the Lbp value for each pixel..How do I extract feature vector from the histogram ??
pranjit das
pranjit das 2017 年 3 月 13 日
https://in.mathworks.com/help/vision/ref/extractlbpfeatures.html

サインインしてコメントする。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by