When the reference image is produced, a mark is photographed by the camera 200, and an image including the mark is fed via the image input unit 110 to the reference image pattern generating unit 180 in which a reference image associated with the mark is produced.