A computer readable medium comprising recorded instructions, which if executed would cause a method to be performed for obtaining data for calibration of a camera capable of varying optical conditions, using a plurality of images of a calibration chart comprising first marks and second marks, the first marks being more easily recognized than the second marks, the images being photographed with said camera under varied optical conditions, the method comprising:
- extracting said second marks from said images photographed respectively under the varied optical conditions in at least three different photographing angles, the photographing angles being set by using said first marks of said chart;
- calculating data for calibration under optical conditions under which said images of said chart were photographed based on the positions of said second marks extracted;
- and
- calculating means for calculating data for calibration corresponding to said varied optical photographing conditions of said camera, using said data for calibration and a plurality of optical conditions under which said images of said chart were photographed.