Cinvestav
Computer Science Department

Course: Computer Vision

Prof. Dr. Luis Gerardo de la Fraga
Cuatrimester May-August 2025

Course content.

Course Notes:

  1. 27.05.2025. The Povray script to generate an animated gif with a cube rotating in its main diagonal.
  2. 15.05.2025. The python scripts for the pinhole camera model.
  3. 13.05.2025. Python script using the QR decomposition to calculate a homography.
  4. 08.05.2025. Python script to calculate a homography.

Homeworks:

Homework 4. Transformations in 3D
Delivery date: 05.06.2025

  1. Create an animated gif of a helicopter. The helicopter body will be build with a single box. The helicopter has three propellers.
  2. Build each propeller with a single triangle. One of the triangle vertices must lie in the origin of the local coordinate system.
  3. The propellers must rotate.

Homework 3. Camera self-calibration
Delivery date: 26.05.2025

  1. From the three images taken in Homework 1, take the homographies
  2. 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 ).
  3. 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

  1. Generate three images using the pinhole camera model scripts saw in the class on 15.05.2005.
  2. Calculate the homography between the generated images and the plane model
  3. Calculate the homography as lH=KR[e1,e2,-c], this homography and the previous one must be very similar.
  4. 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

  1. Draw a fiducial marker. It must be an square of 10 cm each side and 1 cm wide. Print the marker.
  2. Take several photos of the marker. Use no zoom or any processing of the the taken images.
  3. By hand take the coordinates values of the marker vertices.
  4. Calculate the homography with the script viewed in class.
  5. 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