Confusion on motion estimation block diagram-MPEG video compression-:

Click For Summary
SUMMARY

The discussion centers on the confusion surrounding motion estimation in MPEG video compression, specifically regarding block matching and prediction error coding. It clarifies that frame n is indeed segmented into blocks, and inputs from frame (n-1) are utilized for block matching, as indicated in the referenced document. The prediction error coding process involves sending a correction factor to adjust for motion discrepancies between frames, requiring the receiver to maintain a copy of the previous frame for accurate comparison.

PREREQUISITES
  • Understanding of MPEG video compression techniques
  • Familiarity with block matching algorithms
  • Knowledge of prediction error coding methods
  • Ability to interpret technical documentation related to video processing
NEXT STEPS
  • Study the principles of MPEG video compression in detail
  • Learn about block matching algorithms and their implementations
  • Research prediction error coding techniques and their applications
  • Examine case studies on motion estimation in video encoding
USEFUL FOR

This discussion is beneficial for video compression engineers, software developers working with multimedia applications, and students studying digital signal processing and video encoding techniques.

shivajikobardan
Messages
637
Reaction score
54
Homework Statement
block matching algorithm confusion
Relevant Equations
none
svGOSnpFO94tutB2h-927rxVYRDUGzi-JF9FYs9hKivGdCvrAP.png

My doubts are as follows-:

-> Why frame n is not segmented to blocks?

-> Why no inputs from (n-1) side for block matching?
-> What do we do in prediction error coding?

Source-: https://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/AV0506/s0561282.pdf

I have read this many times but that didn’t help to clear my doubts.



This video. This confused the hell out of me.
 
Physics news on Phys.org
shivajikobardan said:
Homework Statement:: block matching algorithm confusion
Relevant Equations:: none

-> Why frame n is not segmented to blocks?
It is.
The poorly worded description you have only implies the block operation, for instance by showing it in the figure as "Block Matching." Later text also describes operations that can only be done on blocks.

-> Why no inputs from (n-1) side for block matching?
There is.
Again the figure shows Block Matching output for the two frames feeding the "Prediction Error Coding" operation.

Both of the above are explained (sort of) on pgs 3 and 4 of the document you linked.

-> What do we do in prediction error coding?
The Block Matching searches the blocks in the n-1 frame, and if it finds a close match to the current block in the n frame, it sends an instruction to the receiver to use that already received block from n-1.
However that n-1 block is not always an exact match due to image motion between frames.
The Prediction Error Coding then sends a 'Correction' factor that the receiver applies to n-1 frame to account for any motion that may have occurred between frames.

Note that this requires the receiver to keep a copy of the reference (previous) frame for comparison.

Hope this helps!

Cheers,
Tom

p.s. By the way, I found the video useless, I could not understand the accent of the presenter.
 
  • Like
Likes   Reactions: sysprog and berkeman
Tom.G said:
It is.
The poorly worded description you have only implies the block operation, for instance by showing it in the figure as "Block Matching." Later text also describes operations that can only be done on blocks.There is.
Again the figure shows Block Matching output for the two frames feeding the "Prediction Error Coding" operation.

Both of the above are explained (sort of) on pgs 3 and 4 of the document you linked.The Block Matching searches the blocks in the n-1 frame, and if it finds a close match to the current block in the n frame, it sends an instruction to the receiver to use that already received block from n-1.
However that n-1 block is not always an exact match due to image motion between frames.
The Prediction Error Coding then sends a 'Correction' factor that the receiver applies to n-1 frame to account for any motion that may have occurred between frames.

Note that this requires the receiver to keep a copy of the reference (previous) frame for comparison.

Hope this helps!

Cheers,
Tom

p.s. By the way, I found the video useless, I could not understand the accent of the presenter.
Hmm you're telling it includes everything..but it isn't included in figure I'm confused..🧐..can you explain 1 round of this flowchart in small brief? I'm really confused..btw what happens in block matching?
 
Very general hint: whenever I find a document on some technology confusing I google other sources to do a cross check. The more, the better.
 
  • Like
Likes   Reactions: Tom.G and sysprog

Similar threads

  • · Replies 1 ·
Replies
1
Views
12K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
5K