1. A method comprising: compiling three-dimensional content into a data store; identifying a plurality of stereo image pairs from the three-dimensional content; computing a depth map for each of the stereo image pairs from the three-dimensional content; partitioning the plurality of stereo image pairs in the data store into a plurality of categories; determining, by a processing device, a depth cue for each of the plurality of categories based on the depth map for each of the plurality of stereo image pairs in each category; computing a depth map for a category associated with a two-dimensional input image based on the determined depth cue; and rendering a three-dimensional output image from the two-dimensional input image using the depth map for the category.