Interprediction Construction of Image in a video frame
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
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Deblurring >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |