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...
-
On December 31, 2013, Robey Company accumulated the following information for 2013 in regard to its defined benefit pension plan: Service cost...
-
Harrison Fishing Charters has collected the following data for the December 31 adjusting entries: a. The company received its electric bill on December 31 for $375 but will not pay it until January...
-
Acne Medication and Gastrointestinal Injury Since 1999, Kamie Kendall had experienced ongoing abdominal pain, and she was eventually diagnosed with ulcerative colitis and irritable bowel syndrome...
-
Yung Corporation sold $2,000,000, 7%, 5-year bonds on January 1, 2014. The bonds were dated January 1, 2014, and pay interest on January 1. Yung Corporation uses the straight-line method to amortize...
-
Make relational model from this ER diagram 2. Convert the following ER diagram into relations/tables: row seat toCust SSNo Bookings Customers phone name Flights to Flt addr number aircraft day
-
Answer parts (A) and (B ) in Example 7 for fixed costs of $250 per day and total costs of $3,450 per day at an output of 80 skateboards per day. Data from Example 7 The management of a company that...
-
Give the history of structural engineering, hydraulic water resources engineering, transportation engineering, construction engineering, geotechnical engineering ?
-
Using the SEC 10-K for your company, answer the questions below: What were the total current assets? What were the total current liabilities? What were total assets and total stockholders' equity...
-
A 2x6 member in a horizontal diaphragm resists a tension force of 10 kip caused by lateral wind pressure. A single line of 7/8-in diameter bolts is used to make the connection of the member to the...
-
Provide profile details regarding the organization you have chosen. Details must include, but are not limited to: Name of the organization. Location of the organization. Use the location of the...
-
A draw bench for precision forming and strengthening of carbon steel tubing has a cost of $1,140,000. It will have a salvage value of $82,000 after a useful life of 10 years. Part a Using the...
-
A 4.25% coupon bond is currently yielding 4.5%. If the par value of this bond is $1,000, what is the annual coupon payment? If the par value of a 3% semi-annual coupon bond is 500,000 yen, what is...
-
What are your groups desired benefits, as decided by our Benefits Committee Group What were some considerations when drafting the plan? What are some possible challenges and benefits of designing a...
-
To balance the chemical equation SiH3 + O2 SiO2 + HO, you could introduce coefficients a, b, c, d and write aSiH3 + bO2 cSiO + dHO then write linear equations for each element. The equation for Si...
-
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...
-
In a recent study of how mice negotiate turns, the mice ran around a circular 90 turn on a track with a radius of 0.15 m. The maximum speed measured for a mouse (mass = 18.5 g) running around this...
-
It is well known that runners run more slowly around a curved track than a straight one. One hypothesis to explain this is that the total force from the track on a runners feet the magnitude of the...
-
You are driving your car through a roundabout that has a radius of 9.0 m. Your physics textbook is lying on the seat next to you. What is the fastest speed at which you can go around the curve...
Study smarter with the SolutionInn App