noisy_images

noisy_images - % John Scalzo % Image processing project...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
% John Scalzo % Image processing project from EE 6418 at Georgia Tech in 1993 colormap(gray) !clear disp('This demonstration will explore your choice of either image enhancement'); disp('or salt and pepper noise removal techniques on black and white images ONLY.'); disp('An image should already be loaded. If not, ^C now and type "uiimport" on the command'); disp('line and follow the instructions.'); im = input('input loaded image filename : '); k = menu ('Choose the processing you wish to perform.','enhancement','noise removal'); if k == 1 k1=menu('Enhancement','histogram stretching','histogram equalization',. .. 'homomorphic filtering'); colormap(gray) if k1 == 1 outimage = histstr(im); elseif k1 == 2 outimage = histeq(im); elseif k1 == 3 outimage = homo(im); end colormap(gray) subplot(111) imagesc(im) title('Input Image') colrmap(gray) xlabel('hit any key'); pause; imagesc(outimage) title('Enhanced Image'); xlabel('hit any key') colormap(gray) break elseif k == 2 perc = input('input percent of pixels to corrupt : ');
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

noisy_images - % John Scalzo % Image processing project...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online