1 RTL Example: Video Compression – Sum of Absolute Differences Video is a series of frames (e.g., 30 per second) Most frames similar to previous frame.

Similar presentations

Presentation on theme: "1 RTL Example: Video Compression – Sum of Absolute Differences Video is a series of frames (e.g., 30 per second) Most frames similar to previous frame."— Presentation transcript:

2
2 RTL Example: Video Compression – Sum of Absolute Differences Need to quickly determine whether two frames are similar enough to just send difference for second frame –Compare corresponding 16x16 “blocks” Treat 16x16 block as 256-byte array –Compute the absolute value of the difference of each array item –Sum those differences – if above a threshold, send complete frame for second frame; if below, can use difference method (using another technique, not described) Frame 2Frame 1 compare Assume each pixel is represented as 1 byte (actually, a color picture might have 3 bytes per pixel, for intensity of red, green, and blue components of pixel)