CPC G02B 7/102 (2013.01) [G02B 7/285 (2013.01)] | 20 Claims |
1. A lens control device comprising:
a processor that performs a control of generating image data for each of first wavelength range light and second wavelength range light by causing an image sensor in which the first wavelength range light and the second wavelength range light are imaged by an imaging lens including a focus lens that is moved along an optical axis to perform imaging for each of the first wavelength range light and the second wavelength range light; and
a memory built in or connected to the processor,
wherein the processor
estimates a first focus position of the focus lens for the first wavelength range light based on a first focus evaluation value determined in accordance with the image data of the first wavelength range light,
estimates a second focus position of the focus lens for the first wavelength range light based on a second focus evaluation value determined in accordance with the image data of the second wavelength range light, and
performs a control of moving the focus lens along the optical axis based on the first focus position in a case in which a comparison result obtained by comparing the first focus position with the second focus position satisfies a predetermined condition.
|