Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

5. 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.

5. 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 5.

You are not allowed to use Matlab build-in functions (such as imfilter) for Question 5. You need to implement the averaging blurring by yourself.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Oracle Fusion Applications Installation And Administration

Authors: Tushar Thakker

1st Edition

1484209834, 9781484209837

More Books

Students also viewed these Databases questions

Question

What are the stages of project management? Write it in items.

Answered: 1 week ago

Question

why do consumers often fail to seek out higher yields on deposits ?

Answered: 1 week ago