Linear functions of images. In this problem we consider several linear functions of a monochrome image...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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. 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.
Expert Answer:
Related Book For
Business Statistics in Practice
ISBN: 978-0077404741
6th edition
Authors: Bruce Bowerman, Richard O'Connell
Posted Date:
Students also viewed these electrical engineering questions
-
In this problem we consider annual U.S. lumber production over 30 years. The data were obtained from the U.S. Department of Commerce Survey of Current Business and are presented in Table 16.5 a. Plot...
-
In this problem we consider sending real-time voice from Host A to Host B over a packet-switched network (VoIP). Host A converts analog voice to a digital 64 kbps bit stream on the fly. Host A then...
-
In this problem we consider whether parity is violated by any of the option prices in Table 9.1. Suppose that you buy at the ask and sell at the bid, and that your continuously compounded lending...
-
Dodona I, LLC, invested $ 4 million in two securities offerings from Goldman, Sachs & Co. The investments were in collat-eralized debt obligations ( CDOs). Their value depended on residential...
-
What are the values for (a) up, (b) ug, and (c) the zigzag angle ' at f = 2f10 for a TE10 mode in a hollow waveguide?
-
Solve the following initial value problems and leave the solution in implicit form. Use graphing software to plot the solution. If the implicit solution describes more than one curve, be sure to...
-
What is the meaning of each of the following terms: corporation, articles of incorporation, corporate charter, board of directors, corporate officers, and organization costs?
-
The internal control procedures in Edmiston Company make the following provisions. Identify the principles of internal control that are being followed in each case. (a) Employees who have physical...
-
Acme Garage Door Company, Inc. Acme Garage Door makes overhead garage doors for two local construction companies and wants to prepare a master budget for the next month of operation, July 2 0 2 2 ....
-
Times are slow for your company right now and with the rising costs of material and wages, your profits are at an all-time low. Because of this unfortunate situation, you will need to let some...
-
A DSC test on a composite material has been performed, subject to a specific temperature cycle. The specific heat flow for the composite material, as measured, is provided below and also in the...
-
Cost recovery. Jake Richards sold the tree trimmer (see Problem 8) after four years of service. If MACRS was used for the depreciation schedule, what is the after-tax cash flow from the sale of the...
-
How would you apply Little's Law to the NYC family homeless shelter system? How might it explain city spending on cluster sites and hotels in the 2013 - 2018 timeframe?
-
How many years will it take for 4 sigma with a 40 percent annual increase to get to 7 sigma?
-
How do job demands-resources (JD-R) models explain the relationship between job characteristics, personal resources, and employee stress, and how can organizations apply this framework to design jobs...
-
Given the challenges such as resistance among employees and the need for accurate benchmarking data, how do you think organizations can effectively implement benchmarking practices?
-
Apply the following approaches to analyze the Weddings survey data. For each step write down your conclusion in 1-2 sentences. a. Use a PivotTable to construct a frequency distribution and histogram...
-
Which of the followingcarbocations is the least stable? CH3CH2 . CH3CHCH3 CH3 I . CH3C0 T CH3 IV. V. CH3 CH3CCH2 CH3
-
Suppose that the probability distribution of a random variable x can be described by the formula P(x) = (x - 3)2 / 55 for each of the values x = - 2, - 1, 0, 1. and 2. a. Write the probability...
-
The Excel output of a simple linear regression analysis of the data set for this case (see Exercise 13.5 on pages 527 and 528) is given in Figure 13.12. Recall that a labeled Excel regression output...
-
In the book Tools and Methods for the Improvement of Quality, Gitlow, Gitlow, Oppenheim, and Oppenheim discuss a data entry operation that makes a large number of entries every day. Over a 24-day...
-
Premiere Produce Inc. summarized the following results for its most recent fiscal year: Based on the sales information, compute the company's sales price variance and sales volume variance. Budgeted...
-
Management at Consulting Inc. has decided to allocate costs of the company's two support departments (administration and information technology) to the two revenue-generating consulting departments...
-
Londen Inc., a division of Englend Enterprises, manufactures Product \(A B C\) to sell internally to other company divisions as well as externally. One unit of Product ABC sells externally for \(\$...
Study smarter with the SolutionInn App