Abstract:
There is described a method of obtaining a depth map from a single digital image of a three-dimensional scene containing geometric objects. It envisages 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 of the image. In particular, the identification of at least one plane comprises 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 is made in accordance with the angular coefficients of the identified vanishing lines. Also described is a completely automatic method for obtaining a depth map from a single digital image of any three-dimensional scene.
Abstract:
A method (Img_Class) for associating with a digital image (Img RGB ) a class of a plurality of predefined classes characterized by respective models. The method comprises the following phases:
dividing (Reg_Detect) the digital image pixel by pixel into one or more regions belonging to a set of predefined regions that differ from each other on account of their type of content, the division being effected by establishing whether or not a pixel of the image belongs to a respective region on the basis of an operation of analyzing the parameters this pixel, the analysis operation being carried out by verifying that the parameters satisfy predefined conditions and/or logicomathematical relationships of belonging to the respective region, acquiring (f 1 ) from the digital image divided into regions (Img Reg ) information regarding the regions that are present in it, comparing (Cmp) this information with at least one model characterizing a respective class of said plurality, associating (SetCL 1 ) with the digital image a class (I_Class) on the basis of the comparison phase.
Abstract:
There is described a method of obtaining a depth map from a single digital image of a three-dimensional scene containing geometric objects. It envisages 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 of the image. In particular, the identification of at least one plane comprises 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 is made in accordance with the angular coefficients of the identified vanishing lines. Also described is a completely automatic method for obtaining a depth map from a single digital image of any three-dimensional scene.