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:
To generate, from at least on monocular image (12), at least one image with stereoscopic effect (18, 20), a depth map is provided (14) of said monocular image (a). The depth map in question defines a mapping of the objects present in the monocular image in relation to their spatial position in the direction of depth. For the pixels included in the monocular image and as a function of the depth map, respective parallax values are determined (16) indicative of a respective quantity of movement by which each pixel must be moved in the image with stereoscopic effect (18, 20) in relation to the monocular image (12). A movement corresponding to the respective quantity thus defined is then applied to the pixels of the monocular image (12), if necessary dividing it between two images of a stereoscopic pair (18, 20). Post-processing (22) of the image generated is also envisaged, to eliminate artifacts such as superimposed areas between moved pixels, a lateral edge of the image or gaps between objects included in said image generated as a result of the aforesaid movement of pixels.
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.