This invention relates generally to optical system evaluation.
In operation, manufacturing and calibration of systems including optical subsystems, the operations of determining and setting desired focus are typically included. While many complex methods of determining and setting desired focus are available, there is a need for simple repeatable methods for determining and setting desired focus. Methods for determining the desired focus based on a gray scale image that rely on human judgment are subject to user interpretation. There is a need for a repeatable, simple method for determining the desired focus of an imaging system based on a gray scale image.
Systems and methods for determining, based on a gray scale image, focus of an imaging system are disclosed.
An embodiment of a method of this invention includes the steps of: a) acquiring a gray scale image of a test target, b) binarizing the acquired gray scale image, c) analyzing the binarized acquired image, d) adjusting focus of acquisition optics of the imaging system, and e) repeating steps a) through d) until a substantially maximum number of line pairs of a number of groups of line pairs of the test target is obtained, wherein each group from the number of groups of line pairs has a predetermined spatial frequency, whereby focus of the imaging system is determined.
An embodiment of a test target of this invention includes a number of groups of line pairs, each group having a predetermined spatial frequency, one predetermined spatial frequency of one group is selected to exceed a spatial frequency substantially equal to a predetermined value, a maximum desired resolution in one embodiment.
For a better understanding of the present invention, together with other and further objects thereof, reference is made to the accompanying drawings and detailed description.
a and 4b are block diagram representations of two other embodiments of the system of this invention;
a and 7b are pictorial representations of gray scale images of a test target at two different focus positions; and
a and 8b are pictorial representations of binarized gray scale images of a test target at the two different focus positions corresponding to
Systems and method for determining, based on a gray scale image, focus of an imaging system are disclosed hereinbelow.
The substantially maximum number of line pairs (or equivalently line pair groups) appearing in the binarized image represents the desired focus of the imaging system.
A block diagram of an embodiment 100 of the system of this invention is shown in
A block diagram of an embodiment 200 of the system of this invention is shown in
The one or more processors 150, the one or more computer readable memories 160 or 190, the output system 170, and the data collector interface component 145 are operatively connected to each other by interconnection means 135 (a common bus, in one embodiment).
In one embodiment, the binarizing component includes an edge detection binarizer (see, for example, but not limited to, Moon-Soo Chang, Sun-Mee Kang, Woo-Sik Rho, Heok-Gu Kim, Duck-Jin Kim, “Improved binarization algorithm for document image by histogram and edge detection”, Proceedings of the Third International Conference on Document Analysis and Recognition, 1995 and references therein). The edge detection binarizer can be implemented in hardware, software (code) or a combination of hardware and software.
In order to illustrate the method of this invention, the following sample results are presented below.
Although the above embodiments have used a maximum desired resolution as the predetermined value exceeded by the predetermined spatial frequency of one group of line pairs, any quantity or group of quantities indicative of the desired spatial frequency response of the optical portion of the image acquisition component (such as, but not limited to, the point spread function of the optical portion of the image acquisition component and the representative distance between the target and the optical portion) could be used.
In general, the techniques described above may be implemented, for example, in hardware, software, firmware, or any combination thereof. The techniques described above may be implemented in one or more computer programs executing on a programmable computer including a processor, a storage medium readable by the processor (including, for example, volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Program code may be applied to data entered using the input device to perform the functions described and to generate output information. The output information may be applied to one or more output devices.
Elements and components described herein may be further divided into additional components or joined together to form fewer components for performing the same functions.
Each computer program within the scope of the claims below may be implemented in any programming language, such as assembly language, machine language, a high-level procedural programming language, or an object-oriented programming language. The programming language may be a compiled or interpreted programming language.
Each computer program may be implemented in a computer program product tangibly embodied in a computer-readable storage device for execution by a computer processor. Method steps of the invention may be performed by a computer processor executing a program tangibly embodied on a computer-readable medium to perform functions of the invention by operating on input and generating output.
Common forms of computer-readable or usable media include, for example, a floppy disk, a flexible disk, hard disk, magnetic tape, or any other magnetic medium, a CDROM, any other optical medium, punched cards, paper tape, any other physical medium with patterns of holes, a RAM, a PROM, and EPROM, a FLASH-EPROM, any other memory chip or cartridge, a carrier wave, or any other medium from which a computer can read.
Although the invention has been described with respect to various embodiments, it should be realized this invention is also capable of a wide variety of further and other embodiments within the spirit and scope of the appended claims.
This application claims priority of U.S. Provisional Application 60/515,242 filed on Oct. 29, 2003, which is herein incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
4153834 | Hayamizu | May 1979 | A |
4325082 | Griesshaber | Apr 1982 | A |
4464681 | Jacobs et al. | Aug 1984 | A |
4751376 | Sugiura et al. | Jun 1988 | A |
4912567 | Nakajima et al. | Mar 1990 | A |
5087537 | Conway et al. | Feb 1992 | A |
5307175 | Seachman | Apr 1994 | A |
5572444 | Lentz et al. | Nov 1996 | A |
5661816 | Fantone et al. | Aug 1997 | A |
5966208 | Samuelson | Oct 1999 | A |
6483950 | Wallack | Nov 2002 | B1 |
6535307 | Allen et al. | Mar 2003 | B1 |
6567570 | Steinle et al. | May 2003 | B1 |
6577344 | Kadohara et al. | Jun 2003 | B2 |
20020140990 | Liu | Oct 2002 | A1 |
20030030854 | Huang et al. | Feb 2003 | A1 |
20030067595 | Alderson et al. | Apr 2003 | A1 |
Number | Date | Country | |
---|---|---|---|
20050094133 A1 | May 2005 | US |
Number | Date | Country | |
---|---|---|---|
60515242 | Oct 2003 | US |