function p = cpaint(clusters,image)
% p = cpaint(clusters,image)
[m n] = size(image); 
[mb nb] = size(clusters);
p = zeros(m,n);
for i1 = 1:mb
  row = bands(i1,1);
  jstart = round(bands(i1,5));
  jend = round(bands(i1,6));
  for j1 = jstart:jend
    p(row,j1) = 255;
  end
end
