Info

This question is closed. Reopen it to edit or answer.

i want to save my feature vector in a mat file how can i solve this error?

2 views (last 30 days)
*Subscripted assignment dimension mismatch.
Error in mathworks (line 18)
Result(i, :) = fv;*
here is the code
clc
clear all;
close all;
Result = nan(50, 30000);
for i=1:50
a=num2str(i);
p=strcat('micro',a);
I = imread(strcat(a,'.png'));
I=entropyfilt(I);
I = double(I)/255;
isRotInv=false;
isChanWiseRot=false;
filtR= generateRadialFilterLBP(8, 1);
fv= efficientLBP(I, 'filtR', filtR, 'isRotInv', false, 'isChanWiseRot', false);
Result(i, :) = fv;
end

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!