## Ex1 Task 2

Moderator: Computer Vision

Toobee
Sonntagsinformatiker
Beiträge: 225
Registriert: 7. Apr 2011 12:58

### Ex1 Task 2

Hi,

is the ordering of the tasks fo task 2 correct?

Firstly, I shall write 2 functions hom->cart and cart->hom and
Secondly, draw the transformation+projection matrix out of the blue and
Thirdly, load the 2D-data?

Either I haven't understood the task or the ordering serves confusion . Do we have to put them in a reasonable order ourselves our is there are reason behind the ordering of to-do's ?

qgao
Moderator
Beiträge: 33
Registriert: 7. Apr 2009 11:38

### Re: Ex1 Task 2

Toobee hat geschrieben:Hi,
is the ordering of the tasks fo task 2 correct?
The first two tasks are independent to the third (load and show 2D points).

Toobee hat geschrieben:Firstly, I shall write 2 functions hom->cart and cart->hom and
Right!

Toobee hat geschrieben:Secondly, draw the transformation+projection matrix out of the blue and
I don't understand "draw the matrix out of the blue". It seems not the task.

Toobee
Sonntagsinformatiker
Beiträge: 225
Registriert: 7. Apr 2011 12:58

### Re: Ex1 Task 2

The data obj_2d.mat provides me with x,y points and you provided the steps that were performed on the 3D points?

I shall perform the provided operations on my 2D points and obtain my 3D points, which have the same z-values like those in obj_2d.mat, is that right?

qgao
Moderator
Beiträge: 33
Registriert: 7. Apr 2009 11:38

### Re: Ex1 Task 2

Toobee hat geschrieben:Regarding task 2)
The data obj_2d.mat provides me with x,y points and you provided the steps that were performed on the 3D points?

I shall perform the provided operations on my 2D points and obtain my 3D points, which have the same z-values like those in obj_2d.mat, is that right?
Seems you misunderstand the question.

All the projective transformations from 3D to 2D are already given (or defined). The task is to solve an inverse problem from 2D to 3D.

Toobee
Sonntagsinformatiker
Beiträge: 225
Registriert: 7. Apr 2011 12:58

### Re: Ex1 Task 2

The aim is to use the x,y-coordinates and perform the inverse operations?!

apply inverse projection with in/extrinsics on x,y -> add the separatly provided z coordinates, undo the remaining operations. Is that correct?

Sorry for asking so much, but I really have troubles to understand the aim here...

qgao
Moderator
Beiträge: 33
Registriert: 7. Apr 2009 11:38

### Re: Ex1 Task 2

Toobee hat geschrieben:The aim is to use the x,y-coordinates and perform the inverse operations?!

apply inverse projection with in/extrinsics on x,y -> add the separatly provided z coordinates, undo the remaining operations. Is that correct?

Sorry for asking so much, but I really have troubles to understand the aim here...
Right!

Tigger
Kernelcompilierer
Beiträge: 404
Registriert: 26. Okt 2007 17:35
Wohnort: Hofheim
Kontaktdaten:

### Re: Ex1 Task 2

Short Question:

In the file zs.mat you can find the z-coordinates of all transformed 3D points right before the projection is applied.

Does this projection refer to the central projection onto the xy-plane or to the single perspective projection which includes all operations (transformations plus projection)?

Toobee
Sonntagsinformatiker
Beiträge: 225
Registriert: 7. Apr 2011 12:58

### Re: Ex1 Task 2

the former,

you still have to undo rotation and translation after you added the z-coords to restore the original 3D points.