Patent ID: 8659765

Claim:
A three-dimensional shape determining apparatus comprising: a projection unit configured to project, on a subject, first pattern light which has a bright section and a dark section and second pattern light in which a relation of a bright section and a dark section thereof is inverted in regard to a relation of the bright section and the dark section of the first pattern light; a luminance distribution obtaining unit configured to obtain, by imaging the subject, a first luminance distribution of the subject in a state that the first pattern light has been projected, a second luminance distribution of the subject in a state that the second pattern light has been projected, and a third luminance distribution of the subject in a state that the first pattern light and the second pattern light are not projected; an intersection point deriving unit configured to derive an intersection point of the first luminance distribution and the second luminance distribution; and a three-dimensional shape deriving unit configured to derive a three-dimensional shape of the subject on the basis of the intersection point, wherein the intersection point deriving unit derives, on the basis of the third luminance distribution, the intersection point of the first luminance distribution and the second luminance distribution in a state that a component by ambient light included in a predetermined range of the first luminance distribution and a component by ambient light included in a predetermined range of the second luminance distribution have been set to be substantially equal to each other.