Upload
mohamed-khairy
View
6
Download
0
Embed Size (px)
DESCRIPTION
remote sensing
Citation preview
Remote Sensing and
InstrumentsGeometric Processing and Enhancement:
Image Domain Techniques
Spatial filetring
Load the image “moon.tif”
Create average, Sobel, Roberts , Laplace filters by using fspecial function.
Use function imfilter with the filter created by fspecial
Write a code to implement sobel edge detection
Load “circuit.tif”
Add noise of sort salt and pepper to the image using imnoise
Use medfilt2 to eliminate these noise.
Write a code to implement median filter of 3x3
2
Spatial filtering
h = fspecial(type,parameter );
h = fspecial(‘laplacian‘, 0 );
J = imnoise(I,type);
'salt & pepper‘
B= imfilter(A, H);
B = medfilt2(A);
3