← Back to Patent Explorer
US5621822A Expired / Lapsed US ⏱️ 0.0 years remaining

Method of detecting focus position of object from variable gray level image of object

Assignee: Panasonic Holdings Corp
•
Filing: 1994-07-29
•
Granted: 1997-04-15
•
Expires: 2014-07-29
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A focus position detecting method includes: obtaining quantized two-dimensional image data including an object to be in focus with respect to an optical system by imaging the object through the optical system, defining a specified area in the two-dimensional image data; defining a partial image in the specified area, the partial image being composed of a target pixel and peripheral pixels on a line in a specified direction in which the target pixel exists; defining a left area and a right area respectively positioned on left and right sides of the target pixel on the line in the specified direction; calculating gray-level data of each pixel in the left area; calculating gray-level data of each pixel in the right area; obtaining as a gray-level ratio a ratio of calculation result of the left area to calculation result of the right area; calculating an evaluation function by means of the gray-level ratio by repeating the gray-level ratio calculating step in the specified area; obtaining a plurality of evaluation function calculation values in a variety of optical positions by repeating the steps for calculating the gray-level data of the left and right areas, obtaining the gray-level ratio, and calculating the evaluation function through variation of the optical position of the object, and obtaining a focus position of the object with respect to the optical system based on the evaluation function calculation values.

Inventors

  • 👤 Noriaki Yukawa
  • 👤 Satoru Kimura
  • 👤 Takeo Sato

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-03 22:13
CPC Classifications
G; G03; G03F; G03F9/00; G03F9/70; G03F9/7003; G03F9/7023; G03F9/7026; G03F7/00; G03F7/70; G06; G06T; G06T7/00; G06T7/40; G06T7/41; G06T7/44; G06T2207/00; G06T2207/10; G06T2207/10141; G06T2207/10148

Claims Analysis

