Patent ID: 8564771

Claim:
A calibration apparatus configured to associate a pixel position and a wavelength of a sensor included in a spectrometer and to calibrate the spectrometer according to the associated pixel position and the wavelength, the calibration apparatus comprising: a first search unit that searches, based on a pixel value corresponding to incident light acquired by the sensor of the spectrometer, for a first pixel position corresponding to a bright line spectrum of the incident light by a first search method; a second search unit that searches, based on the pixel value corresponding to the incident light acquired by the sensor of the spectrometer, for a second pixel position corresponding to the bright line spectrum of the incident light by a second search method; and an association unit that associates either one of the first pixel position extracted by the first search unit and the second pixel position extracted by the second search unit with the wavelength of the bright line spectrum of the incident light; wherein in the first search method, the first pixel position corresponding to the bright line spectrum of the incident light is searched for within a first search range of the sensor, and wherein it is determined whether a predetermined condition is satisfied based on whether the first pixel position exists on a boundary of the first search range or outside the first search range.