i want the explanation of below code

조회 수: 1 (최근 30일)
kotha umeshchandra
kotha umeshchandra 2019년 11월 1일
댓글: kotha umeshchandra 2019년 11월 1일
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
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.
kotha umeshchandra
kotha umeshchandra 2019년 11월 1일
k -means for what?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by