Your SlideShare is downloading. ×
Implementation of optimized diamond search algorithm
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Implementation of optimized diamond search algorithm

364
views

Published on

Published in: Technology, Business

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
364
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Implementation of Optimized Diamond Search Algorithm A Term Project for the course of Advance Digital System Design By Muhammad Naeem Tayyab Supervisor: Dr. Rehan Hafiz 1
  • 2. Motion Estimation is one of themost time consuming part invideo encoding system, it is aprocess of determining motionvectors that describestransformations from one imageto another.Block Matching is the way oflocating matching blocks in asequence of digital video Figure 1. Block Matchingframes for the purpose ofMotion Estimation. 2
  • 3.  Full Search (FS) Binary Search (BS) Three Step Search (TSS) Four Step Search (FSS) Diamond Search (DS) 3
  • 4. Step 1: Let say center point is(x,y) and having eightneighborhood points. ComputeSAD (Sum of AbsoluteDifference) at four points(x+1,y), (x-1,y),(x,y+1) and (x,y-1). New point is the one havingminimum SAD value.Step 2: Keep doing Step 1 untilyou found MinSAD at centerpoint. Figure 2. Example of DS Algorithm 4
  • 5. Figure 3. Flow Chart of DS Algorithm 5
  • 6. 3 3SAD =  I ( x  k , y  l )  S (k , l ) k 0 l 0 X – Y, X >Y |X–Y| = Y – X, Y >X 0, X == Y 6
  • 7. (x,y-1)(x-1,y) (x+1,y) (x,y) (x,y+1) Figure 4. SAD Calculation Points 7
  • 8. 8
  • 9. 9
  • 10. 10
  • 11. Questions??? 11