Skip to content

Instantly share code, notes, and snippets.

@richardkwo
Created September 25, 2014 06:08
Show Gist options
  • Save richardkwo/e5b21b7d35d11c3b82e2 to your computer and use it in GitHub Desktop.
Save richardkwo/e5b21b7d35d11c3b82e2 to your computer and use it in GitHub Desktop.
figure;
hold on;
colormap(gray);
r = 0;
for i=1:length(k);
r = r+1;
subplot(5,4,r);
imagesc(uint8(255) - train.image(:, :, k(i)));
title('training');
r = r+1;
subplot(5,4,r);
imagesc(uint8(255) - rimg(:, :, k(i)));
title('restored');
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment