1. An information processing apparatus comprising: reference line pattern detection means for detecting a reference line pattern from a captured image of an object to which pattern light is projected by pattern light projection means, the image being captured by image pickup means, the pattern light including line patterns having at least two directions and having at least two lines in each of the directions and including at least one reference line pattern used for identifying each of the line patterns as a reference of the line patterns, wherein the shape or color of the reference line pattern is different from that of the line patterns; and line pattern corresponding means for establishing correspondence between line patterns projected by the pattern light projection means and line patterns captured by the image pickup means in accordance with topological positional relationship using the reference line pattern detected by the reference line pattern detection means.