this is code i downloaded for local binary pattern, i cant able to find what is B1? its not a variable ? pls help to find what it is?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
a1 = I2;
[m1,n1] = size(a1);
for i = 2:m1-1
for j = 2:n1-1
b1 = a1(i-1:i+1,j-1:j+1);
B1(i-1:i+1,j-1:j+1) = LBP(b1);
end
Answers (1)
Star Strider
on 19 Jun 2015
0 votes
‘B1’ is a variable. It is a (3x3) matrix that is set to the corresponding values of whatever ‘LBP(b1)’ is.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!