FindHomography usage
Hi all, i'm completely new, so i think it's very simple my problem.
Context
I'm using OpenCV library for Android, i'm capturing a video with my device (fixed in a position, not in movement), with a component of my program i can determine 4 point from the scene. So at the end I have a 640x480 int array , and i have 4 values (indexes) of the four point in the scene.
Problem
I want to do this kind of transformation:
Question
What do i have to do to make such a ("plane") transformation, in order to watch the scene from above? What i'm trying to saying is that: given 4 indexes of a rgb array that identify 4 real points of the scene, what do i have to pass to findHomography function? And after that, what do i have to do with Mat object to apply the change in real time?
I actually need detailed steps, because I'm completely new. Thanks a lot,.
Sorry i'm new to Computer Vision.