Starting from:

$20.99

CSE462-Homework 2: Augmented Reality Solved

Problem 1 (40 pts): Given the following marker and its three images, you are asked to calculate the

                                                                 𝑢           𝑎     𝑏     𝑐     𝑥

homography matrix such that 𝜌 [𝑣] = [𝑑       𝑒     𝑓] [𝑦] and use it for some simple tasks.  

1                𝑔              ℎ             𝑖              1

1.1. Write a C# function that given a set of point correspondences [𝑦𝑥𝑖𝑖] and [𝑢𝑣𝑖𝑖] calculates the corresponding homography matrix.

𝑥𝑖

1.2. Write another C# function that given a scene point [𝑦𝑖] and a homography matrix, calculates the projection of the given point onto the target image.

𝑢𝑖

1.3. Write another C# function that given an image point [𝑣𝑖] and a homography matrix, calculates the projection of the given point onto the scene.

1.4. You are to find at least five point correspondences manualy. Show the calculated matrices for each image using these point matches. Calculate the error for another 3 point matches you identify. Error can be calculated as the Euclidean distance between the image of the point and the projected image. Use the following coordinate system for the scene.

 

 

Input images: Homework_2_img1.jpg, Homework_2_img2.jpg, Homework_2_img3.jpg

1.5. Find the projection of the following scene points onto the image.

                              7.5                 6.3                        0.1

 𝑆1 = [5.5], 𝑆2 = [3.3] and 𝑆3 = [0.1].

1.6. Find the projection of the following image points onto the scene.

                            500                  86                         10

𝐼1 = [400], 𝐼2 = [167] and 𝐼3 = [10].

 

Problem 2 (60 pts): Given a scene in 19 images (an example is shown below), place a cylinder of radius 2cm and height 15cm on the white object at the end of the cables. The center of the bottom face of the cylinder should be at the center of the red dot). As a reference you have the USB connectors which can be used to get the right dimensions of the scene. You should do this placement on all the images given in the set. The placement geometry calculation can be done off-line (you should explain how you have done it and why you have done it that way), but projection should be done programatically.

 

Handin you code and results in a report document (pdf). 

More products