Created
November 2, 2016 08:20
-
-
Save mstrYoda/ba766055c96f3f96aba8ce191727c61c to your computer and use it in GitHub Desktop.
matlab filter - korelasyon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f=imread('coins.png'); | |
kirli = imnoise(f,'salt & pepper',0.2); | |
%avarage | |
haverageFiltresi = fspecial('average',3); | |
averageFiltresi = imfilter(f,haverageFiltresi,'replicate'); | |
%unsharped | |
unsharpFilter = fspecial('unsharp'); | |
unsharped = imfilter(f,unsharpFilter); | |
%medyan filter | |
medFilt = medfilt2(kirli); | |
%korelasyon = corr2(kirli,medFilt); | |
figure; | |
subplot(3,2,1);imshow(f);title('original'); | |
subplot(3,2,2);imshow(kirli);title('kirli'); | |
subplot(3,2,3);imshow(averageFiltresi);title('avarage'); | |
subplot(3,2,4);imshow(unsharped);title('unsharped'); | |
%subplot(3,2,5);imshow(korelasyon);title('medyan korelasyon'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment