The file Parkes.png is available on Blackboard. This file contains an image stor
ID: 3601112 • Letter: T
Question
The file Parkes.png is available on Blackboard. This file contains an image stored in Portable Network Graphics (PNG) format. You are to write a MATLAB script that builds from this image a more complicated image This set of notes contains a description of what you will be accomplishing with this project, followed by more specific instructions on how you will accomplish this project. For this project you will need a copy of MATLAB that has the Image Processing Toolbox. You will be using the following functions in this toolbox: imresize, edge, rgb2gay, and imshow. All copies of MATLAB software in ECE departmental computers have the Image Processing Toolbox. The student version of MATLAB sold by Math Works also has the Image Processing Toolbox. Up to two student can work this project. You may discuss this project with other group of students. But your submissions must be the fruit of your own labor and your group of teamwork Description of Project The file Parkes.png contains a picture of the Parkes Observatory, a radio telescope in Parkes, New South Wales, Australia. This large antenna is used for radio astronomy. It was also used in 1969 to receive from the moon the signal from the TV camera on the Apollo 11 Lunar Module, enabling live TV broadcast of the first moon walk. The image in Parkes.png employs the additive primary colors: red, green and blue. This is known as an RGB image. You will use the function imread to read Parkes.png. All the information of the RGB image is placed by imread within one three-dimensional array in the MATLAB works intensities of the image pixels; this is also known as the first page of the three-dimensional array The second matrix (the second page of the three-dimensional array) contains the green intensities. Finally, the third page contains the blue intensities. For example, if the three- dimensional array produced by imread is named A, the value A (5,9,1) is the red intensity for the pixel in the fifth row and ninth column. The values A (5, 9,2) and A (5,9, 3) are the green and blue intensities, respectively, for that same pixel. All intensities are stored as uint8 numbers. This means that cach intensity is stored in one byte (a group of eight bits) as an unsigned integer between 0 and 255, inclusive space. This array consists of three matrices. The first matrix contains the redExplanation / Answer
Following is the code:
i1=imread('Parkes.png');
i2 = imresize(i1, 0.25);
i3 = rgb2gray(i2);
gray_from_mean = mat2gray(i2);
i4 = edge(i2);
subplot(2,2,1)
imshow(i2);
subplot(2,2,2)
imshow(i3);
subplot(2,2,3)
imshow(gray_from_mean);
subplot(2,2,4)
imshow(i4);
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.