i want the explanation of below code
조회 수: 1 (최근 30일)
이전 댓글 표시
sz=size(sondos,2);
DC=[]; QZ=4;
for a=1:sz
FDCT=dct2(sondos(a).block);
FDCT=round(FDCT./QZ);
DC(a,1)=FDCT(1,1);
end
[nndata km]=size(DC);
G=[];
numclass=4;
[centers,mincenter,mindist,q2,quality] = FastKmean(DC,numclass,km);
for n=1:numclass
ind= find(mincenter==n);
for i=1:length(ind)
G(n,i)= ind(i);
end
end
댓글 수: 3
Image Analyst
2019년 11월 1일
No idea. Looks like it's doing something with compression and k-means, but other than that I don't know. You should ask the author.
답변 (0개)
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!