Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Dimension mismatch problem in image data on matlab

1 回表示 (過去 30 日間)
Tasnim Tamanna
Tasnim Tamanna 2018 年 6 月 8 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I am working on facial expression recognition. Here i read my image dataset and got extracted the feature vector. I want to get every feature vector separately as a row vector after every iteration.So in the end i wound have a matrix of features where every row is a sample. but i cant get it and dimension mismatch error is shown. Can anyone kindly help me?
s=4;
for i=1:s
I=ImageRead()+i;
After the feature extraction :
FeatureMatrix= localBinaryPatternImage;
FeatureVector=FeatureMatrix(:);
length(FeatureVector);
mat=zeros(1,6000);
mat(i,:)=FeatureVector
end

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by