Coding scenes using the image background