www.pudn.com > colorseg.zip > jefftest.m, change:2003-03-06,size:216b
load clusters;
im = imread('images/berries.jpg');
pxtheta = calculatePXTheta(im,clusters);
Q = calculateQ(im,clusters,pxtheta,pxtheta);
figure(1)
for i=1:5
subplot(5,1,i);
imagesc(Q(:,:,i));
axis image;
end