SLIDE 1
Exercise 2: Encoder / Decoder Framework
Goals: Implement basic framework for encoder and decoder (without any real data processing) Implement block-wise processing of samples Encoder Operation Read image in PGM format Write data to bitstream (on the basis of square B×B blocks)
image width W and image height H (each as 16-bit value) block size B (as 16-bit value) process B×B blocks in raster-scan order (i.e., block line by block line) write samples of each block in line-by-line order
Decoder Operation Read data from bitstream (on the basis of square B×B blocks as specified above) Write image in PGM format
Heiko Schwarz (Freie Universität Berlin) — Image and Video Coding