Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3 . 1 5 The implementation of linear spatial filters requires moving the center of a mask throughout an image and, at each location, computing

3.15 The implementation of linear spatial filters requires moving the center of a
mask throughout an image and, at each location, computing the sum of products
of the mask coefficients with the corresponding pixels at that location (see
Section 3.4). A lowpass filter can be implemented by setting all coefficients to 1,
allowing use of a so-called box-filter or moving-average algorithm, which con-
sists of updating only the part of the computation that changes from one loca-
tion to the next.
***(a) Formulate such an algorithm for an nn filter, showing the nature of the
computations involved and the scanning sequence used for moving the
mask around the image.
(b) The ratio of the number of computations performed by a brute-force imple-
mentation to the number of computations performed by the box-filter algo-
rithm is called the computational advantage. Obtain the computational
advantage in this case and plot it as a function of n for n>1. The 1n2 scal-
ing factor is common to both approaches, so you need not consider it in ob-
taining the computational advantage. Assume that the image has an outer
border of zeros that is wide enough to allow you to ignore border effects in
your analysis.
image text in transcribed

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_2

Step: 3

blur-text-image_3

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

Big Data Fundamentals Concepts, Drivers & Techniques

Authors: Thomas Erl, Wajid Khattak, Paul Buhler

1st Edition

0134291204, 9780134291208

More Books

Students also viewed these Databases questions