Cinvestav
Computer Science Department
Course: Computer Vision
Prof. Dr. Luis Gerardo de la Fraga
Cuatrimester May-August 2025
Course content.
Course Notes:
-
27.05.2025. The Povray script to generate an animated gif with a cube rotating in its main diagonal.
-
15.05.2025. The python scripts for the pinhole camera model.
-
13.05.2025. Python script using the QR decomposition to calculate a homography.
-
08.05.2025. Python script to calculate a homography.
Homeworks:
Homework 4. Transformations in 3D
Delivery date: 05.06.2025
-
Create an animated gif of a helicopter. The helicopter body will
be build with a single box. The helicopter has three propellers.
-
Build each propeller with a single triangle. One of the triangle
vertices must lie in the origin of the local coordinate system.
-
The propellers must rotate.
Homework 3. Camera self-calibration
Delivery date: 26.05.2025
-
From the three images taken in Homework 1, take the homographies
-
Calculate f, R, and vector t from the homographies.
Remember that the values for (u0,v0) are the image center coordinates
( u0=(width-1)/2, v0=(heigth-1)/2 ).
-
Project the 3D cube on the images. The 3D cube must be transformed
by the pinhole camera model obtained in the previous item (2).
Homework 2. Verify homographies
Delivery date: 22.05.2025
- Generate three images using the pinhole camera model scripts saw in the class on 15.05.2005.
- Calculate the homography between the generated images and the plane model
-
Calculate the homography as lH=KR[e1,e2,-c], this homography and the previous one
must be very similar.
-
Repeat the process with the three images generated in the first item.
Homework 1. Calculation and validation of a homography
Delivery date: 12.05.2025
- Draw a fiducial marker. It must be an square of 10 cm each side
and 1 cm wide. Print the marker.
- Take several photos of the marker. Use no zoom or any processing
of the the taken images.
- By hand take the coordinates values of the marker vertices.
- Calculate the homography with the script viewed in class.
- Verify that the homography is correct by drawing the square and a cross
tranforming the values on the marker model to the used image.
Última actualización:
27.05.2025
Comentarios: fraga en cs.cinvestav.mx