Patent ID: 7661826

Claim:
An projecting apparatus comprising: a distance-measuring apparatus including: a phase difference sensor including a pair of light-receiving components arranged in line; a driving mechanism which supports the phase difference sensor such that the light-receiving components face a target object, and moves the phase difference sensor in a direction perpendicular to a direction of arrangement of the light-receiving components; and a distance-measuring unit which measures a distance to the target object in the direction of arrangement of the light-receiving components while the phase difference sensor is set in a given position and which moves the phase difference sensor through the driving mechanism to measure a distance to the target object in the direction perpendicular to a direction of arrangement of the light-receiving components; a distance-measuring control unit which controls a distance-measuring operation of the distance-measuring apparatus; and a trapezoid correcting unit which corrects a trapezoidal image projected on the target object based on the distances to the target object obtained from the distance-measuring apparatus in response to an instruction of the distance-measuring control unit.