[ matlab ] 高光谱作图

% new_res = bestMap(gnd,res);
% resallmap = zeros(nr*nc,1);
% for i = 1:c
%     temp = new_res(find(res==i));
%     resallmap(find(resall==i)) = max(temp);
% end
% 
% gt = mat2rgb(resallmap,512,217);  % ground truth 
% figure(1)
% imshow(gt)
% set(gcf,'Position',[0,0,512,217]);
% axis off

你可能感兴趣的:(matlab)