3
Remote Sensing and Instruments Geometric Processing and Enhancement: Image Domain Techniques

rsTut3

Embed Size (px)

DESCRIPTION

remote sensing

Citation preview

Page 1: rsTut3

Remote Sensing and

InstrumentsGeometric Processing and Enhancement:

Image Domain Techniques

Page 2: rsTut3

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

Page 3: rsTut3

Spatial filtering

h = fspecial(type,parameter );

h = fspecial(‘laplacian‘, 0 );

J = imnoise(I,type);

'salt & pepper‘

B= imfilter(A, H);

B = medfilt2(A);

3