ImageIds={'Nat-5c','Nat-5v','Nat-5v2','Nat-5v3','Nat-5m',...
      'Nat-10v','Nat-10','Nat-16c','Nat-16v',[4 84],[12 17],[5 92]};
rand('state',sum(100*clock))
[dummy,idx]=sort(rand(1,length(ImageIds)));
ImageIds={ImageIds{idx}};

fprintf(1,'Image processing order:\n');
for k=1:length(ImageIds)
  ImageId=ImageIds{k};
  if isstr(ImageId)
    fprintf(1,'%2d. %s\n',k,ImageId);
  else
    fprintf(1,'%2d. D%04dD%04d\n',k,ImageId);
  end
end

for k=1:length(ImageIds)
  ImageId=ImageIds{k};
  cp_main(ImageId,'QMF:f32d:06:Full','Sqr','Gauss','Log','LVQ','Conditional');
  cp_main(ImageId,'QMF:f32d:08:Full','Sqr','Gauss','Log','LVQ','Conditional');
  cp_main(ImageId,'QMF:f32d:14:Full','Sqr','Gauss','Log','LVQ','Conditional');
  cp_main(ImageId,'QMF:f32d:15:Full','Sqr','Gauss','Log','LVQ','Conditional');
end

for k=1:length(ImageIds)
  ImageId=ImageIds{k};
  cp_main(ImageId,'QMF:f32d:06:Dec','Sqr','Gauss','Log','LVQ','Conditional');
  cp_main(ImageId,'QMF:f32d:08:Dec','Sqr','Gauss','Log','LVQ','Conditional');
  cp_main(ImageId,'QMF:f32d:14:Dec','Sqr','Gauss','Log','LVQ','Conditional');
  cp_main(ImageId,'QMF:f32d:15:Dec','Sqr','Gauss','Log','LVQ','Conditional');
end

for k=1:length(ImageIds)
  ImageId=ImageIds{k};
  cp_main(ImageId,'QMF:f8a:06:Full','Sqr','Gauss','Log','LVQ','Conditional');
  cp_main(ImageId,'QMF:f8a:08:Full','Sqr','Gauss','Log','LVQ','Conditional');
  cp_main(ImageId,'QMF:f8a:14:Full','Sqr','Gauss','Log','LVQ','Conditional');
  cp_main(ImageId,'QMF:f8a:15:Full','Sqr','Gauss','Log','LVQ','Conditional');
end

for k=1:length(ImageIds)
  ImageId=ImageIds{k};
  cp_main(ImageId,'QMF:f8a:06:Dec','Sqr','Gauss','Log','LVQ','Conditional');
  cp_main(ImageId,'QMF:f8a:08:Dec','Sqr','Gauss','Log','LVQ','Conditional');
  cp_main(ImageId,'QMF:f8a:14:Dec','Sqr','Gauss','Log','LVQ','Conditional');
  cp_main(ImageId,'QMF:f8a:15:Dec','Sqr','Gauss','Log','LVQ','Conditional');
end

% for k=1:length(ImageIds)
%   ImageId=ImageIds{k};
%   cp_main(ImageId,'QMF:f16b:06:Full','Sqr','Gauss','Log','LVQ','Conditional');
%   cp_main(ImageId,'QMF:f16b:08:Full','Sqr','Gauss','Log','LVQ','Conditional');
%   cp_main(ImageId,'QMF:f16b:14:Full','Sqr','Gauss','Log','LVQ','Conditional');
%   cp_main(ImageId,'QMF:f16b:15:Full','Sqr','Gauss','Log','LVQ','Conditional');
% end
% 
% for k=1:length(ImageIds)
%   ImageId=ImageIds{k};
%   cp_main(ImageId,'QMF:f16b:06:Dec','Sqr','Gauss','Log','LVQ','Conditional');
%   cp_main(ImageId,'QMF:f16b:08:Dec','Sqr','Gauss','Log','LVQ','Conditional');
%   cp_main(ImageId,'QMF:f16b:14:Dec','Sqr','Gauss','Log','LVQ','Conditional');
%   cp_main(ImageId,'QMF:f16b:15:Dec','Sqr','Gauss','Log','LVQ','Conditional');
% end

exit
