摘要 |
Described are computer-based methods and apparatuses, including computer program products, for three dimensional image rendering. In some embodiments, data indicative of a two dimensional image is stored in a data storage device, the two dimensional image comprising a plurality of pixels. A plurality of color segmented frames are generated based on the two dimensional image, wherein each color segmented frame comprises one or more objects. For each of the color segmented frames, a key is generated based on the one or more objects. A depth map is calculated for the two dimensional image based on the keys, wherein the depth map comprises data indicative of three dimensional information for each pixel of the two dimensional image. In some embodiments, a first two dimensional image and a second two dimensional image are received. A reduced pixel image is generated for each of the first and second two dimensional images, wherein each reduced pixel image comprises a reduced pixel size that is less than the original pixel size. Boundary information is calculated for each of the first and second two dimensional images. A depth map is calculated for the first and second reduced pixel images, wherein the depth map comprises data indicative of three dimensional information for one or more objects in the first and second reduced pixel images. A depth map is calculated for the first and second two dimensional images based on the boundary information for each of the first and second two dimensional images and the depth map of the first and second reduced pixel images. |