Question: Write a Matlab function MyBlur to replace all 16 pixels in each non-overlapping 44 block of any input image with their average intensity value. The
Write a Matlab function MyBlur to replace all 16 pixels in each non-overlapping 44 block of any input image with their average intensity value. The prototype of MyBlur function is defined as follows:
function [BI] = MyBlur(I); where I is the original image and BI is the blurred image, where I can be either one 3-channel RGB color image or one single-channel grayscale image.
See mean function in Matlab.
Call this function in your main script to blur the color image A and get the blurred image to variable A2.
Call this function in your main script to blur the grayscale image B and get the blurred image to variable B2.
Display images A, B, A2 and B2 from left to right and top to bottom with the appropriate titles on figure.
"PLEASE MAKE IT WITHOUT USING imfilter"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
