motion COMPENSATION between 2 frames? [closed]
Hello, my question is simple. I want to know how I could get a frame as the result of compensation between 2 images.
I understand functions as goodFeaturesToTrack() and cvCalcOpticalFlowPyrLK(), but my question is to OBTAIN the result of a compensated frame, not the estimation. I mean, to obtain the compensated frame between 2 frames.
I will appreciate any help, I'm newbie in OpenCV.
UPDATED:
To reply the question, a compensated frame is the result of the prediction between 2 frames, and is used to reduce the data for video processing. In the end, the substraction between 2 frames will give us a 'error frame' and this one will be encoder for transmission. The result between a frame and a compensated frame will give us a less error frame, that will improve the PSNR and reduce the bit-rate.
Im putting an example of my work in MatLab, that I want to implement in OpenCV.
What exactly is a compensated frame?
Hi, I updated my question.
it's still unclear.
I have frame1 and frame2, and Im trying to compensate the image and I Obtained the the 3rd frame. Is still unclear? I'm separating the 2 images into macroblocks and then I compare each macroblock, so I obtain compensate frame. Still unclear? I dont know if its allowed to put MatLab code to check my process.