Depth of field extension system and method
By configuring a binary phase structure mask in the optical system and using the particle swarm optimization algorithm to adjust the phase structure, the problem of resolution decrease when the optical system expands the depth of field is solved, achieving coordinated optimization of depth of field and resolution, improving image quality and Focus control.
Patent Information
- Application Number
- CN202380027048.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-03-11
- Filing Date
- 2023-03-10
- Publication Date
- 2024-10-29
AI Technical Summary
It is difficult for existing optical systems to maintain resolution when extending the depth of field, making the trade-off between depth of field and resolution difficult to overcome. In particular, incoherent optical systems have the problem of reduced resolution.
Using a binary phase structure mask, a phase shift mask is configured between the first lens and the second lens of the optical system, and a particle swarm optimization algorithm is used to generate the optimal binary phase structure to adjust the parameters of the phase shift mask and optimize Phase structure of light to extend depth of field.
It effectively expands the depth of field of the optical system, while reducing design parameters and optimizing performance, improving the image quality and focus control capabilities of the optical system.
Smart Images

Figure CN118871835A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a system and method for extending depth of field, and more particularly, to a system and method for extending the depth of field (DOF) of an optical system using a binary phase structure. Background Art
[0002] Optical systems are used in various industrial fields such as the medical field to diagnose the shape and state of an object being photographed. In this case, the corresponding optical system must meet the requirements for optical signal quality in order to provide an optical signal with sufficient resolution and accuracy for use.
[0003] In particular, defocus of an optical system is a factor that can degrade the quality of an optical signal, and therefore, in order to solve this defocus problem, a technology for extending (increasing) the depth of field (DOF) is required. In particular, in an incoherent optical system, there is a trade-off between the depth of field and the resolution. That is, when the depth of field is extended (increased), the resolution decreases.
[0004] Therefore, there is an urgent need for an improved solution that can extend the depth of field while overcoming the trade-off between depth of field and resolution to a certain extent.
[0005] However, the above content merely provides background information of the present invention and does not belong to the disclosed technology. Summary of the invention
[0006] Technical issues
[0007] In order to solve the above-mentioned conventional technical problems, an object of the present invention is to provide a system and method for extending the depth of field (DOF) of an optical system by using a binary phase structure.
[0008] However, the problems to be solved by the present invention are not limited to the problems mentioned above, and other problems not mentioned can be clearly understood by ordinary technicians in the technical field to which the present invention belongs from the following description.
[0009] Technical Solution
[0010] A system according to an embodiment of the present invention for solving the above-mentioned problem, as a system for extending the depth of field of an optical system, includes: a binary phase mask, wherein the binary phase mask is arranged between a first lens and a second lens of the optical system; and a control unit, wherein the control unit controls a binary phase structure formed in the phase shift mask.
[0011] The control unit may evaluate the corresponding binary phase structure according to the binary phase structure of the phase shift mask by using the light output from the second lens, and directly use or change the binary phase structure according to the evaluation result.
[0012] The phase shift mask may include a first region and a second region that perform mutually different phase shifting actions on light.
[0013] The first region may delay the incident light by a first phase and emit the light, and the second region may delay the incident light by a second phase and emit the light.
[0014] The first region may delay the phase of incident light by 0° and emit the light out, and the second region may delay the phase of incident light by 180° and emit the light out.
[0015] A plurality of the first region and the second region may be provided and formed in a cross-shaped manner.
[0016] The second area may be arranged in the center portion.
[0017] The binary phase mask may be implemented by a spatial light modulator or a grating light valve.
[0018] The control unit may utilize particle swarm optimization to change to an optimal binary phase structure.
[0019] A method according to an embodiment of the present invention is a method for extending the depth of field of an optical system, comprising: a step of configuring a binary phase mask between a first lens and a second lens of the optical system; and a step of applying an optimal binary phase structure while controlling the binary phase structure formed in the phase shift mask.
[0020] The step of applying the optimal binary phase structure may include: evaluating the corresponding binary phase structure according to the binary phase structure of the phase shift mask using the light output from the second lens, and then directly using or changing the binary phase structure according to the evaluation result.
[0021] The step of applying the optimal binary phase structure may include the step of applying the optimal binary phase structure using particle swarm optimization.
[0022] Effects of the Invention
[0023] The present invention constructed as described above has the advantage of being able to extend the depth of field (DOF) of an optical system by utilizing a binary phase structure.
[0024] In addition, the present invention generates an optimal binary phase structure based on particle swarm optimization (PSO), thereby having the advantages of greatly reducing the parameters used to design the binary phase mask and optimizing the performance.
[0025] The effects that can be obtained by the present invention are not limited to the effects mentioned above, and other effects not mentioned can be clearly understood by ordinary technicians in the technical field to which the present invention belongs from the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 A general block diagram of a system 100 according to an embodiment of the present invention is shown.
[0027] Figure 2 An example is shown in which the system 100 according to an embodiment of the present invention is applied to an optical system 101 .
[0028] Figure 3 Various examples of binary phase structures are shown in the plane of the phase-shift mask 110 .
[0029] Figure 4 A general block diagram of the electronic device 120 is shown.
[0030] Figure 5 An example is shown in which a point light source is incident on an optical system and whether or not the phase shift mask 110 is applied.
[0031] Figure 6 An example is shown in which the phase shift mask 110 is applied when light from a subject at various distances enters the optical system.
[0032] Figure 7 A sequence diagram showing a control method according to an embodiment of the present invention.
[0033] Figure 8 and Fig. 9 A conceptual diagram showing a control method according to an embodiment of the present invention.
[0034] Fig.10 An overview of an image obtained by the optical system 101 is shown.
[0035] Fig.11 The figure shows the change in point spread function and image quality at different depths relative to the optical axis direction u of a general optical system.
[0036] Fig.12Various continuous phase patterns and the results resulting from binarization of each pattern are shown.
[0037] Fig.13 The result of binarization of a continuous phase pattern composed of a quadratic expression formed by combining a linear term and a quadratic term is shown.
[0038] Fig.14 The figure shows a plurality of binary phase structures and their focus results obtained by adjusting the coefficients of the first and second terms and generating a continuous function, and then binarizing the generated function. Fig.15 A number of binary phase structures generated using quadratic and quartic terms are shown. DETAILED DESCRIPTION
[0039] Through the following detailed description related to the accompanying drawings, the purpose and scheme of the present invention and its effects will be more clearly understood, and ordinary technicians in the technical field to which the present invention belongs can easily implement the technical ideas of the present invention. In addition, in describing the present invention, when it is judged that the specific description of the known technology related to the present invention may unnecessarily confuse the gist of the present invention, the detailed description is omitted.
[0040] The terms used in this specification are used to describe the embodiments and are not intended to limit the present invention. In this specification, the singular also includes the plural unless otherwise specified in the sentence. The terms "including", "having", "prepared", "having" and the like used in this specification do not exclude the existence or addition of one or more other constituent elements in addition to the constituent elements mentioned.
[0041] In this specification, the terms "or" and "at least one" may refer to a combination of one or more of the words listed together. For example, "A or B" or "at least one of A and B" may include only one of A or B, or may include both A and B.
[0042] In this specification, descriptions corresponding to "for example", etc., may not be completely consistent with the information disclosed as shown in the referenced characteristics, variables, or values, and the inventive implementation forms of various embodiments of the present invention should not be limited by fair errors, measurement errors, limitations of measurement accuracy and other factors that are generally known and effects such as deformation.
[0043] In this specification, when it is described that a certain component is "connected" or "connected to" another component, it should be understood that, although it may be directly connected to or connected to the other component, other components may exist in between. On the contrary, when it is mentioned that a certain component is "directly connected" or "directly connected to" another component, it should be understood that there are no other components in between.
[0044] In this specification, when it is stated that a certain constituent element is located or "abuts" on another constituent element, it should be understood that although it can be directly connected to or connected to another constituent element, there may be other constituent elements in between. On the contrary, when it is mentioned that a certain constituent element is located or "directly abuts" on another constituent element, it can be understood that there is no other constituent element in between. Different expressions describing the relationship between constituent elements, such as "between" and "directly between", etc., can also be interpreted in the same way.
[0045] In this specification, the terms "first" and "second" may be used to describe various components, but the corresponding components shall not be limited by the above terms. In addition, the above terms shall not be interpreted as being used to limit the order of the components, but may be used to distinguish one component from other components. For example, the "first component" may be named "the second component", and similarly, the "second component" may be named "the first component".
[0046] Unless otherwise defined, all terms used in this specification may be used with meanings commonly understood by those skilled in the art to which the present invention belongs. In addition, terms defined in commonly used dictionaries shall not be interpreted ideally or excessively unless otherwise specifically defined.
[0047] A preferred embodiment of the present invention is described in detail below with reference to the accompanying drawings.
[0048] Figure 1 A general block diagram of a system 100 according to an embodiment of the present invention is shown. Figure 2 An example is shown in which the system 100 according to an embodiment of the present invention is applied to an optical system 101 .
[0049] The system 100 of one embodiment of the present invention is a system for extending the depth of field (DOF) of an optical system 101. In this case, the optical system 101 includes a plurality of lenses, and performs various optical effects on incident light sources (e.g., focusing and refracting the light sources to form an optical image for an object, etc.). As an example, the optical system 101 may be, but is not limited to, an image capturing device, etc.
[0050] The optical system 101 includes: a first lens 102, which is arranged close to the input portion of the light incident from the light source; and a second lens 103, which is arranged close to the output portion of the light finally emitted according to the optical effect. As an example, the light from the light source may be incident from the front end region of the first lens 102, and emitted from the rear end region of the second lens 103 arranged at the rear end of the first lens 102, and the focus of the emitted light is formed at the corresponding rear end region.
[0051] Such a system 100 is Figure 1 and Figure 2 As shown, a phase shift mask 110 and an electronic device 120 are included.
[0052] Figure 3 Various examples of the binary phase structure are shown in the plane of the phase shift mask 110. At this time, the plane refers to a surface constituted by axes (x-axis and y-axis) perpendicular to the optical axis (z-axis).
[0053] The phase shift mask 110 is a mask that shifts the incident light in a binary phase manner, and may also be referred to as a binary phase mask (BPM), and may be disposed between the first lens 102 and the second lens 103 of the optical system 101. Figure 2 , the phase shift mask 110 includes a binary phase structure in the region through which light passes in the plane. At this time, the binary phase structure includes a first region 111 and a second region 112 that perform different phase shifting actions. Therefore, the light passing between the first lens 102 and the second lens 103 is delayed by different phases in the first region 111 and the second region 112 and emitted.
[0054] That is, in the light passing region of the phase shift mask 110 plane, incident light is delayed by a first phase (e.g., a phase of 0°) and emitted in at least any one first region 111, and incident light is delayed by a second phase (e.g., a phase of 180°) and emitted in at least another second region (e.g., a remaining region) 112. At this time, the first region 111 and the second region 112 may be formed crosswise one by one.
[0055] As an example, refer to Figure 3 In the plane of the phase shift mask 110, the light passing region may be a circular region, and a circular second region 112 may be arranged at the center of the corresponding light passing region, and a circular band-shaped first region 111 may be arranged around the second region 112 at the center, and a circular band-shaped second region 112 may be further arranged around the first region 111, and a circular band-shaped first region 112 may be further arranged around the corresponding circular band-shaped second region 112, and the first region 111 and the second region 112 may be arranged crosswise. In addition, a third region 113 where light is cut off may be arranged at the outermost region in the plane of the phase shift mask 110. Of course, the first region 111 and the second region 112 may also be formed with the opposite pattern to the above (i.e., the pattern in which the first region 111 is located at the center). The design of the shape, number and area of each region of the first region 111 and the second region 112 can be variously designed, especially according to the control of the electronic device 120 described later.
[0056] The phase shift mask 110 may preferably be a device capable of dynamically adjusting the shape, number and area of the first region 111 and the second region 112. As an example, the phase shift mask 110 may be implemented by a spatial light modulator (SLM) or a grating light valve (GLV). That is, in the case of the SLM, the space of the first region 111 and the second region 112 is formed with the input of an electrical signal or an optical signal, and the phase of the incident light is changed and output in each of the first region 111 and the second region 112. Such an SLM may be an SLM based on a micro-electro-mechanical system (MEMS) or an SLM based on liquid crystal (LC). In addition, the GLV forms the first region 111 and the second region 112 through a dynamically adjustable diffraction grating, and changes the phase of the incident light in each of the first region 111 and the second region 112 and outputs it.
[0057] Of course, when it is a device capable of dynamic adjustment such as SLM or GLV, the phase shift mask 110 is connected to a phase structure control unit (not shown) for implementing the binary phase structure. Such a phase structure control unit may include: a memory storing information for implementing the binary phase structure of the phase shift mask 110; and a processor processing the implementation of the corresponding binary phase structure using the storage information of the corresponding memory.
[0058] However, the present invention is not limited thereto, and the phase-shift mask 110 may also realize the first region 111 and the second region 112 through physical staggering by means of imprinting, thin film deposition, wet / dry etching, or holographic film.
[0059] Figure 4 A general block diagram of the electronic device 120 is shown.
[0060] The electronic device 120 is an electronic device capable of performing calculations, and can perform at least a first function and a second function. That is, the first function is a function of generating a control signal for the binary phase structure of the phase shift mask 110 (i.e., the design of the shape, number, and area of each region of the first region 111 and the second region 112). In addition, the second function is a function of applying the current binary phase structure of the phase shift mask 110 to the optical system 101, and evaluating the corresponding current binary phase structure using the output final light. The first function can be executed at the time of initialization, and then the first function is repeatedly executed according to the evaluation result of the second function, so as to apply the corrected binary phase structure of the phase shift mask 110.
[0061] For example, the electronic device may be, but is not limited to, a general computing device such as a desktop personal computer, a laptop personal computer, a tablet personal computer, a netbook computer, a workstation, a smart phone, a smartpad, a mobile phone, or a dedicated embedded system implemented based on embedded Linux or the like.
[0062] Reference Figure 4 , the electronic device 120 may include an input unit 121 , a communication unit 122 , a display device 123 , a memory 124 , and a control unit 125 .
[0063] The input unit 121 can generate input data corresponding to various inputs of the user, and includes various input devices. For example, the input unit 121 can include but is not limited to a keyboard, a key pad, a dome switch, a touch panel, a touch key, a touch pad, a mouse, a menu button, etc.
[0064] The communication unit 122 is a structure for performing communication with other devices such as the phase shift mask 110 or the phase structure control unit. For example, the communication unit 122 can transmit control information of the binary phase structure of the phase shift mask 110 generated according to the first function to the phase shift mask 110 or its phase structure control unit. In addition, the communication unit 122 can receive information required for performing the first function and the second function from other terminals or servers. For example, the communication unit 122 can perform but is not limited to wireless communication such as 5G (5th generation communication), advanced long term evolution technology (long term evolution-advanced: LTE-A), long term evolution technology (long term evolution: LTE), Bluetooth, Bluetooth low energy (bluetooth lowenergy: BLE), near field communication (near field communication: NFC), wireless fidelity (WiFi) communication, or perform wired communication such as cable communication.
[0065] The display device 123 is used to display various image data as a screen, and can be composed of a non-luminous panel or a luminous panel. For example, the display device can display a screen of the processing process and results corresponding to the execution of the first function and the second function. For example, the display device may include but is not limited to a liquid crystal display device (liquid crystal display: LCD), a light emitting diode (light emitting diode: LED:) display device, an organic light emitting diode (organic LED: OLED:) display device, a micro electromechanical system (micro electro mechanical systems: MEMS) display device, or an electronic paper display device. In addition, the display device can also be combined with the input unit 121 and implemented as a touch screen (touch screen) or the like.
[0066] The memory 124 stores various information required for the operation of the electronic device 120. That is, the memory 124 can store control program information required for executing the first function and the second function, etc. For example, the memory 124 can include, but is not limited to, a hard disk type, a magnetic media type, a compact disc read only memory (CD-ROM), an optical recording media type, a magneto-optical media type, a multimedia card micro type, a flash memory type, a read only memory type, or a random access memory type, etc., according to its type. In addition, the memory 124 can be, but is not limited to, a cache, a buffer, a main memory, an auxiliary memory, or an independently equipped storage system, according to its purpose / location.
[0067] The control unit 125 can perform various control actions of the control device 120. That is, the control unit 125 can control the execution of the first function and the second function, control the execution of the control program stored in the memory 124 and the control method described later, and control the remaining components of the electronic device 120, that is, the actions of the input unit 121, the communication unit 122, the memory 124, the display device, etc. For example, the control unit 125 may include at least one processor as hardware, and include a process as software executed in the corresponding processor, etc., but is not limited thereto.
[0068] When executing the first function, the control unit 125 may control the design of the binary phase structure of the phase shift mask 110. That is, the control unit 125 may derive the binary phase structure (initial binary phase structure) of the phase shift mask 110 arbitrarily or according to preset content during initialization. Then, the phase structure control unit may derive the corrected binary phase structure of the phase shift mask 110 based on the evaluation result of executing the second function on the previous binary phase structure and based on the particle swarm optimization (PSO) technology described later.
[0069] Of course, the control unit 125 can also transmit the control signal of the derived binary phase structure to the phase shift mask 110 or the phase structure control unit configured in the optical system 101 as needed. At this time, the phase shift mask 110 or the phase structure control unit can reflect the corresponding binary phase structure according to the received control signal to realize the first area 111 and the second area 112.
[0070] On the other hand, when executing the second function, the control unit 125 controls the measuring unit 131 to derive the focus shape and image form at each distance predicted based on the current binary phase structure of the phase shift mask 110. Then, based on the prediction result, the control unit 125 derives the image quality (such as structural similarity, peak signal-to-noise ratio, mean square error, etc.) at each depth, and controls the evaluation of whether a given image quality condition is met in the target depth of field interval.
[0071] When the evaluation result after executing the second function does not meet the corresponding image quality condition, the control unit 125 may execute the first function again based on the PSO to derive a corrected binary phase structure of the phase-shift mask 110 .
[0072] Figure 5 An example is shown of whether or not the phase shift mask 110 is applied when a point light source is incident on the optical system. Figure 6 An example is shown in which the phase shift mask 110 is applied when light from a subject at various distances enters the optical system.
[0073] Reference Figure 5 It can be seen that when the phase shift mask 110 is applied to the optical system 101, the focus formation of the point light source can be controlled. Figure 5 As shown in the lower figure of FIG. 1 , the performance of the focus can be changed, and in particular, the depth of focus can be extended while keeping the focus size small. That is, as the phase shift mask 110 is applied to the optical system 101, the depth of field can be extended.
[0074] In addition, refer to Figure 6It can be seen that when the phase shift mask 110 is applied to the optical system 101, the depth of field can be controlled. That is, as the phase shift mask 110 is applied to the optical system 101, Figure 6 As shown in the lower figure of , the resolution can be changed according to the distance of the subject, and in particular, subjects at different distances can be photographed with good resolution. That is, as the phase shift mask 110 is applied to the optical system 101, the depth of field can be extended.
[0075] The control method of the present invention is described in more detail below.
[0076] Figure 7 A sequence diagram showing a control method according to an embodiment of the present invention is shown. Figure 8 and Fig. 9 A conceptual diagram showing a control method according to an embodiment of the present invention.
[0077] The control method of one embodiment of the present invention (hereinafter referred to as “the present control method”) is executed by the system 100 , namely, by the control unit 125 of the electronic device 120 . The present control method is used to design a binary phase structure with an optimally extended depth of field for the phase shift mask 110 .
[0078] The control method may include: a first step of disposing a binary phase shift mask 110 between the first lens 102 and the second lens 103 of the optical system; a second step of controlling the application of an optimal binary phase structure while forming a binary phase structure in the phase shift mask 110. As an example, Figure 7 As shown, the control method may include S201 to S204 corresponding to the detailed process of the second step.
[0079] First, S201 is a step in which the control unit 125 executes a first function to derive a design of a binary phase structure of the phase-shift mask 110. At this time, at the time of initialization, the design of an initial binary phase structure is derived arbitrarily or according to preset content.
[0080] As an example, refer to Figure 3 , Figure 8 and Fig. 9 The phase shift mask 110 is set to have a binary phase structure with n (n is a natural number greater than 2) intersecting first regions 111 and second regions 112, and can be set to have a distance {p 1 , p 2 , ..., p n} is a matrix with elements That is, the control unit 125 can design the phase shift mask 110 by performing variable processing on the binary phase structure of the phase shift mask 110 .
[0081] Then, in S202, the control unit 125 executes a second function to evaluate the binary phase structure design derived in S201. At this time, the control unit 125 can evaluate the corresponding binary phase structure according to the derived binary phase structure of the phase shift mask 110 using the light output by the second lens 103. That is, the control unit 125 controls the measuring unit 131 to derive the focus shape and image form at each distance predicted according to the current binary phase structure of the phase shift mask 110, and evaluate the image quality at each depth based on the prediction result.
[0082] Then, in S203, the control unit 125 confirms whether the derived image quality result meets the image quality condition given in the target depth of field interval. If the condition is met, the control unit 125 transmits the control signal of the current binary phase structure design to the phase shift mask 110 or the phase structure control unit S204. Therefore, the phase shift mask 110 or the phase structure control unit can reflect the corresponding binary phase structure design according to the received control signal, thereby realizing the first area 111 and the second area 112.
[0083] When the condition is not satisfied in S203, S201 is executed again. At this time, the control unit 125 performs the first function based on particle swarm optimization (PSO) to derive a modified binary phase structure (i.e., an optimal binary phase structure) design of the phase shift mask 110. To this end, S202 to S203 may be repeatedly executed to evaluate the modified binary phase structure design and whether the condition is satisfied.
[0084] The above process is repeated until the binary phase structure design meets the conditions. As an example, the initial binary phase structure can be set as The binary phase structure of the t-th repetition can be set as That is, in t times, When the evaluation result is that the corresponding conditions are not met, it can be derived according to PSO The modified binary phase structure of Execution evaluation.
[0085] The following is a description of the concepts and principles applied by the control method of an embodiment of the present invention.
[0086] <Method and optical system for predicting focal shape and image form at each distance>
[0087] Fig.10 An overview of an image obtained by the optical system 101 is shown.
[0088] Reference Fig.10Generally speaking, the function of an optical device is to obtain a portion of the light generated or scattered from an object to form an image of the object. However, an actual optical system cannot obtain all the light emitted by an object, and therefore will experience diffraction of light, refraction caused by lenses, and aberration caused by distortion. The transfer function of such an optical system is known as a point spread function (PSF). The imaging method of an optical system using such a point spread function can be expressed as shown in the following formula (1), where the convolution of the object and the point spread function represents the image.
[0089] (1)
[0090] Resolution or angular resolution (spatial resolution) is an indicator of the imaging capability of an imaging device, which means the ability to distinguish two objects that are far away from each other, and can be expressed by the shape of the point spread function.
[0091] Fig.11 The figure shows the change in point spread function and image quality at different depths relative to the optical axis direction u of a general optical system.
[0092] Reference Fig.11 As the light propagates from position aa to position cc, the point spread function changes due to light diffraction, and the resulting image distortion is inevitable. The depth of focus is defined as the interval in which the focus is maintained along the optical axis, and the depth of field is defined as the field of view interval in which a fair level of resolution can be maintained.
[0093] <Details of applying PSO>
[0094] The optical system 101 includes lens information of the optical system to which BPM is to be applied. Current optical design programs include Zemax, CodeV, LightTools, ASAP, TracePro, etc., which work based on "ray tracing" based on geometric optics. "Ray tracing" consists of refraction caused by media with different refractive indices and transmission in one medium, which can be calculated by the geometric information of the medium boundary and the optical properties of the medium. The calculated light reflects the established diffraction and physical optics calculation formulas, and is analyzed by light transfer function (modulation transfer function: MTF), point spread function (pointspread function: PSF), etc.
[0095] In the present invention, the optical system 101 includes the same geometric information and optical properties of the lenses as those of the imaging system to obtain an actual image, and calculates a light transfer function according to the depth of the subject.
[0096] -Image simulation
[0097] Image simulation is achieved by convolution of the point spread function calculated by the optical system 101 and the test target. The test target used may be "USAF 1951", "Ronchi Ruling", "Star" or the like designed to help evaluate and calibrate the performance of the image system.
[0098] -Performance evaluation
[0099] The performance evaluation is performed by image quality assessment according to the depth of the subject. Referring to Table 1, the image quality evaluation method can use a full-reference evaluation method that refers to the distortion-free image and a no-reference evaluation method that does not refer to the distortion-free image.
[0100]
Table 1
[0101]
[0102] (2)
[0103] Formula (2) is a formula for the cost y of this algorithm. In the present invention, a binary phase structure that minimizes the cost can be derived. In this case, f represents the image quality evaluation result, and f 0 represents the target image quality, represents the binary phase structure matrix in the t-th iteration, represents the target depth expansion interval, and λ represents the regularization coefficient.
[0104] -PSO algorithm
[0105] In the present invention, the particle swarm optimization (PSO) algorithm is used to modify the binary phase structure every t times. The PSO algorithm is to explore the component that minimizes the cost y calculated according to formula (2). Optimization algorithm.
[0106] In the present invention, with the binary phase structure The corresponding cost y is not a differentiable function, so it is impossible to perform the minimum cost exploration using differentiation such as gradient descent. PSO is a mathematical optimization methodology in which multiple particles (agents) exchange information with each other and combine the information stored at the same time to find the optimal solution. Since this swarm-based optimization performs optimization while the agents exchange information with each other, it has the advantage that even if one agent converges to a local optimum, the swarm can converge to a global optimum.
[0107] (3)
[0108] (4)
[0109] Among them, multiple agents of the PSO algorithm are used to perform optimization in more than one variable space. Formula (3) and formula (4) respectively show the velocity vector and position vector of the ith agent for the ith variable in the t+1 iteration. At this time, r 1 and r 2 is a random number between 0 and 1, c 1 and c 2 are cognitive coefficient and social coefficient respectively. The agent best solution for information exchange between agents is a ij, the group minimum cost (global best solution) is g j (t). Correction of binary phase structure for PSO algorithm Design, the initial i-th agent can be expressed as shown in the initial binary phase structure and formula (5).
[0110] (5)
[0111] -PSO Algorithm Example
[0112] As an example, a binary phase filter for i components may be obtained using the matrix The N binary phase filters processed in parallel by the agent can be expressed as The initial N binary phase filters are available in the matrix Express.
[0113] After t adjustments (repeatedly), the binary phase filter of the jth agent can have the following The solution shown in the figure can be defined as the solution with the lowest cost as the agent best solution.ij .
[0114] Group minimum cost (global best solution) g j (t) means the best solution in history that shows the best result value after several adjustments (repeatedly). After t adjustments, the binary phase filter can have a matrix The solution shown in Figure 2, where the solution with the lowest cost can be defined as the global best solution g j (t).
[0115] <Binarization of Continuous Phase Pattern>
[0116] In the present invention, the binary phase structure of the phase-shift mask 110 may have a binarized continuous phase pattern, and the specific patterning method thereof is as follows.
[0117] When there is a continuous phase pattern P(ρ) as a function of the distance ρ from the center, its binarized function P bin (ρ) can be expressed as shown in formula (6).
[0118] (Formula 6)
[0119] Fig.12 Various continuous phase patterns and the results resulting from binarization of each pattern are shown.
[0120] That is, in Fig.12 In the figure, (a1) is a continuous pattern expressed by defocus aberration, and P DF = eXD(-2πiψρ 2 ) is expressed as a quadratic function of ρ related to the defocus parameter ψ. Fig.12 In the figure, (a2) is the focus shape when (a1) is arranged on the front side of the lens. Each focus shape diagram is a focus plane where the longitudinal direction corresponds to the direction of light travel and u=0 corresponds to the focal length. At this time, (a1) has the effect of moving the focus directly along the direction of light travel in the focus plane in proportion to the ψ value. (b1) is expressed as spherical aberration (SA), expressed as P SA =exD(-2πiγρ 4 As shown in (b2), spherical aberration has the effect of extending the focal point long along the traveling direction, and its degree increases with the γ value.
[0121] exist Fig.12 In (c1), an example of a linear function is given by P AXI=exp(-2πiαρ), the corresponding function is shown in (c2), which has the effect of moving the focus in the focal plane while increasing the length itself. The amount of movement and the degree of extension increase in proportion to the α value. Fig.12 The lower part shows the equation 6 for Fig.12 The result of binarizing the functions above. The focus of each binarized function is similar in form to the focus generated by the continuous pattern, but an additional shape is generated that is symmetrical around the focus plane. Using this phenomenon, when generating continuous functions, polynomials with different degrees about ρ can be considered.
[0122] Fig.13 The result of binarization of a continuous phase pattern composed of a quadratic expression formed by combining a linear term and a quadratic term is shown.
[0123] exist Fig.13 In (a), the continuous phase pattern P is composed of only one equation. AXI =exp(-2πiαρ) is the result of binarization. At this time, the α value is set to 5. The focus formation result is as follows Fig.13 As shown in (b), two extended foci are formed which are symmetrically away from each other with respect to the focal plane. Fig.13 (c) is the continuous phase pattern P expressed as a quadratic expression of ρ AXI-DF =exp(-2πi(αρ+ψρ 2 )) is the binarized result. The focus that changes according to this function is as follows Fig.13 As shown in (d), two foci that were once far apart are combined together to present a shape that is extended compared to the original foci.
[0124] Fig.13 (e) Fig.13 Intensity diagrams when v = 0 in (b) and (d). It can be seen that the two foci that are far away from each other merge as the ψ value increases to form an extended focus. Fig.13 In FIG. 1 , it is assumed that the focus is extended using only the first-order term and the second-order term. However, by using various order terms, a focus having various shapes can be formed, and the coefficient value of each term can be adjusted to find a variety of designs.
[0125] Fig.14 Shows adjusting the linear and quadratic coefficients and generating P AXI-DF =exp(-2πi(αρ+ψρ 2 )) continuous function, and then binarizing the generated function to obtain multiple binary phase structures and their focus results, Fig.15 Show that using the quadratic and quartic terms P SA-DF =exp(-2πi(ψρ 2 +γρ4 )) generated multiple binary phase structures.
[0126] like Fig.14 and Fig.15 As shown, multiple binary phase structures can be found by adjusting the coefficient values of each term and predicting the focus generation form. In this embodiment, only the first-order term, the second-order term, and the fourth-order term are used, but when binarization is performed on a polynomial including terms of other orders, various binary phase structures can also be found.
[0127] The present invention constructed as described above has the advantage of being able to expand the depth of field (DOF) of the optical system by using a binary phase structure. In addition, the present invention generates an optimal binary phase structure based on particle swarm optimization (PSO), thereby having the advantage of being able to significantly reduce the parameters used to design a binary phase mask and optimize performance.
[0128] In the content of the invention, the specific embodiments of the present invention are described. Various modifications are possible without exceeding the scope of the present invention. Therefore, the scope of the present invention is not limited to the described embodiments, but shall be determined by the following claims and the equivalents thereof.
Claims
1. A system for extending the depth of field of an optical system, comprising: a binary phase mask, the binary phase mask being disposed between the first lens and the second lens of the optical system; and A control section controls a binary phase structure formed in the phase-shift mask.
2. The system according to claim 1, wherein: The control unit evaluates the corresponding binary phase structure according to the binary phase structure of the phase shift mask using the light output from the second lens, and directly uses or changes the binary phase structure according to the evaluation result.
3. The system according to claim 1, wherein: The phase shift mask includes a first region and a second region that perform mutually different phase shifting actions on light.
4. The system according to claim 3, wherein: The first region delays the incident light by a first phase and emits the light, and the second region delays the incident light by a second phase and emits the light.
5. The system according to claim 3, wherein: The first region delays the incident light by 0° in phase and emits the light, and the second region delays the incident light by 180° in phase and emits the light.
6. The system according to claim 5, wherein: A plurality of the first regions and the second regions are provided and formed in an intersecting manner.
7. The system according to claim 6, wherein: The second region is arranged in the center.
8. The system according to claim 1, wherein: The binary phase mask is implemented as a spatial light modulator or a grating light valve.
9. The system according to claim 2, wherein: The control unit changes the phase structure to an optimal binary phase structure using particle swarm optimization.
10. A method for extending the depth of field of an optical system, comprising: The step of disposing a binary phase mask between the first lens and the second lens of the optical system; and The step of controlling the binary phase structure formed in the phase shift mask while applying an optimal binary phase structure.
11. The method according to claim 10, wherein: The step of applying the optimal binary phase structure includes: evaluating the corresponding binary phase structure according to the binary phase structure of the phase-shift mask using the light output from the second lens, and then directly using or changing the binary phase structure according to the evaluation result.
12. The method according to claim 10, wherein: The step of applying the optimal binary phase structure includes: applying the optimal binary phase structure using particle swarm optimization.
