Advanced video processing techniques implemented in MATLAB, featuring frame prediction, motion compensation and object removal.
- Format Conversion: MP4 → Uncompressed AVI (optional)
- Frame Rate Adjustment: 60fps → 30fps (optional)
- Resolution Handling: Default 640x640 (configurable)
- Color Support: RGB & Grayscale
- I-frames & P-frames sequence
- Error frame visualization
- Lossless RLE encoding
- Frame differencing
- Hierarchical motion estimation (64x64 blocks)
- 32px search radius
- MAD cost function
- Multi-level pyramid refinement
- Motion-compensated inpainting
- Restricted block matching
- 16x16 macroblocks
- Background preservation
| File | Purpose |
|---|---|
transformVideo.m |
Video preprocessing |
calcErrorImageSequence.m |
Frame differencing |
motionCompensation.m |
Motion estimation |
deleteObject.m |
Object removal |
blockmatching_search.m |
Block matching algorithm |
- Add source video (
source.mp4) to project directory - Run main script:
>> main



