Intra Prediction Construction of Image in a video frame
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 (2025). 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
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 |