vipimagecompression.mdl
Open this model

# Image Compression

This demo illustrates image compression using the discrete cosine transform (DCT).

## Contents

- Demo Model
- Image Compression Results

## Demo Model

The following figure shows the Image Compression demo model:

## Image Compression Results

This demo uses the Block Processing block to send 8-by-8 submatrices of each video frame to the block's subsystem for processing. Within this subsystem, the demo applies the DCT to each 8-by-8 submatrix and then quantizes it. In the Decoder subsystem, the demo performs inverse quantization and inverse DCT to retrieve the original data.