Lab #1

11/07/04

Home
Lab #1
Lab #2
Lab #3

 

Reconstruction (Points) from Symmetry

bullet

Goals:
bullet

The goal of this session is to experiment with the algorithm of reconstruction (points) from a single view of a symmetric planer structure.

bullet

Downloadable:

bullet

Download the file lab3.zip (36KB) under a local directory of yours.

bullet

Run unzip to extract all the files.

bullet

List of functions/data included in the file lab1.zip.

bullet

lab3.m  The main code of this exercise. You may not need to work on it. But you can read the comments in the code to better understand how it works.

bullet

solvelyapnov.m An empty function. You need to add contents into this function to find the R0 from R', R, N.

bullet

1.jpg - Image for reconstruction

bullet

displayresult.m Display the result. You do not need to work on it.

bullet

hat.m Calculate the skew matrix of a vector.

bullet

Problem 1: Reconstruction (points) from two calibrated views.

bullet

The 12 feature points on the image are stored in 3 by 12 matrices x10. The same points stored in x20 with a different order represent the feature points in the "hidden" view.

bullet

The points x10 in the oringinal image are order as following:
1- 9-10- 2
5             7
6             8
3-11-12-4

bullet

The points x20 in the hidden image are order by their correspondence to the x1.
2-10- 9- 1
7             5
8             6
4-12-11-3

bullet

Each column of the two matrices is a point in image coordinate (using homogenous coordinate representation). The corresponding two columns in two matrices are corresponding points, i.e, x20=g(x10).

bullet

The 3x3 calibration matrix is stored in the matrix called Calib.

bullet

You need to finish the function solvelyapnov.m to find the R0 from R', R, N (denoted as R1,R,N1 in lab3.m) which are found by the 4-point homography algorithm.

Problem 2: Verify the rank of multiple view geometry matrix Ms(x).

bullet

Use the R0, T0 found in the algorithm to verify the rank of Ms(x). You must choose more than 2 different symmetries g. There are many different symmetries you can use. The one we used in the codes is g=[R T] where R=diag[-1,1,1] which is reflective symmetry along x-axis. You can also choose the reflective symmetry along y-axis, along the diagonal or rotational symmetry along z-axis for 90 or 180 degrees.

bullet

Due to the noise of the data, the rank of the matrix Ms(x) can be found by watching the singular values of Ms(x).

bullet

Important Hints:

bullet

The result should be similar like this.

bullet

Both your MATLAB codes and results must be turned in.

 

 

Home | Lab #1 | Lab #2 | Lab #3

This site was last updated 11/07/04