mirror of
https://github.com/opencv/opencv.git
synced 2025-08-05 05:56:36 +08:00
Merge pull request #22539 from catree:feat_homography_tutorial_gif
Add a gif to the homography exercise
This commit is contained in:
commit
4a4b2a0ce6
@ -412,15 +412,17 @@ homography from camera displacement:
|
|||||||
|
|
||||||
The homography matrices are similar. If we compare the image 1 warped using both homography matrices:
|
The homography matrices are similar. If we compare the image 1 warped using both homography matrices:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Visually, it is hard to distinguish a difference between the result image from the homography computed from the camera displacement and the one estimated with @ref cv::findHomography function.
|
Visually, it is hard to distinguish a difference between the result image from the homography computed from the camera displacement and the one estimated with @ref cv::findHomography function.
|
||||||
|
|
||||||
#### Exercise
|
#### Exercise
|
||||||
|
|
||||||
This demo shows you how to compute the homography transformation from two camera poses. Try to perform the same operations, but by computing N inter homography this time. Instead of computing one homography to directly warp the source image to the desired camera viewpoint, perform N warping operations to the see the different transformations operating.
|
This demo shows you how to compute the homography transformation from two camera poses. Try to perform the same operations, but by computing N inter homography this time. Instead of computing one homography to directly warp the source image to the desired camera viewpoint, perform N warping operations to see the different transformations operating.
|
||||||
|
|
||||||
You should get something similar to this video:
|
You should get something similar to the following:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
### Demo 4: Decompose the homography matrix {#tutorial_homography_Demo4}
|
### Demo 4: Decompose the homography matrix {#tutorial_homography_Demo4}
|
||||||
|
|
||||||
|
Binary file not shown.
After Width: | Height: | Size: 78 KiB |
Loading…
Reference in New Issue
Block a user