1. A method comprising: identifying a first image element of an image as a background and a second image element of the image as a foreground; assigning the background to an occlusion category based on a relative occlusion between the background and the foreground; and processing, via a processor, the image based on the occlusion category.