By using reshape () in Matlab getting this error .
이전 댓글 표시
img=imread('flair.jpg');
gaborArray = gaborFilterBank(5,6,39,39);
featureVector = gaborFeatures(img,gaborArray,1,1);
img_size=size(img(:));
fv=reshape(featureVector, size(img_size),30);
out=kmeans(fv,5); %k-means where k=5
%Apply histogram of texton map within each super pixel
res=hist(out,5);
disp(res)
Error: Error using reshape Size arguments must be integer scalars. Error in texton (line 8) fv=reshape(featureVector, size(img_size),30);
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Contrast Adjustment에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!