Info
此问题已关闭。 请重新打开它进行编辑或回答。
i want to save my feature vector in a mat file how can i solve this error?
2 次查看(过去 30 天)
显示 更早的评论
*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
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!