主权项 |
1. A light projection apparatus that projects light onto an arbitrary space and an object set in the space, comprising:
a projection light data generator that generates projection light data for specifying the projection light; a projection range setter that sets, without reference to an image taken of the arbitrary space, a projection range onto which the light is projected and a non-projection range onto which the light is not projected in accordance with an operation of a user, and using a projection range parameter that represents the projection range or the non-projection range by coordinates on a projection-enabled range onto which projection light can be projected by the light projection apparatus; a projection light data corrector that corrects the projection light data so as to project the light onto the projection range set by the projection range setter, the projection light data corrector performing trimming processing for the projection light data using the projection range parameter that represents the projection range or the non-projection range by coordinates on the projection-enabled range of the projection apparatus; a projection light correction data drawer that performs drawing processing for projection light correction data obtained by correcting the projection light data by the projection light data corrector; a light projector that projects the light by using projection light drawing data generated by the projection light correction data drawer; a reference image data generator for generating reference image data for generating a reference image formed into a grid shape; a reference image drawer that performs drawing processing for the reference image data generated by the reference image data generator; a reference image projector that projects the light by using reference image drawing data drawn by the reference image drawer; a displayer that displays the reference image drawing data drawn by the reference image drawer, wherein the reference image is projected onto the space and the object, which are light projection targets; a reference image projection parameter inputter that inputs a parameter including position, attitude and specifications of the reference image projector; an operation position parameter inputter that inputs a parameter including an operation position of the user who sets the projection range by the projection range setter; a virtual plane parameter inputter that, in order to grasp a display state of the reference image projected from the reference image projector, receives a parameter including a position, attitude and size of a virtual planar region virtually set on a projection region of the reference image projector; and a reference image distortion corrector that corrects, based on the parameter including the position, attitude and specifications of the reference image projector, the parameter including the operation position and the parameter including the position, attitude and size of the virtual planar region, the reference image data so as to distort the reference image, which is projected from the reference image projector, in order to allow the reference image to be observed free from distortion in a case where the user visually recognizes the reference image. |