Question: Please help with this MATLAB assignment! I cant figure out how to create a function to scale an image with the specified requirements. Also, Im

Please help with this MATLAB assignment! I cant figure out how to create a function to scale an image with the specified requirements. Also, Im not sure how to link the Dailyshow image, but any image from the internet will work. Thank you!
 Please help with this MATLAB assignment! I cant figure out how
to create a function to scale an image with the specified requirements.

1. Purpose: The purpose of this lab is to introduce you to some basic concepts in image processing. You will learn how to read and display an image in MATLAB. You will perform: Simple edge detection on an image provided as well as on an image of your own. You will scale an image to create its thumbnail version. - 2. Background: Digital images consist of pixels (picture elements). When the pixels are placed close to each other, such as in an image viewed on a computer display or in a printed paper, appears to be continuous. The number of pixels per inch (ppi) varies with an application. Some monitors can only display 72 pixels per inch (ppi). For publishing, 200-1200 ppi is often required. Laser printers are usually capable of 300-600 ppi The brightness and color information for each pixel is represented by a number in a two-dimensional array (matrix). The location in the matrix corresponds to the location of a pixel in the image. For example, X1,1 (usually) identifies the pixel located in the upper left corner, as shown in figure 1. The pixel values in an 8-bit gray scale image can take any value from 0 to 255. Usually black is encoded by a value of 0 and white by a value of 255 A color image is stored in a three-dimensional array, where the first plane in the 3 dimension represents the red pixel intensities, the second plane represents the green pixel intensities, and the third plane represents the blue pixel intensities. True color has 24 bits of resolution (8 bits for each of the red, green, and blue planes). Assignment 3 Write a MATLAB function that has an input argument for the scaling factor S. The function should read in the color DailyShow image, convert it to a gray scale, and then scale the image by the scaling factor to form a thumbnail image. You are going to scale the original image with scaling factors S-2 and S- 5. First, perform a simple scaling-keep one out of S pixels. Since this is a 2D scaling, you can keep the center pixel in each square of S" pixels, when S is an odd number and one of the 4 center pixels when S is even Next you are going to performa morc advanced scaling opcration Instcad of kecping the center pixel in each square of S pixels keep the average of all of the pixels in this square Display all four results in your report Be sure to label cach image with the scale factor used to vely compare the two scaled versions of the origina one ou of Spixels versus picking the average of each block with S picture (ie picking

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!