Lakshya-Kejriwal / Real-Time-Video-Stabilization

real time video stabilization using Kalman Filter
MIT License
194 stars 56 forks source link

Homography matrix #2

Open NatalyaSlepkova opened 6 years ago

NatalyaSlepkova commented 6 years ago

How I understand, you use an affine transformation. How can I do this with homography transformation? How should I change smoothedMat for this?

Lakshya-Kejriwal commented 6 years ago

If you want to use a homography matrix then you'll have to look into homography decomposition. I think OpenCV 3.0 has a function for that. After the decomposition you will get scale, rotation and translation and can construct the smoothedMat in the same way.