Question: Use the MATLAB to complete this problem. This is the original picture. Goal: Given a photo your code should... 1. (5pts] load the photo into

Use the MATLAB to complete this problem.

Use the MATLAB to complete this problem. This is the original picture.

This is the original picture.

Goal: Given a photo your code should... 1. (5pts] load the photo

Goal: Given a photo your code should... 1. (5pts] load the photo into a matrix 2. [+2pts] (optional) convert the resulting integer into a double-precision floating point matrix using "im2double 3. [10pts) Manipulate the the matrix to add the fading effect: 1. The upper left corner is essentially the original photo 2. The lower right corner is completely white 3. The photo gradually fade away in both horizontal direction and the vertical direction as shown in the example picture below. 4. [2pts) Display the resulting image Requirement: 1. Submission must be a single PDF file and all its content must be easily readable. 2. Every line of your code should have comment stating what it does (2pts) 3. Every entry of the resulting matrix must be within range [1pt] Submission: Submit both the code and the resulting image. The code must be easily readable Goal: Given a photo your code should... 1. (5pts] load the photo into a matrix 2. [+2pts] (optional) convert the resulting integer into a double-precision floating point matrix using "im2double 3. [10pts) Manipulate the the matrix to add the fading effect: 1. The upper left corner is essentially the original photo 2. The lower right corner is completely white 3. The photo gradually fade away in both horizontal direction and the vertical direction as shown in the example picture below. 4. [2pts) Display the resulting image Requirement: 1. Submission must be a single PDF file and all its content must be easily readable. 2. Every line of your code should have comment stating what it does (2pts) 3. Every entry of the resulting matrix must be within range [1pt] Submission: Submit both the code and the resulting image. The code must be easily readable

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!