Intra Prediction Construction of Image in a video frame

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

View License

This Function intra_cons does the function of Intra Prediction on a block. If Block Size is 4x4, then there are 9 modes defined and if Block size is either 8x8 or 16x16, then there are 4 modes defined by H.264 std. All the modes are implemented separately below, as functions. Mode selection is based on which mode results in smaller SAD (Sum of Absolute Difference).
I and J are pixel numbers, N is the block size
This function is used for H.264 video format encoding and decoding
Example:
[intra_image,intra_mode,blk_size]=intra_cons(image,1,1,8)

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

Cite As

Santhana Raj (2024). Intra Prediction Construction of Image in a video frame (https://www.mathworks.com/matlabcentral/fileexchange/47796-intra-prediction-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