Total Claims: 8
Claim 1
Independent Claim 361 words
A focus position detecting method comprising steps of: obtaining quantized two-dimensional image data including an object to be in focus with respect to an optical system by imaging the object through the optical system; defining a specified area in the two-dimensional image data; defining a partial image in the specified area, the partial image being composed of a target pixel and peripheral pixels on a line in a specified direction in which the target pixel exists; defining a left area and a right area respectively positioned on left and right sides of the target pixel on the line in the specified direction; calculating gray-level data of each pixel in the left area; calculating gray-level data of each pixel in the right area; obtaining as a gray-level ratio a ratio of calculation result of the left area to calculation result of the right area; calculating an evaluation function by means of the gray-level ratio by repeating the gray-level ratio calculating step in the specified area; obtaining a plurality of evaluation function calculation values in a variety of optical positions by repeating the steps for calculating the gray-level data of the left and right areas, obtaining the gray-level ratio, and calculating the evaluation function through variation of the optical position of the object; and obtaining a focus position of the object with respect to the optical system based on the evaluation function calculation values; wherein after an average value AV1 of gray-level data of each pixel in the right area and an average value AV2 of gray-level data of each pixel in the left area are calculated, the gray-level ratio of the average value AV1 to the average value AV2 is calculated by the following condition: when the average value AV1 of the right area is larger than the average value AV2 of the left area, the gray-level ratio is AV1/AV2; when the average value AV1 of the right area is smaller than the average value AV2 of the left area, the gray-level ratio is AV2/AV1; and when the average value AV1 of the right area is the same as the average value AV2 of the left area, the gray-level ratio is 1.0.
Claim 2
Dependent Claim 361 words
A focus position detecting method comprising steps of: obtaining quantized two-dimensional image data including an object to be in focus with respect to an optical system by imaging the object through the optical system; defining a specified area in the two-dimensional image data; defining a partial image in the specified area, the partial image being composed of a target pixel and peripheral pixels on a line in a specified direction in which the target pixel exists; defining a left area and a right area respectively positioned on left and right sides of the target pixel on the line in the specified direction; calculating gray-level data of each pixel in the left area; calculating gray-level data of each pixel in the right area; obtaining as a gray-level ratio a ratio of calculation result of the left area to calculation result of the right area; calculating an evaluation function by means of the gray-level ratio by repeating the gray-level ratio calculating step in the specified area; obtaining a plurality of evaluation function calculation values in a variety of optical positions by repeating the steps for calculating the gray-level data of the left and right areas, obtaining the gray-level ratio, and calculating the evaluation function through variation of the optical position of the object; and obtaining a focus position of the object with respect to the optical system based on the evaluation function calculation values; wherein after an average value AV1 of gray-level data of each pixel in the right area and an average value AV2 of gray-level data of each pixel in the left area are calculated, the gray-level ratio of the average value AV1 to the average value AV2 is calculated by the following condition: when the average value AV1 of the right area is larger than the average value AV2 of the left area, the gray-level ratio is AV1/AV2; when the average value AV1 of the right area is smaller than the average value AV2 of the left area, the gray-level ratio is AV2/AV1; and when the average value AV1 of the right area is the same as the average value AV2 of the left area, the gray-level ratio is 1.0.
Claim 3
Dependent Claim 25 words
The focus position detecting method as claimed in claim 1, wherein a position having the greatest cumulative gray-level ratio is selected as the focus position.
Claim 4
Dependent Claim 53 words
The focus position detecting method as claimed in claim 1, wherein interpolation data are obtained for the plural number of evaluation function calculation values in a plurality of optical positions, and the focus position of the object with respect to the optical system is obtained based on a result including the interpolation data.
Claim 5
Dependent Claim 361 words
A focus position detecting method comprising steps of: obtaining quantized two-dimensional image data including an object to be in focus with respect to an optical system by imaging the object through the optical system; defining a specified area in the two-dimensional image data; defining a partial image in the specified area, the partial image being composed of a target pixel and peripheral pixels on a line in a specified direction in which the target pixel exists; defining a left area and a right area respectively positioned on left and right sides of the target pixel on the line in the specified direction; calculating gray-level data of each pixel in the left area; calculating gray-level data of each pixel in the right area; obtaining as a gray-level ratio a ratio of calculation result of the left area to calculation result of the right area; calculating an evaluation function by means of the gray-level ratio by repeating the gray-level ratio calculating step in the specified area; obtaining a plurality of evaluation function calculation values in a variety of optical positions by repeating the steps for calculating the gray-level data of the left and right areas, obtaining the gray-level ratio, and calculating the evaluation function through variation of the optical position of the object; and obtaining a focus position of the object with respect to the optical system based on the evaluation function calculation values; wherein after an average value AV1 of gray-level data of each pixel in the right area and an average value AV2 of gray-level data of each pixel in the left area are calculated, the gray-level ratio of the average value AV1 to the average value AV2 is calculated by the following condition: when the average value AV1 of the right area is larger than .the average value AV2 of the left area, the gray-level ratio is AV2/AV1; when the average value AV1 of the right area is smaller than the average value AV2 of the left area, the gray-level ratio is AV1/AV2; and when the average value AV1 of the right area is the same as the average value AV2 of the left area, the gray-level ratio is 1.0.
Claim 6
Dependent Claim 361 words
A focus position detecting method comprising steps of: obtaining quantized two-dimensional image data including an object to be in focus with respect to an optical system by imaging the object through the optical system; defining a specified area in the two-dimensional image data; defining a partial image in the specified area, the partial image being composed of a target pixel and peripheral pixels on a line in a specified direction in which the target pixel exists; defining a left area and a right area respectively positioned on left and right sides of the target pixel on the line in the specified direction; calculating gray-level data of each pixel in the left area; calculating gray-level data of each pixel in the right area; obtaining as a gray-level ratio a ratio of calculation result of the left area to calculation result of the right area; calculating an evaluation function by means of the gray-level ratio by repeating the gray-level ratio calculating step in the specified area; obtaining a plurality of evaluation function calculation values in a variety of optical positions by repeating the steps for calculating the gray-level data of the left and right areas, obtaining the gray-level ratio, and calculating the evaluation function through variation of the optical position of the object; and obtaining a focus position of the object with respect to the optical system based on the evaluation function calculation values; wherein after an average value AV1 of gray-level data of each pixel in the right area and an average value AV2 of gray-level data of each pixel in the left area are calculated, the gray-level ratio of the average value AV1 to the average value AV2 is calculated by the following condition: when the average value AV1 of the right area is larger than .the average value AV2 of the left area, the gray-level ratio is AV2/AV1; when the average value AV1 of the right area is smaller than the average value AV2 of the left area, the gray-level ratio is AV1/AV2; and when the average value AV1 of the right area is the same as the average value AV2 of the left area, the gray-level ratio is 1.0.
Claim 7
Dependent Claim 25 words
The focus position detecting method as claimed in claim 4, wherein a position having the smallest cumulative gray-level ratio is selected as the focus position.
Claim 8
Dependent Claim 53 words
The focus position detecting method as claimed in claim 4, wherein interpolation data are obtained for the plural number of evaluation function calculation values in a plurality of optical positions, and the focus position of the object with respect to the optical system is obtained based on a result including the interpolation data.

References Cited (Backward Citations)

US3932733A Cited
US4969198A Cited
JPS62272216A Cited
US4994920A Cited
US4855943A Cited
US5291535A Cited
US5101277A Cited
US5267328A Cited
US5299133A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2000-04-14 2000-10-14 2001-04-15 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2004-04-14 2004-10-14 2005-04-15 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2008-04-14 2008-10-14 2009-04-15 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag