How to save feature value from histogram of LBP image in Matlab?
I'm using Local Binary Pattern ( LBP ) to extract the features of group of images ( 500 images in Training folder and 100 Images in Test folder ). Indeed, I had extracted these features successfully but I'm not sure whether they saved in correct way or not. Here is a part of code that extract the features: for x = 1:total_images % Specify images names with full path and extension full_name= fullfile(test_set, filenames(x).name); % Read images from Training folder I2 = imread(full_name); I3=I2; 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)