Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise 7 : Display the results of the edge - detection filtering: a ) Display the edge - detection filtered image ( Sobel filter )
Exercise : Display the results of the edgedetection filtering:
a Display the edgedetection filtered image Sobel filter processed in the spatial domain.
b Display the edgedetection filtered image Sobel filter processed in the frequency domain. create the spacial filtered image
h fspecialsobel;
spacialfiltered imfilterdoublecman h 'conv';
figure; imshowabsspacialfiltered
PQ sizecman;
CMAN fftdoublecman;
H fftdoublehPQ PQ;
FCMAN HCMAN;
ffi ifftFCMAN;
figure; imshowabsffi
Results:
After loading the 'cameraman.tif', display the results of the average filtering:
a Display the average filtered image average filter with size processed in the spatial domain.
b Display the average filtered image average filter with size processed in the frequency domain.
Code for Results A and B
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started