Question
Create an image matrix of size 5x5 with random values between 0 and 10. Image matrix rows are x and columns are y coordinates and
Create an image matrix of size 5x5 with random values between 0 and 10. Image
matrix rows are x and columns are y coordinates and upper left corner is (0, 0). Find the following:
-
d) The output of the 3x3 Low-pass filter shown above.
-
e) City-block distance (D4) from (3,1) to (1,4).
-
f) Chess board distance from (3,1) to (1,4).
-
g) gradient magnitude and gradient orientation.
-
h) The result of unsharp-masking at image pixel location (2,2).
-
i) The intensity histogram of the whole image
-
j) The correlation of f(x,y) with the template defined by mask M.
-
k) The convolution of f(x,y) with the template defined by mask M.
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