Compression-Decompression pipeline based on motion compensation and background-foreground segmentation.