A video compression scheme with optimal bit allocation among segmentation, motion, and residual error | Synapse