IP Library › Granted Patent US 10,962,860
Granted Patent B2
US 10,962,860 · App. 16/096,304 · Granted Mar 30, 2021

System and method for optimizing focus of optical system passively

Inventors: Erkan Okuyan (Ankara, TR); Murat Gevrekci (Ankara, TR); Berk Ulker (Ankara, TR); Cevdet Aykanat (Ankara, TR)
Assignee: ASELSAN ELEKTRONIK SANAYI VE TICARET ANONIM SIRKETI
G03B13/36G02B7/36H04N5/2254H04N5/232133
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,962,860
App. No.
16/096,304
Granted
Mar 30, 2021
Kind
B2
Abstract

A method for optimizing focus of an optical system passively includes the following steps: discretizing optical positions with respect to precision requirements; initializing an idle counter to zero, going to the initial optical position, initializing a best position to current position, clearing a sharpness array; calculating correspondence; adding a sharpness value to a sharpness array; calculating a longest increasing subsequence on the sharpness array; checking if the longest increasing subsequence length increases; clearing the idle counter; setting the best position to the current position; incrementing the idle counter; checking if the termination threshold is reached; checking if the current position corresponds to the end of discrete optical positions if the termination threshold is not reached; driving motors to the next position; optionally improving the best position; going to the best position and terminating the method.

Claims (24)

1. A method for optimizing the focus of a camera optical system, comprising:

providing a sensor for capturing images, a processor, a memory, and a control connected to the sensor to control driver motors for focusing the optical system, the processor is configured to implement the method, which comprises the following steps:

discretizing optical positions or focus distances of the optical system;

initializing an idle counter to zero, the idle counter holds a number of iterations when the optical system is unable to improve focus performance;

driving the optical system to a predetermined initial optical position;

initializing a best position, the best position holds a best focusing distance came across up until a current execution iteration, to a current position;

clearing a sharpness array, the sharpness array holds sharpness values of already processed images;

calculating correspondence for at least one image and obtaining a focus distance value and a sharpness value, wherein the focus distance value denotes a focus distance of the optical system for the at least one image, and the sharpness value denotes a sharpness value calculated for the at least one image;

adding at least one sharpness value to the sharpness array;

calculating a longest increasing subsequence on the sharpness array;

checking if a length of the longest increasing subsequence increases;

clearing the idle counter if the length of the longest increasing subsequence increases;

setting the best position to the current position;

incrementing the idle counter if the length of the longest increasing subsequence does not increase;

checking if a termination threshold is reached;

checking if the current position corresponds to an end of discrete optical positions if the termination threshold is not reached;

driving motors to a next position, if the current position does not correspond to the end of discrete optical positions; and,

going to the best position and terminating the method, if the termination threshold is reached or if the current position corresponds to the end of discrete optical positions.

2. The method according to claim 1 , wherein the discretization of the optical positions is user controlled in the step of discretizing optical positions of the optical system.

3. The method according to claim 1 , wherein the predetermined discretization steps are found empirically in the step of discretizing optical positions of the optical system.

4. The method according to claim 1 , wherein calculated sharpness values are ordered so that focus distance values of calculated images are ordered consecutively in the step of adding at least one sharpness value to the sharpness array.

5. The method according to claim 1 , wherein a sorting pass is carried out on the sharpness array on the focus distance entries in the step of adding at least one sharpness value to the sharpness array, if an overall execution sequence of the focus distance is not ordered.

6. The method according to claim 1 , wherein the step of setting the best position to the current position comprises a sub-step of checking focus performances of the best position and the current position and replacing the best position with the current position if a focus quality of the current position is higher.

7. The method according to claim 1 , further comprising a step of: improving the best position if the termination threshold is reached or if the current position corresponds to the end of discrete optical positions, then going to best position and terminating the process.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 29, 2021
From: OKUYAN, ERKAN; GEVREKCI, MURAT; ULKER, BERK; AYKANAT, CEVDET
To: ASELSAN ELEKTRONIK SANAYI VE TICARET ANONIM SIRKETI
Reel/Frame 055071/0567 →
Continuity (1)
Related Publication 20200049947A1 · Feb 13, 2020
Cited By (2)
US 12,358,425 US 12,715,356