1. A device comprising: a characteristic point extraction part configured to extract, as a characteristic point, a pattern projected on an object from an imaging image obtained by imaging the pattern projected on the object; and a parameter calculation part configured to calculate a parameter configured to minimize a distance between the characteristic point on an imaging image plane and a line obtained by projecting a projection light ray corresponding to the characteristic point onto the imaging image plane.