Patent ID: 8878903

Claim:
A method, comprising: acquiring a first image of an object lit by a luminous flux having, in a region including the object, a luminous intensity dependent on a distance of a light source emitting the luminous flux; acquiring a second image of the object lit by a luminous flux having, in a region including the object, a constant luminous intensity; and determining for pixels of a set of pixels of a three-dimensional image, a relative distance of a point of the object as a function of an intensity of a pixel corresponding to the point of the object in the first and second acquired images, wherein the relative distance of each pixel of the set of pixels of the three-dimensional image is determined based on the following equation: D ⁡ ( P ) = I ⁢ ⁢ 3 ⁢ ( P ) I ⁢ ⁢ 2 ⁢ ( P ) wherein D(P) represents a pixel of the three-dimensional image, corresponding to a point P of the object, and I 2 (P) and I 3 (P) represent the intensity of the pixel corresponding to the point P of the object, respectively in the first and second images.