Question: TASK III. In this task you will apply the commands from Task I to matrices representing images. Recall that a black and white digital image
TASK III. In this task you will apply the commands from Task I to matrices representing
images. Recall that a black and white digital image can be represented by a matrix whose
entries pixels correspond to the intensities gray levels of the image at different points.
a Download bridge.jpg to the folder TaskIII.
b Read the image into your MATLAB session by naming A the matrix representing it
Display the image.
c Determine the size of the matrix A
Apply to the matrix A an appropriate command from Task I to obtain the following
images:
d Original image upside down. Call its matrix A Save the new image and the matrix A
under the names bridgejpg and Amat, respectively, in the folder TaskIII.
e Reflection of the original image with respect to its middle vertical axis. Call its matrix
A Save the new image and the matrix A under the names bridgejpg and Amat,
respectively, in the folder TaskIII.
f Upper right subimage of the original image of size times Call its matrix A Save the
new image and the matrix A under the names bridgejpg and Amat, respectively,
in the folder TaskIII.
g The image represented by the matrix obtained from A by deleting the even rows. Call
the new matrix A Save the new image and the matrix A under the names bridgejpg
and Amat, respectively, in the folder TaskIII.
h The image represented by the transpose of A Call the new matrix A Save the new
image and the matrix A under the names bridgejpg and Amat, respectively, in the
folder TaskIII.
i Save the original image and the images obtained in items d through h Write next to
each image its name and the command that you used to obtain the matrices A A A
A A respectively. Save all the images in the order bridge.jpg bridgejpg
bridgejpg
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
