Skip to content

Commit

Permalink
Imdenoise save image
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrubeck committed Oct 7, 2016
1 parent a0c5991 commit b9964c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Image/imdenoise.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@

% Plot wavelet coefficients
figure(4); plotwavelet2(C(1:size(X,3):end),S(:,1:2),lvl,'haar',255,'square'); colormap(gray); title('Noisy wavelet coefficients (R channel)');
figure(5); plotwavelet2(CT(1:size(X,3):end),S(:,1:2),lvl,'haar',255,'square'); colormap(gray); title('Filtered wavelet coefficients (R channel)');
figure(5); plotwavelet2(CT(1:size(X,3):end),S(:,1:2),lvl,'haar',255,'square'); colormap(gray); title('Filtered wavelet coefficients (R channel)');

%imwrite([X0, X, Xhaar], sprintf('%s_denoise.tif',filename(1:end-4)))

0 comments on commit b9964c7

Please sign in to comment.