Patent attributes
A method of obtaining a depth map from a single digital image of a three-dimensional scene containing geometric objects is provided that includes the identification in the image of at least one horizontal plane or one vertical plane of the three-dimensional scene and the assignment to every point of the image forming part of the identified plane, or to each one of the identified planes, of a depth level according to its distance from, respectively, a predetermined horizontal or vertical reference straight line of the image. In particular, the identification of at least one plane includes the identification in the image of at least two vanishing lines corresponding to two parallel lines in the plane and the assignment of a depth level made in accordance with the angular coefficients of the identified vanishing lines. Also included is a completely automatic method for obtaining a depth map from a single digital image of any three-dimensional scene.