**
Fill This Form To Receive Instant Help**

Homework answers / question archive / Project Assignment 2 CPS 564 –Visual Computing and Mixed Reality Released Date: 10/05/2022 Requirements In this assignment, you are required to solve three problems

Project Assignment 2

CPS 564 –Visual Computing and Mixed Reality

Released Date: 10/05/2022

Requirements

In this assignment, you are required to solve three problems.

Problem #1:

Write MATLAB code to compute the importance map (saliency map) from Context Aware Saliency Detection method as discussed in Lecture: Visual Saliency. To simplify your implementation, you need to follow the steps below.

1. Read an input image

2. Resize the image to the new size: 200 x 200

3. Divide the image into non-overlapping patches and the size of each patch is 10 x 10

4. Compute the mean color for each patch pi

5. Then, you compute the saliency value of each patch pi by using the following formula

????????(??)=Σ?(??,??)??

, where n is the number of patches (n = 400), and ?(??,??) is computed as follows:

, where dcolor(pi , pj) is the Euclidean distance in terms of color between the patches pi and pj (use the mean color computed in step 4), dposition(pi , pj) is the Euclidean distance between the positions of patches pi and pj, and c is set as 3.

Note that all pixels in the same patch have the same saliency value.

6. Finally, you resize the saliency map (200 x 200) to the original size of the input image.

Problem #2:

Write MATLAB code to implement the seam carving algorithm in Lecture: Image Resizing – Seam Carving (slides 22-24). Try your seam carving algorithm implementation with the saliency map obtained from the Problem #1.

Problem #3

Show bad and good examples of your implemented seam carving algorithm in Problem #2.

What to Submit

1. A well-documented program that implements the problem in the Assignment 2. You must submit your program source code.

2. A well-written, concise project report. It should include: (a) title and names of group members; (b) the problem analysis; (c) the issues during the implementation; (d) the solutions to overcome the issues in (c); (e) the contribution of each individual member

For each group, you must submit the files above in a single zipped folder.

Note: If you cannot submit zipped file to isidore, please change the filename extension to doc or docx and then submit it.

Already member? Sign In