Warning
This page is located in archive.

Domácí úkol 06 - Homografie

Úloha

Najděte homografii, která zobrazuje obraz

http://cmp.felk.cvut.cz/cmp/courses/TZ/2011/HomeWorks/HW-06/id.jpg

(parametr id je Vaše pořadí v seznamu studentů předmětu) na referenční obraz

http://cmp.felk.cvut.cz/cmp/courses/TZ/2011/HomeWorks/HW-06/00.jpg

a doplňte zakrytý černý čtverec v obrazu id.jpg. Korespondence mezi obrazy získáte ručním odečtením pomocí příkazu

[u,v] = ginput(1);

Odečtěte >=10 korespondencí a nejlepší homografii získejte výběrem čtveřic z deseti a minimalizací maximální chyby na všech korespondencích.

  1. Nakreslete obrazy a do nich odečtené korespondence
  2. Vypište normalizovanou matici homografie H/H(3,3)
  3. Nakreslte obraz s doplněným čtvercem.

Odevzdání

Vypracovanou úlohu tvoří zip archiv obsahující:

  1. Obsah Všeho adresáře tz2011/ s aktualizovaným tz2011.m a hw06.m
  2. zprava.pdf - zpráva popisující vaše řešení a obsahující všechny výše požadované výsledky a grafy.

Homework 06 - Homography

The task

Find the homography that maps image

http://cmp.felk.cvut.cz/cmp/courses/TZ/2011/HomeWorks/HW-06/id.jpg

(parametr id is your rank in the student list) onto the reference image

http://cmp.felk.cvut.cz/cmp/courses/TZ/2011/HomeWorks/HW-06/00.jpg

and fill the black pixels in id.jpg. Get image matches manually by using

[u,v] = ginput(1);

Collect >=10 image matches and find the best homography by optimizing over all four-tuples among the ten matches. Minimize the maximal reprojection error on all image matches.

  1. Plot images and the collected matches
  2. Print the mormalized matrix of the best homography , i.e. H/H(3,3)
  3. Present the image with black pixels replaced by pixels from the reference image.

To be handed in

Hand in a zip archive consisting

  1. Complete content of the your directory tz2011/ with latest tz2011.m and hw06.m
  2. report.pdf - report describing your solution and including answers to all items with the corresponding plots.
courses/a4m33tz/cviceni/tz-2011-hw-06.txt · Last modified: 2013/10/04 13:02 (external edit)