Code Monkey home page Code Monkey logo

dmatsanganis / multimedia_systems_motion_compensation_techniques_in_video_processing Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 17.49 MB

This project delves into the realm of advanced multimedia processing, with a particular focus on video data. Leveraging the power of Python, I have implemented motion compensation techniques, which are fundamental to video compression and transmission standards.

License: MIT License

Python 100.00%
multimedia-systems python video-processing

multimedia_systems_motion_compensation_techniques_in_video_processing's Introduction

Multimedia Systems: Motion Compensation Techniques in Video Processing

Introduction

This project implements motion compensation techniques for video processing. The goal is to study how these techniques influence prediction errors.

Overview

The project is divided into two main parts:

  1. Full Frame Prediction: In the first part, we assume that we want to predict whole P-frames, not in segments. The prediction of each entire frame is based on the previous frame. We implement a procedure that takes two frames as input, calculates their difference, and returns an error frame. We do not calculate a motion vector. The error frames are displayed, and the information content of the error frame should be less compared to the frames.

  2. Motion Prediction Technique: In the second part, we implement a motion prediction technique, which calculates motion vectors per block. Each block has the typical MPEG size of 16 ร— 16. We implement a function that takes two frames as input: a reference frame, which is used to search for motion vectors, and a target frame, which will be predicted. The target frame is divided into macroblocks of size 16 ร— 16. If the width and height of the frame are not multiples of 16, the frame is appropriately filled with black pixels. For each block in the target frame, we refer to the corresponding position in the reference frame and find the area that gives the best match.

All calculations are performed using Python.

showcase

Contributors

Python

multimedia_systems_motion_compensation_techniques_in_video_processing's People

Contributors

alexhsog avatar dmatsanganis avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.