Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Linear functions of images. In this problem we consider several linear functions of a monochrome image with Nx N pixels. To keep the matrices

Linear functions of images. In this problem we con

Linear functions of images. In this problem we consider several linear functions of a monochrome image with Nx N pixels. To keep the matrices small enough to work out by hand, we will consider the case with N = 3 (which would hardly qualify as an image). We represent a 3 x 3 image as a 9-vector using the ordering of pixels shown below. 147 258 369 (This ordering is called column-major.) Each of the operations or transformations below defines a function y = f(x), where the 9-vector a represents the original image, and the 9-vector y represents the resulting or transformed image. For each of these operations, give the 9 x 9 matrix A for which y = Ax. (a) Turn the original image x upside-down. (b) Rotate the original image x clockwise 90. (c) Translate the image up by 1 pixel and to the right by 1 pixel. In the translated image, assign the value y = 0 to the pixels in the first column and the last row. (d) Set each pixel value y; to be the average of the neighbors of pixel i in the original image. By neighbors, we mean the pixels immediately above and below, and immediately to the left and right. The center pixel has 4 neighbors; corner pixels have 2 neighbors, and the remaining pixels have 3 neighbors.

Step by Step Solution

3.34 Rating (160 Votes )

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

Business Statistics In Practice

Authors: Bruce Bowerman, Richard O'Connell

6th Edition

0073401838, 978-0073401836

More Books

Students explore these related Electrical Engineering questions

Question

Differentiate sin(5x+2)

Answered: 3 weeks ago

Question

Compute the derivative f(x)=1/ax+bx

Answered: 3 weeks ago

Question

What is job enlargement ?

Answered: 3 weeks ago