Focusing position detection method, focusing position detection device and recording medium
AssigneeSCREEN Holdings Co., Ltd.
InventorTakuya Yasuda
Life of this patent
Estimating the term…
Abstract
In a focusing position detection method, a plurality of object images are acquired by imaging an imaging object by an imager while changing a focal position in M stages along an optical axis. A saturation consecutive region is acquired. The saturation consecutive region is included in all N (where N is a natural number equal to or more than three and equal to and less M) object images acquired while successively changing the focal position in N stages along the optical axis. A focusing degree decrease as the focal position approaches focusing position in the saturation consecutive region. Based on this property, the focusing position is detected.
Claims9
A focusing position detection method comprising:
- a first step of acquiring M (where M is a natural number equal to or more three) object images by imaging an imaging object by an imager while changing a focal position in M stages along an optical axis;
- a second step of acquiring a saturation region exceeding a predetermined luminance from the M object images;
- a third step of acquiring a saturation consecutive region, the saturation region being included in all N (where N is a natural number equal to or more than three and equal to and less than M) object images acquired while successively changing the focal position in N stages along the optical axis in the saturation consecutive region;
- a fourth step of obtaining a focusing degree indicating a degree of focusing from the object image for each object image;
- a fifth step of determining whether or not a local minimum value of the focusing degree is present when the focusing degrees obtained in the fourth step are arranged in an order of the focal positions;
- a sixth step of correcting N focusing degrees corresponding to the saturation consecutive region, out of M focusing degrees obtained in the fourth step, based on a property that the focusing degree decreases as the focal position approaches the focusing position in the saturation consecutive region when the presence of the local minimum value is determined in the fifth step;
- and
- a seventh step of specifying the focusing position based on N focusing degrees corrected by the sixth step and (M-N) focusing degrees not corrected by the sixth step, wherein M-N is a difference between natural numbers M and N.
A focusing position detection device that detects a focusing position based on M (where M is a natural number equal to or more three) object images acquired by imaging an imaging object by an imager while changing a focal position in M along an optical axis, the device comprising:
- a processor;
- and
- a memory configured to store instructions, when executed by the processor, causing the processor to:
- acquire a saturation region exceeding a predetermined luminance from the M object images;
- acquire a saturation consecutive region, the saturation region being included in all N (where N is a natural number equal to or more than three and equal to and less than M) object images acquired while successively changing the focal position in N stages along the optical axis in the saturation consecutive region;
- calculate a focusing degree indicating a degree of focusing from the object image for each object image;
- correct the N focusing degrees corresponding to the saturation consecutive region, out of M focusing degrees, based on a property that the focusing degree decreases as the focal position approaches the focusing position in the saturation consecutive region when the focusing degrees arranged in an order of the focal positions and calculated by the focusing degree calculator have a local minimum value;
- and
- specify the focusing position based on N focusing degrees corrected by the focusing degree corrector and (M-N) focusing degrees not corrected by the focusing degree corrector, wherein M-N is a difference between natural numbers M and N.
Dependencies are inferred from the claim text.