Interprediction Construction of Image in a video frame

To perform the Inter prediction when an image of a video frame is provided
292 Downloads
Updated 10 Sep 2014

View License

This Function INTER_CONS preforms the Inter Prediction/Construction, also known as Temporal Prediction, in image "im_new"'s current block,(i,j) of size N. The function calculated the motion vector for the specified block The search window is 2*N. It motion vector points the block displayed which has the less SAD. Prediction error is calculated by the difference of the original image and the image plotted by the motion vector.
I and J are pixel numbers, N is the block size
This function is used for H.264 video format encoding and decoding
Example:
[motion,pred_err]=inter_cons(imag_old,imag_new,1,1,8)

Author:Santhana Raj.A
https://sites.google.com/site/santhanarajarunachalam/

Cite As

Santhana Raj (2024). Interprediction Construction of Image in a video frame (https://www.mathworks.com/matlabcentral/fileexchange/47794-interprediction-construction-of-image-in-a-video-frame), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0