1. A method for cropping a source image comprising: identifying a context for the source image; identifying a visual class corresponding to the identified context from a set of visual classes; applying a class model to the source image to identify a candidate region of the image based on its relevance to the visual class; and identifying a subpart of the source image for cropping based on the candidate region.