Material testing of optical test pieces

By combining angle variable illumination and detection technology with machine learning algorithms, digital contrast result images are generated, which solves the problems of complex manual inspection and difficult quantitative evaluation in optical testing, and achieves fast and reliable optical testing and automated detection.

CN112243519BActive Publication Date: 2024-09-06CARL ZEISS JENA GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980039102.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-06-12
Filing Date
2019-06-06
Publication Date
2024-09-06
Estimated Expiration
2039-06-06

AI Technical Summary

Technical Problem

Existing optical testing technology suffers from the problems of complex manual visual inspection, difficulty in quantitative evaluation, and time-intensiveness. In addition, shape recovery technology from light and dark has problems of error and low efficiency in material defect detection.

Method used

Using angle-variable illumination and angle-variable detection technology, multiple images are captured through the optical imaging system, and machine learning algorithms are used to generate digital contrast result images for material testing, detecting defects in optical test objects and evaluating their quality.

Benefits of technology

It achieves fast and reliable optical testing, reduces test time, improves detection accuracy and automation, can automatically evaluate the quality of optical test objects and identify defects, and reduces reliance on manual inspection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112243519B_ABST
    Figure CN112243519B_ABST
Patent Text Reader

Abstract

The present invention relates to a material testing technique for an optical test piece (150), such as a lens. Variable angle illumination and / or variable angle detection using a suitable illumination module (111) is performed to produce digital contrast. The digital contrast may be, for example, digital phase contrast. A defect detection algorithm for automatic material testing based on a result image with digital contrast may be used. For example, an artificial neural network may be used.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] In general, various embodiments of the present invention relate to techniques for material testing of optical test objects. In particular, various embodiments of the present invention relate to techniques for material testing of optical test objects using angle-variable illumination and / or angle-variable detection. Background Art

[0002] During the production of optical components (e.g., lenses), various defects may occur. Examples of defects include: scratches; inclusions; material defects; matte surfaces; striations; flaking aperture errors; optical shifts; and turning marks.

[0003] Typically, optical components are used as test objects and are manually visually inspected by experts. Often, special lamps are used in this process to make defects visible. Another technique is the so-called "shape from shading" technique, which is used to reconstruct the surface in reflection mode. The "shape from shading" (SFS) technique is described, for example, in Prados, Emmanuel, and Olivier Faugeras. "Shape from shading." Handbook of Mathematical Models in Computer Vision (2006): 375-388.

[0004] However, these reference techniques have certain disadvantages and limitations. For example, manual visual inspection can be complex. In addition, obtaining a quantitative quality value may be impossible or only possible within a limited range.

[0005] SFS also has certain disadvantages and limitations. For example, it can often be complicated to obtain enough images to perform a reconstruction of the test object. In addition, the corresponding techniques can be time-intensive and prone to errors. Summary of the invention

[0006] Therefore, there is a need for improved materials testing techniques for optical test objects. In particular, there is a need for techniques that eliminate or mitigate at least some of the limitations and disadvantages discussed above.

[0007] A method for performing material testing on an optical test object using an optical imaging system, comprising: for each of at least one posture of the test object relative to the imaging system: driving the optical imaging system to capture at least two images of the test object through variable angle illumination and / or variable angle detection. The method also includes, for each of the at least one posture: processing the corresponding at least two images to generate a result image with digital contrast. In addition, the method includes performing material testing based on at least one of the result images, wherein the at least one result image is generated based on the at least two images of the at least one posture.

[0008] Here, the material test is carried out in order to evaluate the quality of the test object. Optionally, one or more defects of the test object can be detected within the scope of the material test. Compliance with optical standards can then be checked based on the detected defects. In other examples, the detection of individual defects can also be dispensed with: instead, compliance with optical standards can be checked directly - for example, by an algorithm with machine learning, for example, a suitably trained artificial neural network (ANN), i.e., without identifying individual defects. Thus, for example, in this case, the overall optical effect of the optical test object can be evaluated without addressing the influence of individual defects on the overall optical effect. Thus, such an algorithm with machine learning can receive at least one result image as input. As output, for example, the algorithm with machine learning can provide a quality value for the test object. For example, the quality value can have a binary design, i.e. indicate "pass" or "fail" in the case of compliance or non-compliance with the standard. However, more refined resolved quality values ​​can also be envisaged, for example, quality values ​​that quantify the deviation from the standard, or quality values ​​that require manual visual inspection in an "uncertain" manner in addition to "pass" and "fail". This can also be referred to as the "red-yellow-green" principle.

[0009] Generally, the algorithm with artificial intelligence or with machine learning described herein may include at least one element from the following group: parameter mapping, generative model, anomaly detector and ANN. Examples of ANN include deep neural network (DNN), time-delay neural network, convolutional neural network (CNN), recurrent neural network (RNN), long short-term memory (LSTM) network and generative model.

[0010] The captured image may also be referred to as a raw image.

[0011] For example, the optical test object may be selected from the following group: lens; filter; mirror; prism, etc. Thus, the optical test object may be configured to deflect light, e.g. refract or focus light. The optical test object may be made of, e.g., glass or a polymer. The optical test object may be at least partially transparent to visible light or infrared light or ultraviolet light. The optical test object may have an optical effect, i.e. refract light.

[0012] For example, the posture of the test object relative to the imaging system may represent the position and / or orientation of the test object in a reference coordinate system defined by the imaging system. For example, the reference coordinate system may be determined in conjunction with an objective lens or a detector of the imaging system. For example, the posture of the test object may be changed by means of a rotation or a translation of the test object.

[0013] In the case of angle-variable illumination, the test object can be illuminated by different illumination geometries. For example, the test object can be illuminated from different illumination directions. Then, when the test object is illuminated by the corresponding illumination geometry, the corresponding image in the at least two images can be captured. For example, an exemplary embodiment of angle-variable illumination is described in US 2017 / 276923A1. The illumination module of the corresponding embodiment can be used for angle-variable illumination. For example, an illumination module including multiple light sources can be used. Various light sources can be driven separately. Then, different illumination geometries can be implemented according to one or more active light sources. If two images associated with different illumination geometries are captured, the digital contrast can be determined according to the distance of the position of the imaging representation of the test object in the two images. Another embodiment of the illumination module includes an arrangement of light sources and mirrors, for example, a DMD (digital micromirror device). Then, different illumination geometries can be activated according to the positions of various mirror surfaces. By using different illumination geometries, the imaging representation of the test object is displaced on the detector plane. If two images associated with different illumination geometries are captured, the digital contrast can be determined from the distance of the position of the imaging representation of the test object.

[0014] In the case of variable angle detection, a suitably implemented detection optical unit may be provided. The detection optical unit may be configured to generate an imaging representation of the test object on the detector. In addition, an adjustable filter element may be provided, which is arranged in the imaging defined beam path of the detection optical unit. A controller may be configured to drive the adjustable filter element to filter the spectrum of the beam path with different filtering modes, thereby facilitating variable angle detection. In particular, the controller may be configured to capture images associated with different filtering modes. Different filtering elements may be used in this process, for example, a filter wheel or a DMD or a liquid crystal filter or a movable filter plate or an amplitude filtering element. Filtering the spectrum of the beam path may limit the detection to a specific angle at which the light from the test object is incident on the detector. Therefore, various examples of variable angle detection are based on amplitude filtering of the imaging spectrum in or near the pupil plane of the detection optical unit of the optical device. This is equivalent to filtering the specific angles at which the light is incident on the sensor surface of the detector; that is, the individual light rays are selectively transmitted according to their angles relative to the sensor surface. Different filter modes are used; for each filter mode, a relevant image is captured by the detector. In various examples described herein, different filter modes can be used. For example, at least one light-transmitting area can be defined for each filter mode, which is surrounded by an opaque area. For example, the light-transmitting area can be arranged at a distance from the optical axis of the beam path defined by the detection optical unit; that is, it can be arranged in an off-axis position. In some examples, the light-transmitting area can have a linear embodiment, that is, a line is defined for the corresponding filter mode. Then, only light rays with angles within a narrow, defined angular range will be transmitted. The filter modes used can be converted to each other, for example by translating along a vector. When using a suitable filter mode, for example, a filter mode with a linear light-transmitting area arranged off-axis, a test object arranged in a defocused manner is presented as offset. If two images associated with different filter modes are captured, the digital contrast can be determined from the distance of the position of the imaged representation of the test object.

[0015] Therefore, corresponding digital contrast can be generated by appropriately processing various images captured by angle-variable illumination and / or angle-variable detection. For example, the digital contrast can be selected from the following group: virtual dark field; digital phase gradient contrast; and digital phase contrast.

[0016] For example, the phase gradient contrast can be determined with the aid of the technique described in US 2017 / 276 923 A1. This means that opposite edges of the test object as a phase object can have different contrast signatures.

[0017] Phase contrast - optionally quantitative phase contrast - can, for example, be determined by so-called quantitative differential phase contrast techniques. Here, the so-called quantitative differential phase contrast (QDPC) technique can be utilized. See, for example, L. Tian and L. Waller: "Quantitative differential phase contrast imaging in an LED array microscope", Optics Express 23 (2015), 11394.

[0018] As described in German patent application DE 10 2017 108 873.3, when processing an image to generate a result image with digital contrast, phase contrast can also be obtained by appropriately using a transfer function. For example, a transfer function can represent an object transfer function and / or an optical transfer function of an imaging system. The transfer function can be suitable for predicting at least one image, as well as a specific test object, under a specific illumination geometry. For example, a transfer function can have a real-valued component and / or an imaginary-valued component. Here, the real-valued component of the transfer function can correspond to a reduction in intensity when light passes through the test object. Typically, an amplitude object exhibits significant damping of light. Therefore, the imaginary-valued component of the transfer function can represent a phase shift of light passing through the test object. Typically, a phase object exhibits a significant shift in the phase of the light. In this case, various techniques can be used to determine the transfer function. In one example, the transfer function can be determined according to Abbe's technique. A reference transfer function can be determined by Abbe's technique. Here, the test object can be divided into different spatial frequency components. Then, the test object can be modeled by superposition of an infinite number of harmonic gratings. The light source can also be decomposed into the sum of various point light sources. Another example involves determining the optical transfer function according to the Hopkins technique, which describes the imaging representation of the test object for a specific illumination geometry; see HH Hopkins, "On the Diffraction Theory of Optical Images", Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences 217 (1953) 408-432. From this, the transmission cross coefficient matrix (TCC) can be determined, which is sometimes also called the partially coherent object transfer function. The TCC can be used as a reference transfer function. The TCC roughly corresponds to the transfer function of partially coherent imaging and contains properties of the optical system and the illumination geometry. The frequencies transmitted by the optical unit are limited to the range in which TCC is not equal to 0. Therefore, when TCC≠0, a system with a high coherence factor or coherence parameter has a larger range and is able to map higher spatial frequencies. TCC typically includes all information about the optical system, and TCC also often takes into account complex-valued pupils, such as in Zernike phase contrast or triggered by aberrations. TCC can facilitate the separation of the optical transfer function from the object transfer function. In some examples, the transfer function can also be determined a priori and does not need to be determined as a TCC or according to Abbe.

[0019] Depending on the transfer function used, different techniques can be used to determine the resulting image. Tian and Waller describe an exemplary technique in Equation 13. This equation shows how to use the transfer function H* based on the inverse Fourier transform based on Tikhonov regularization and further based on the combination of two images of the test object with different illumination geometries I DPC The spatial frequency space representation of the resulting image is determined.

[0020]

[0021] In this case, I DPC Describes two images I T and I B Spectral decomposition of a combination of two images captured at different illumination geometries that illuminate complementary semicircles of each other.

[0022]

[0023] These are examples. In general, the lighting geometry, for example, does not have to be strictly semicircular. For example, four light emitting diodes arranged in a semicircle can be used. For example, a defined lighting direction can therefore be used, i.e., for example, the individual light emitting diodes. Furthermore, in equation 2, it is also possible to normalize to 1 instead of I T +I B , or any other value. In addition to calculating I T and I B In combination, the original data itself can also be used in other examples, for example, DPC =I T or I DPC =I B By forming the corresponding quotient in equation 2, it is possible to reduce the influence, which would otherwise be interference, of other interfering influences, such as other material properties, color, etc. By forming the difference, it is possible in particular to reduce the absorption components based on the real-valued components of the transfer function. DPC Proportional to the local increase in the phase shift of the test object. The phase shift can be caused by changes in the thickness of the test object or in the topography and / or changes in the optical properties of the test object.

[0024] For example, we can determine two images I DPC,1 and I DPC,2 , once on the side perpendicular to the beam path (I DPC,1 ) on the side, determined by a pair of semicircular lighting geometric structures arranged up and down; once on the side (I DPC,2 ), a pair of semicircular lighting geometric structures arranged on the left and right are determined. Then, when determining the result image, IDPC,1 and I DPC,2 ; See the summation index j in Equation 1. This technique is based on certain assumptions and simplifications, such as in the weak object approximation and the formulation of TCC described above. However, in other examples, other approximations and forms can be used. For example, inversions other than Tikhonov regularization can be used, such as direct integration or Fourier filtering of different configurations. Even in such variations, it is possible to maintain the basic characteristics of the transfer function as described in the various examples herein.

[0025] By appropriately processing the image, a virtual dark field can be generated. For example, the virtual dark field is obtained by calculating the component-by-component absolute value of the difference between each captured original image and the corresponding average value of the original image. In the case of multiple different illumination geometries, the calculation results can be added component by component. The calculation formula is:

[0026] I VDF =∑ j |I j -<I j >|

[0027] Where <.> represents the average value of all pixels of the image and represents the j-th captured image.

[0028] Thus, using angle-variable illumination and / or angle-variable detection, result images with tailored contrast can be provided. This makes defects particularly clearly visible. Thus, material testing can be performed in a particularly reliable and robust manner. Furthermore, angle-variable illumination and / or angle-variable detection can be used particularly quickly, so that the measurement duration per test object can be reduced.

[0029] Materials testing can be performed fully or partially automatically.

[0030] Thus, material testing can be performed in an automated manner. Then, for example, the quality of the optical test object can be automatically evaluated. In particular, it is also possible to classify the test object according to a reference (e.g. ISO standard etc.). For example, an ANN can be used which - on the basis of reference measurement data, by appropriate training or machine learning - directly indicates as a corresponding quality value whether a standard is met or not as a corresponding quality value. For example, the reference measurement data can show an image captured with the aid of angle-variable illumination and can be annotated with the corresponding "pass" and "fail" categories. In this case, the detection and / or segmentation of individual defects or the determination of the influence of individual defects on the optical effect of the test object can be dispensed with. Instead, a comprehensive evaluation of the combined influence of all defects on the optical effect can be performed.

[0031] However, in another example, a single defect may also be detected.Thus, in one example, performing the material test includes applying a defect detection algorithm that automatically detects the defect.

[0032] The defect detection algorithm may be embodied to also provide additional information about the detected defect - in addition to simply detecting the defect. The additional information may describe the properties of the defect qualitatively and / or quantitatively. For example, the relative position and / or form and / or size of the detected defect may be determined. This additional information may be stored in an error map.

[0033] In this case, the defect detection algorithm can usually use different techniques. For example, the defect detection algorithm can use one or more of the following techniques: machine learning; thresholding, for example, directly or on filtered data or on the basis of a reference image, by differential imaging; statistical analysis; forming correlations. For example, the defect detection algorithm can use a trained ANN. For example, the detected defects can be optionally automatically subdivided into various categories by machine learning. Thus, in this process, there may be an assignment to different defect types. For example, the size of the defect can be quantified by segmentation. The result image can be segmented accordingly. For example, when evaluating defects by means of techniques from machine learning, the classification of the individual defects can be determined according to predefined defect categories, and the relevant segmentation of the respective result image can be determined according to the location of the defect.

[0034] Since there may be a large number of defect classes, not all of them may be known a priori. In order to enable the defect detection algorithm to also detect defects belonging to a priori unknown defect classes, for example, anomaly detectors may be used. Anomaly detectors detect any deviation from the specification. Thus, anomalies detectors can detect defects even if they do not belong to previously known or trained defect classes. Examples include "Support Vector Machines", Bayesian Networks, etc.

[0035] Then, for example, compliance with appropriate standards can be tested, depending on the type and size of the defect. For this purpose, the error map created by the defect detection algorithm can be compared with a reference error map representing the standard. For example, based on such a comparison, it can be determined whether the test object is within or outside the tolerance. It can also be determined whether checking for compliance with the appropriate standard is even possible: for example, if the uncertainty associated with the defect detection algorithm is too large, compliance with the standard may not be checked or can only be checked to a limited extent. Therefore, the material test may only be partially fully automatic. That is, the result of the automatic test, in addition to the two events "test object within tolerance" (or "pass") and "test object outside tolerance" (or "fail"), can also include a third event: "uncertain". This can also be referred to as the "red-yellow-green" principle. In the case of "uncertain", a subsequent manual or semi-automatic visual inspection can be recommended. This can be achieved, for example, with the help of a test method that rates test objects with a defect size or a tenth power of a defect close to the tolerance limit according to the standard as "uncertain". Another option is to use anomaly detectors that determine whether an image contains defects or no regular structure for which automatic testing is provided, e.g., because the relevant defect class is unknown.

[0036] Another option consists in replacing the manual visual inspection with a semi-automatic visual inspection. This can be achieved by displaying the result image with digital contrast on a screen to the user. The user can compare with a standard and, for example, determine a quality value for the material based on the comparison.

[0037] As can be seen, there are a variety of options for achieving material testing with digital contrast results images. For example, there are a variety of defect detection algorithms available.

[0038] Depending on the defect detection algorithm, one or more unprocessed raw images can often also be directly taken into account when performing material testing. This means that the use of the result images can be supplemented with the raw images. For example, the defect detection algorithm can obtain not only the result images of the angle-variable illumination as input, but also the raw images. For example, images captured when brightfield illumination is used can be taken into account. As an alternative or in addition, images captured when darkfield illumination can also be taken into account. By taking into account the raw images, it is possible to achieve higher accuracy, depending on the defect detection algorithm employed.

[0039] The computing unit is configured to drive the optical imaging system so as to capture at least two corresponding images of the test object for each of at least one posture of the optical test object relative to the imaging system through at least one of angle-variable illumination and angle-variable detection. The computing unit is also configured to process the corresponding at least two images for each of the at least one posture to generate a result image with digital contrast. The computing unit is also configured to perform material testing based on at least one result image generated from the at least two images of at least one posture of the test object to detect defects of the test object.

[0040] For example, the computing unit may consist of a graphics card with a large number of parallel processing channels, for example, in contrast to a "central processing unit" CPU.

[0041] For such a calculation unit, the results are comparable to those that can be achieved with the above-mentioned material testing methods.

[0042] The features mentioned above and the features described below can be used not only in the respective combinations explicitly listed but also in further combinations or alone without departing from the scope of protection of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 schematically illustrates an optical imaging system according to various examples;

[0044] Figure 2 schematically illustrates a controller of an optical imaging system according to various examples;

[0045] Figure 3 Schematically illustrates an illumination module of an optical imaging system according to various examples, wherein the illumination module is configured for angle-variable illumination;

[0046] Figure 4 schematically illustrates illumination geometries for angle-variable illumination according to various examples;

[0047] Figure 5 Schematically illustrates a detection optical unit of an optical imaging system according to various examples, wherein the detection optical unit is configured for angle-variable detection;

[0048] Figure 6 schematically illustrates a filtering pattern of a detection optical unit according to various examples;

[0049] Figure 7 is a flow chart of an exemplary method;

[0050] Figure 8 is a flow chart of an exemplary method, wherein: Figure 8Various aspects related to image capture are explained;

[0051] Fig. 9 is a flow chart of an exemplary method, wherein: Fig. 9 Various aspects related to image evaluation are described;

[0052] Fig.10 is a flow chart of an exemplary method, wherein: Fig.10 Explains various aspects related to materials testing;

[0053] Fig.11 schematically illustrates image capture and image evaluation for generating result images with digital contrast according to various examples, and material testing;

[0054] Fig.12 schematically illustrates an optical imaging system according to various examples;

[0055] Fig.13 schematically illustrates an optical imaging system according to various examples;

[0056] Fig.14 schematically illustrates an optical imaging system according to various examples;

[0057] Fig.15 schematically illustrates an optical imaging system according to various examples;

[0058] Fig.16 schematically illustrates an optical imaging system according to various examples;

[0059] Fig.17 Optical imaging systems according to various examples are schematically illustrated. DETAILED DESCRIPTION

[0060] The above-mentioned characteristics, features and advantages of the present invention and the methods for achieving these characteristics, features and advantages will become clearer and more obvious in conjunction with the description of the following exemplary embodiments, which will be explained in more detail in conjunction with the drawings.

[0061] Below, according to preferred embodiments, and with reference to the accompanying drawings, the present invention is explained in more detail. In the accompanying drawings, the same reference numerals represent the same or similar elements. The accompanying drawings are schematic representations of different implementation regulations of the present invention. The elements shown in the accompanying drawings are not necessarily shown to scale. On the contrary, the various elements shown in the drawings are presented in such a way that their functions and general purposes are understandable to those skilled in the art. The connection and coupling between the functional units and elements shown in the drawings can also be implemented as indirect connections or couplings. The connection or coupling can be implemented in a wired or wireless manner. The functional unit can be implemented as hardware, software, or a combination of hardware and software.

[0062] Figure 1 An exemplary optical imaging system 100 (hereinafter also referred to as optical device 100) is shown. Figure 1 The optical device 100 illustrated in the example can realize optical microscopy, for example, in a transmitted light geometry. The optical device 100 can enable a small structure of a test object or a test object fixed by a sample holder 113 to be magnified. The detection optical unit 112 is configured to generate an imaging representation of the test object on a detector 114. The detector 114 can then be configured to capture one or more images of the test object. Observation through an eyepiece is also possible.

[0063] The illumination module 111 is configured to illuminate a test object fixed to a sample holder 113. For example, the illumination can be realized by Köhler illumination. Here, a condenser and a condenser aperture stop are used. This results in a particularly uniform intensity distribution of the light for illumination purposes on the plane of the test object. For example, partially incoherent illumination can be realized. The illumination module 111 can also be configured to illuminate the test object in a dark field geometry.

[0064] A controller 115 is provided to drive the various components 111-114 of the optical device 100. For example, the controller 115 can be configured to drive a motor of the sample holder 113 to implement an autofocus application. For example, the controller 115 can be implemented as a microprocessor or a microcontroller. Alternatively or additionally, the controller 115 can include, for example, an FPGA or an ASIC.

[0065] Figure 2 Various aspects related to the controller 115 are shown. The controller 115 comprises a computing unit 501, such as a microprocessor, an FPGA or an ASIC. The computing unit 501 can also be a PC with a central computing unit and / or a computing unit implemented as parallel processing, i.e., for example, a graphics card. In addition, the controller 115 also comprises a memory 502, such as a non-volatile memory. A program code can be stored in the memory 502. The program code can be loaded and executed by the computing unit 501. The computing unit 501 can then be configured to perform a method for material testing of an optical test object based on the program code, for driving an optical device to perform angle-variable illumination or angle-variable detection, etc.

[0066] In one example, the lighting module 111 is therefore configured to facilitate variable-angle lighting. This means that different lighting geometries of light for illuminating the test object can be implemented by the lighting module 111. The different lighting geometries can correspond to illuminating the test object at least partially from different lighting directions.

[0067] Here, in various examples described herein, different hardware implementations are used to provide different lighting geometries. For example, the lighting module 111 may include a plurality of adjustable lighting elements that are configured to locally modify or emit light. The controller 115 may drive the lighting module 111 or the lighting elements to achieve a specific lighting geometry. Figure 3 A further example of this is shown.

[0068] Figure 3 Various aspects are shown in relation to the lighting module 111. Here, the lighting module 111 is configured for variable angle lighting. Figure 3 The lighting module 111 is shown to comprise a plurality of adjustable lighting elements 121 in a matrix arrangement. Here, the matrix arrangement is oriented in a plane (lateral surface; spatial domain coordinates x, y) perpendicular to the beam path of the light.

[0069] In other examples, instead of using a matrix structure, different geometric arrangements of adjustable elements may be used, such as a circular arrangement, a semicircular arrangement, etc.

[0070] In one example, the adjustable lighting element 121 can be implemented as a light source, for example as a light emitting diode. Then, for example, different light emitting diodes with different luminous intensities may be emitted to illuminate the test object. Thus, an illumination geometry can be achieved. In another embodiment, the lighting module 111 can be implemented as a spatial light modulator (SLM). The SLM can intervene in the condenser pupil in a spatially resolved manner, which may have a direct impact on the imaging. A DMD can also be used.

[0071] Figure 4 Various aspects related to an exemplary illumination geometry 300 are shown. Figure 4 Shown along Figure 3 The axis XX' in the figure is the luminous intensity 301 provided by each adjustable element 121 of the lighting module 111. The lighting geometry 300 is shown to be dependent on the position along the XX' axis and is therefore angularly variable. By selecting elements 121 that are further away or farther apart, the magnitude of the angularly variable lighting can be changed. The direction of the angularly variable lighting can be changed by changing the direction between the elements 121 activated in various lighting geometries.

[0072] The imaging position of the optical test object varies depending on the illumination geometry 300. This variation of the imaging position can be utilized to generate a digital contrast.

[0073] In addition to this angle-variable illumination technique, angle-variable detection can also be used in another example. In order to perform angle-variable detection, the detection optical unit 112 is configured accordingly. Figure 5 The corresponding examples are explained.

[0074] Figure 5 Various aspects related to the detection optical unit 112 are shown. Figure 5 An embodiment of a detection optical unit 112 for angle-variable detection is shown. Figure 5 An exemplary embodiment of a detection optical unit 112 with an adjustable filter element 119 is shown. The filter element 119 is arranged in the region of a conjugate plane of the beam path 135, i.e. close to or near the pupil plane of the beam path 135. Thus, the (spatial frequency) spectrum of the beam path 135 is filtered. In real space, this corresponds to selecting different angles 138, 139 at which the light from the test object 150 is incident on the sensor surface 211 along the respective 131, 132. The filter element 119 also forms an aperture stop. The beam path 135 is realized by lenses 202, 203.

[0075] Figure 5 1 shows rays 131, 132 in a beam path 135, which start from a test object 150 arranged in a defocused manner, pass through the detection optical unit 112 and reach the detector 114, in particular the sensor surface 211 of the detector 114. Here, the ray 131 ( Figure 5 The dotted line in FIG. 3 corresponds to the filter pattern 380-1, which defines a first light-transmitting area 381 having a certain range in the X direction, and the ray 132 ( Figure 5 ) corresponds to a filter pattern 380-2, which defines a second light-transmitting area 382 with a certain range in the X direction. The test object 150 is arranged in a defocused manner and has a focus position 181 that is not equal to zero. Therefore, the rays are incident on the sensor surface 211 at different angles 138, 139 (angle variable detection). In addition, the imaged representations 151, 152 of the test object 150 are spaced apart from each other.

[0076] Since the focus position 181 is not equal to zero, i.e. the distance of the position of the test object 150 along the optical axis 130 from the focal plane 201 of the detection optical unit 112, the imaged representations 151, 152 of the test object 150 brought about by the rays 131, 132 are positioned on the sensor surface 211 at a distance 182 apart. Here, the distance 182 depends on the focus position 181.

[0077]

[0078] Wherein, Δz represents the focal position 181, Δx represents the distance 182, represents the diameter of the aperture stop, and Δk represents the length of the distance between the light-transmitting areas of the filter patterns 380-1 and 380-2. Figure 2 , m represents the magnification of the detection optical unit 112, and NA represents a correction value based on the oblique incident angles 138, 139. NA can be determined, for example, empirically or by beam path calculation.

[0079] The equations shown are approximations. In some examples, the dependency of the incident angles 138, 139 on the focus position 181, ie, Δz, may be further considered. This dependency may be system specific.

[0080] Due to the dependence of the focus position Δz on the distance Δx, digital contrast can be generated by processing appropriate images, which are captured with different filter patterns 380-1, 380-2. For example, in this case, it is possible to exploit the fact that optical test objects usually have a large extent in the Z direction, so that edges extending in the Z direction (e.g., the edges of defects) can be made visible by the presence of the distance Δx in the image.

[0081] In principle, in various examples it may be desirable to define particularly thin light-transmitting areas 381, 382, ​​i.e. small in the X direction. This allows for a particularly high degree of accuracy in determining the distance 182 and, therefore, the focus position 181. On the other hand, due to the small extent of the light-transmitting areas in the X direction, the intensity on the sensor surface 211 is reduced. Thus, a balance can be achieved between intensity and accuracy. Figure 5 As can be clearly seen in FIG. 1 , the zeroth order of light diffracted by the test object 150 is not detected; therefore, the intensity is relatively low.

[0082] Figure 5 is a one-dimensional illustration of the filter patterns 380-1, 380-2. However, in some examples, filter patterns having a two-dimensional extent, ie, an extent in the XY plane, may also be used.

[0083] Figure 6 Various aspects related to exemplary filter patterns 351, 352 are shown. Figure 6 In the example of FIG. 3 , filter pattern 351 defines one line and filter pattern 352 defines another line. By translating along vector 350, filter pattern 351 can be transformed into filter pattern 352. The lines of filter patterns 351, 352 are parallel along their entire length. In general, lines can also be used that are parallel to each other only along part of their length, for example, along at least 50% of their length or along at least 80% of their length. In this way, a more flexible selection of filter patterns 351, 352 can be ensured.

[0084] from Figure 6 As can be clearly seen in FIG. 1 , the lines of the filter patterns 351, 352 are arranged off-axis relative to the optical axis 130. Therefore, the length of the vector 350 can be maximized, thereby maximizing the distance 182 between the imaged representations 151, 152. Thus, the amplitude of the angularly variable detection can be accommodated.

[0085] By using filter patterns 351, 352, which can be transformed into each other by translation along vector 350, a one-dimensional separation of imaged representations 151, 152 can be obtained. Distance 182 is then parallel to vector 350. Rotating the filter pattern can change the direction of the angle-variable detection.

[0086] Figure 7 , a flow chart of an exemplary method is shown. For example, the controller 115 (see Figure 2 ) to execute according to Figure 7 For example, the computing unit 501 may load the program code from the memory 502 and then execute the program code according to Figure 7 method.

[0087] Image capture is performed in block 1001. For example, in block 1001, an optical imaging system, such as Figure 1 The optical device 100 may be driven to capture one or more images.

[0088] In particular, in block 1001 , an optical imaging system may be driven by at least one of angle-variable illumination and angle-variable detection to capture at least two images of an optical test object.

[0089] The angle-variable illumination may comprise the use of a plurality of illumination geometries, wherein in each case at least one illumination geometry is associated with one of the at least two images. For example, the different illumination geometries may be achieved by activating different light sources.

[0090] Angle-variable detection can be achieved by filtering the spectrum of the beam path by providing appropriate filters near or in the pupil plane of the detection optics of the optical imaging system.

[0091] The amplitude and / or direction of the angle-variable illumination can be changed by changing the light source used or the illumination geometry used. Correspondingly, the amplitude and / or direction of the angle-variable detection can be changed by changing the filtering pattern used.

[0092] If the amplitude and / or direction of the angle-variable illumination and / or angle-variable detection is changed, this changes the amplitude and / or direction of the subsequently determined digital contrast. Certain defects can be made particularly clearly visible by changing the direction of the digital contrast.

[0093] Image evaluation is performed in block 1002. This may include processing at least two images captured in block 1001 to generate a resulting image with digital contrast. For example, the digital contrast may be selected from the group consisting of phase contrast, phase gradient contrast, and virtual dark field.

[0094] Then, material testing is performed in block 1003. Generally, material testing can serve to evaluate the quality of the optical test object.

[0095] In this case, various techniques may be applied to achieve the purpose of conducting material testing in block 1003. In a simple example, for example, a result image with digital contrast may be displayed to a user; for example, a result image with digital contrast may be displayed to a user; and then the user may manually identify defects.

[0096] In block 1003, material testing may also be performed in an automated manner. For example, a quality value may be determined, for example, using an ANN or any other algorithm with machine learning. As an input image, the ANN may receive one or more result images from block 1002. As an output, the ANN may provide a quality value. For example, the quality value may specify whether the test object is "within the standard", "outside the standard", or (optionally) "uncertain".

[0097] In certain embodiments, performing material testing may also serve to detect individual defects in the optical test object, such as using a defect detection algorithm to automatically detect defects.

[0098] Blocks 1001 - 1003 need not be performed in strict sequence; rather, for example, image evaluation 1002 may have already begun during image capture at block 1001 , and material testing may have already begun in blocks 1002 , 1003 .

[0099] Figure 8 is a flow chart of an exemplary method. In particular, Figure 8 Shows Figure 7 This means that Figure 8 Details of an implementation of image capture are shown.

[0100] In block 1011, the orientation and / or the Z-position and / or the XY-position of the optical test object is set. This means that the posture of the test object is set. This can be done, for example, by means of the controller 115 (see Figure 1 ) driving the motorized sample holder 113. For example, the sample holder can rotate the optical test object in order to set the orientation. For example, the sample holder 113 can move the optical test object along the beam path in order to set the Z-position, i.e. the focus position. In another variant, it is possible to set the XY-position, i.e. the position perpendicular to the beam path.

[0101] In another example, a user is prompted through a human-machine interface to manually set a specific posture of the test object.

[0102] In another example, the test object remains stationary, but the detection optical unit is displaced relative to the test object (camera defocused).

[0103] As described in conjunction with block 1011, such a technique is helpful, in particular, when the optical test object has a large extent compared to the extent of the field of view of the optical imaging system. Then, setting the Z-position allows, for example, by internal focusing or camera defocusing, in each case to focus and image a different plane of the optical test object on the detector 114. Thus, by obtaining a stack of images for different Z-positions (so-called Z-stacks), volumetric testing of the optical test object can be facilitated. The same applies to setting the XY-position, which is sometimes also referred to as "stitching". Thus, different lateral positions of the optical test object can be brought into the field of view of the optical imaging system. Thus, image stacks corresponding to different lateral positions of the optical test object (so-called XY-stacks) can be obtained.

[0104] Another example for processing optical test objects having a larger area than the field of view of the optical imaging system consists in using so-called "sliding windows". By means of sliding windows, it is possible to process images, e.g. result images and / or original images, even if these images do not completely fit in the memory of the corresponding computing unit, e.g. the memory of level 1 or level 2 of the computing unit. It may then be necessary to first buffer the corresponding images in an external RAM block and subsequently load and process individual segments of the images according to the sliding window. In this context, in principle, it is possible for consecutive sliding windows of a sliding window sequence to contain an overlapping region, which images the same region of the test object. It would thus be possible to evaluate sequential overlapping regions of the images - e.g. by means of an algorithm with machine learning - and subsequently combine the results of this evaluation to form an overall result, e.g. in order to obtain an error map, as described herein.

[0105] In principle, it is possible to combine this approach with sliding windows and techniques using image XY-stacks, in order, for example, to directly connect image recording and evaluation: Thus, instead of initially recording the entire XY-stack and then providing the latter as input to the ANN - or, in general, to an algorithm with machine learning capabilities - each individual image is passed directly from the camera as input to the ANN during the recording of the XY-stack (e.g., overlap of image edges). Thus, as a general rule, (i) the capture of the original image and the generation of the result image and (ii) the execution of the material test based on the machine learning algorithm can be carried out at least partially in parallel, for example for different poses of the test object relative to the imaging system and / or for different sliding windows of the corresponding sequence. Thus, the total time for image recording and evaluation can be significantly reduced compared to the reference embodiment.

[0106] Orienting the optical test object is helpful, especially if certain areas of the optical test object are only visible in certain directions; this is possible, for example, with partial mirrors. Certain defects may only be visible in certain directions.

[0107] Thus, in general, the pose of the optical test object relative to the optical imaging system may be changed by the various techniques described in conjunction with block 1011 for positioning the optical test object relative to the optical imaging system.

[0108] Subsequently, one or more imaging modes are set in block 1012. In general, very different imaging modes can be set in this process, such as: the color of the light used; the polarization of the light used; the amplitude of the angle variable illumination and / or the angle variable detection; the direction of the angle variable illumination and / or the angle variable detection.

[0109] What can be achieved by this variation of the imaging mode is that certain defects can be made particularly clearly visible, i.e. with high contrast. For example, certain defects are only visible with variable angle illumination and / or variable angle detection having a specific direction and amplitude. Accordingly, certain defects of the optical test object will likely be visible only with a certain color or polarization of the light used.

[0110] Subsequently, at least two images are captured by angle-variable illumination and / or angle-variable detection in block 1013. In this process, one or more imaging modes set in block 1012 are used. In addition, the pose of the optical test object relative to the optical imaging system set in block 1011 is used.

[0111] When capturing various images in one iteration of block 1013, the illumination angle or detection angle of different images is different according to the mode setting. For example, two line patterns 351, 352 (see Figure 6 ); they have the same orientation (in the X direction) and have the same angularly variable detection amplitude (same distance from the main optical axis).

[0112] In block 1014, it is checked whether a further change should be made to one or more imaging modalities of the currently active posture. If so, block 1012 is executed again and a corresponding change of one or more imaging modes is performed. Then, in a further iteration of block 1013, at least two images are captured - for the newly set one or more imaging modes - by means of variable angle illumination and / or variable angle detection. For example, in a further iteration, the image may be captured using the image with respect to the one or more imaging modes. Figure 6 The line patterns 351, 352 are line patterns rotated 90° in the XY-plane - this will correspond to a change in the direction of the angle-variable detection. For example, the amplitude of the angle-variable detection can be obtained by shifting the light-transmitting area of ​​the line patterns 351, 352 along the X-axis.

[0113] Once it is determined in block 1014 that no further changes should be made to one or more imaging modalities of the current pose, block 1015 is performed. A check is made in block 1015 as to whether further poses should be set. If so, block 1011 is performed again.

[0114] Otherwise, image capture is complete. Subsequently, image evaluation is performed in block 1002 (see Figure 7 ).

[0115] Fig. 9 is a flow chart of an exemplary method. Fig. 9 Involving can be based on Figure 7 The technique of block 1002 is performed in conjunction with image evaluation.

[0116] Initially, in block 1021, a current posture is selected from one or more specified postures for which an image is captured. Figure 8 All gestures activated in box 1011 are stored in a list, and then they are iteratively selected in box 1021.

[0117] Then, an imaging mode is selected in block 1022. For example, Figure 8 All one or more imaging modes presented in block 1012 may again be stored in a list and then successively selected in various iterations in block 1022 .

[0118] Then, at block 1023, at least two respective images are merged, which are obtained by Figure 8 The block 1013 is captured by the currently selected posture and the currently selected one or more imaging methods. As a result, a corresponding result image is obtained. The result image has digital contrast.

[0119] Depending on the type of combo box 1023, the resulting image may have a different digital contrast.

[0120] In one example of variable angle illumination, for example, pairs of images each associated with a complementary linear illumination direction may be captured (e.g., this would correspond to activating all light sources 121 that are arranged in Figure 3 In a column or a row of a matrix of lighting modules 111). Accordingly, in the case of angle-variable detection, it is also possible to use Figure 6 One of the linear filter patterns 351, 352 can then be rotated 90° in the XY plane.

[0121] In this case, a difference can be formed, for example according to

[0122]

[0123]

[0124] Among them I left and I right represents the image associated in each case with a semicircular illumination geometry, or with a filter pattern facing left or right, and, where I top and I bottom The images associated in each case with a semicircular illumination geometry, or with a filter pattern facing upward or downward are represented. Thus, a phase gradient contrast can be generated for the resulting image.

[0125] Accordingly, during the variable-angle detection, different result images can also be determined for different filter patterns.

[0126] The currently selected posture is then checked in block 1024 to see if one or more other imaging modes are available for selection in order to further iterate through block 1022 .

[0127] If this is not the case, then in block 1025 a check is made whether further images have been captured for further poses and, if used, further iterations of block 1021 are performed. If no further poses are available for selection, the image evaluation is complete. All images are then processed and corresponding result images can be obtained.

[0128] Subsequently, material tests can be carried out. Examples of such tests are Fig.10 shown.

[0129] Fig.10 An exemplary method is shown. Fig.10 The method shows that according to Figure 7 An exemplary embodiment of a material test of block 1003 is provided.

[0130] Initially, all result images obtained by multiple iterations of block 1023 are registered in the (optional) global coordinate system in block 1031. Here, different result images correspond to different poses (see Fig. 9 Thus, different result images also image different areas of the optical test object and / or different viewing angles of the optical test object. This can be taken into account by registering the result images in a common coordinate system in block 1031.

[0131] In block 1032, a defect detection algorithm is applied to the available result image to automatically detect defects. Optionally, the defect detection algorithm can also be applied to the available original image.

[0132] If block 1031 has been performed, the defect detection algorithm may be applied in conjunction with the registered result images. This means that the registered result images may be collectively transmitted to the defect detection algorithm and the defect detection algorithm takes into account the relationship between the result images. This may correspond to a consistent evaluation of the registered result images. Thus, 3D defects may be detected. This enables, for example, the detection of defects having an extent spanning across multiple result images. In the case of a Z-stack (XY-stack) of result images, for example, this allows the detection of defects extending in the Z-direction (XY-plane).

[0133] If block 1031 is not performed, the defect detection algorithm may be applied to each result image separately. This means that the defect detection algorithm may be executed multiple times and receive as input a result image separately at each execution. Then, the defect detection algorithm does not need to be embodied to take into account the relationship between the result images. This corresponds to an incoherent evaluation of the result images. In this way, the defect detection algorithm may have a particularly simple embodiment.

[0134] For example, the defect detection algorithm may output a corresponding error map each time it is executed. If the defect detection algorithm is executed multiple times for different result images, multiple error maps will be obtained. The error map marks defects in the area of ​​the optical test object imaged by the corresponding result image.

[0135] Frame 10333 is an optional block. In particular, if frame 1031 is not executed, frame 1033 can be executed.

[0136] In block 1033, the defects marked by the error map may be registered in a global coordinate system. This allows the defects imaged by the different result images to be correlated with each other, which defects were detected by the respective executed defect detection algorithms. In this way, a global error map may be obtained, in which defects are marked in the entire area of ​​the optical test object.

[0137] Subsequently, in block 1034, one or more error maps, such as a global error map, are compared with one or more reference error maps. As an example, the reference error map may be derived from an industry standard. For example, the reference error map may indicate tolerances for certain defects. For example, the comparison in conjunction with block 1034 is used to determine a quality value for a material test. For example, it may be checked whether a detected defect remains within a tolerance range specified by the reference error map. Thus, while determining the quality value, the test object may be assigned to one of a plurality of predefined result categories, such as "within tolerance" / "out of tolerance" with respect to a suitable standard or any other specification.

[0138] An "uncertain" output may also occur if there is any uncertainty in the context of the comparison of the error map with the reference error map; in this case, a manual visual inspection may be proposed. This corresponds to the "red-yellow-green" principle. In the context of the comparison, this uncertainty may arise for a variety of reasons. For example, an anomaly detector used in conjunction with a defect detection algorithm may indicate the presence of unknown defects, for example, these defects were not detected by an algorithm (e.g., ANN) trained with a different defect class.

[0139] Then, based on the comparison at block 1034, a quality value may be indicated at block 1035. For example, the quality value may indicate whether the optical test object meets certain industry standards. Quantitative statements may also be made, such as regarding the number, size, or distribution of defects represented by the quality value.

[0140] Depending on the available error maps, block 1034 may employ different embodiments. For example, if in block 1032, a defect detection algorithm is applied to a plurality of result images, all of which are registered in a common global coordinate system, then the comparison in block 1034 may be performed between a single global error map obtained by the corresponding defect detection algorithm and a reference error map. However, if, as a result of multiple executions of the defect detection algorithm in block 1032, a number of different error maps are applied, then each of these multiple error maps may be compared to a reference error map or a plurality of corresponding reference error maps. Here, the relative arrangement of the various error maps may be taken into account by performing appropriate registrations in block 1033.

[0141] As a general rule, in the various examples described herein, the error maps may have different information content.

[0142] As a general rule: Different items of information related to defects detected by a defect detection algorithm can be stored in an error map.

[0143] (i) For example, a defect detection algorithm may provide a segmentation of the resulting image corresponding to the detected defects. Thus, the error map may mark the location of the defect by means of segmentation, or, more generally, the relative position, orientation and / or form.

[0144] (ii) Alternatively or additionally, the defect detection algorithm may also provide a corresponding defect classification for the detected defects in relation to predefined defect categories. This information may also be stored in the error map. Examples of defect categories include: scratches; inclusions; material defects; matte surface; streaks; peeling; bore error; optical shift and rotation marks. Other examples of defect categories include: dirt; cuts; holes; cracks; spatter; spray dots; residues; stains; flaws; coating shift; color difference; flow channels; glass defects; bubbles; cuts; double coating.

[0145] (iii) Another example of additional information that can be determined and output by the defect detection algorithm is the effect of the individual defects on the optical effect of the test object. For example, it may be the case that certain defects, although geometrically large, have little effect on the optical effect of the test object. On the other hand, in some cases, even small defects may have a large effect on the optical effect of the test object. For example, the effect of the defect on the optical effect can be described qualitatively or quantitatively as a change in the optical effect. For example, a change in the focal length of a lens that realizes the test object can be described by the sign of the change or by the magnitude of the change.

[0146] (iv) Another example of additional information that can be determined and output by the defect detection algorithm is the combined effect of all detected defects on the optical effect of the test object. This is based on the finding that sometimes two independent defects can be enhanced or weakened as a whole, depending on the type and arrangement of the defects;

[0147] As can be seen from points (i)-(iv) above, in various examples, the error map output by the defect detection algorithm may contain different additional information items about the defect.

[0148] Depending on the information content of the error map, the comparison in block 1034 can have various embodiments. In the case of simple information, the reference error map can specify, for example, the maximum range of defects and / or the maximum density of defects, regardless of the classification of the defects. In another embodiment, for example, the reference error map can specify, for example, the maximum number of defects for a certain defect class. These examples and other examples can be combined with each other.

[0149] Typically, certain powers of ten are specified in the standards. For example, the reference error map can map these powers of ten. In the simplest case, these powers of ten are defined by the side length of the error region (e.g., considered to be a square). This facilitates a direct relationship between the segmentation performed by the defect detection algorithm (i.e., the number of pixels assigned to the defect) and the power of ten by means of the imaging scale.

[0150] Furthermore, the length and width can be determined, in particular in the case of scratches, but also in general in the case of defects of other defect classes. This can include adapting the algorithmic pattern shape to the segmentation. As an alternative or in addition, the size of the scratch can be determined by image processing processes such as skeletonization, medial axis transformation.

[0151] Particularly in the case of die at edge and layer offsets, the relative position and extent of the defect with respect to the test surface can be determined. This can be achieved using algorithms that capture the context of the defect, for example, the exact relative position of the edge of the test object.

[0152] Another criterion that can be mapped by the reference error map and the error map is a certain percentage of defect frequency in the test area. This can correspond to a maximum density of defects.

[0153] As a further general rule, in the various examples described herein, different types of defect detection algorithms may be used depending on the implementation. For example, in one embodiment, the defect detection algorithm may include a trained ANN. For example, the defect detection algorithm may include a convolutional network. The ANN may be configured to obtain one or more result images as an input map of an input layer. Typically, the ANN includes an input layer, one or more hidden layers, and an output layer. The output layer may include one or more neurons. The location and / or classification of detected defects may be indicated in this way based on the activities of various neurons. For example, the ANN may be configured to provide an output map - and then implement an error map or derive an error map therefrom - which indicates the location and classification of detected defects. Different neurons in the network may correspond to different entries in the output map.

[0154] However, in the process, the defect detection algorithm is not limited to the use of ANN in the various examples described in this article. In further examples, other types of defect detection algorithms can also be used instead of or in addition to ANN. Examples include, for example, a threshold analysis of the digital contrast of the result image and a statistical analysis of the digital contrast. For example, it can be assumed that defects have a particularly pronounced digital contrast; in this way, the defects can be segmented by threshold analysis. Then, for example, from the form of the segmentation, there can be an assignment to a predefined defect class as a classification. For example, a statistical analysis can be used to determine the density of defects or the average distance between defects.

[0155] Fig.11 Various aspects of materials testing technology are shown.

[0156] Initially, an image capture is performed in block 1001. Raw data 800 are obtained from the image capture 1001. These raw data correspond to images 890 that were captured in different ways and / or different postures of the test object 150 relative to the optical device 100.

[0157] For example, in Fig.11 In the example of , multiple Z-stacks 801 of images 890 may be captured in each case for different wavelengths 802-1, 802-2. For example, in each case from Z-stack 801 to Z-stack 801 (at the same wavelength 802-1, 802-2), the illumination geometry may be changed in the case of angle-variable illumination, or the filter pattern may be changed in the case of angle-variable detection. Fig.11 In the example of FIG. 8 , in each case of angle-variable illumination / angle-variable detection with different angles, three corresponding images are captured at the same Z-position (same stack position in the Z-stack 801 ) for one wavelength 802 - 1 , 802 - 2 .

[0158] As an alternative or in addition to capturing a Z-stack 801, an XY-stack may also be captured.

[0159] Then, an image evaluation 1002 or image processing is performed. Now, in addition to the raw data 800, a result image 891 is obtained. The result image 891 is obtained by appropriately combining the various images 890 of the raw data 800. In this case, images 890 with the same pose and the same imaging mode are combined. For example, in Fig.11 In the example of FIG. 8 , the topmost images (all at the same Z-position) can be combined with the first row of the Z-stack 801 corresponding to the wavelength 802-1 to obtain the corresponding result image 891. Thus, a Z-stack 801 of the result image 891 is obtained, corresponding to each imaging mode 802-1, 802-2.

[0160] Subsequently, a defect detection algorithm is applied, 1032. Thus, a Z-stack 801 of error maps 895 is obtained, marking defects 901-903 on different Z-planes, respectively.

[0161] Fig.11 It is also shown that the ANN 950 may be used as a defect detection algorithm in block 1032 . Fig.11The ANN 950 is shown to include an input layer (far left) having multiple neurons, a hidden layer, and an output layer (far right) having multiple neurons.

[0162] For example, when applying the defect detection algorithm in block 1032, a sliding window may be used to sequentially provide information of the result image 891 to the defect detection algorithm. This may allow the image domain of the defect detection algorithm to be expanded. In particular, the number of pixels of the result image 891 may be greater than the number of neurons of the ANN in the input layer.

[0163] In block 1052, the ANN 950 can be trained. To train the ANN 950, reference measurements can be taken of a large number of optical test objects and manual annotations of visible defects can be made by an expert in block 1051. Partially automated machine learning is also conceivable. The training sets the connections in the individual layers, i.e., appropriate weights, etc.

[0164] Subsequently, various defects 901-903 are measured in block 1061. This may correspond to segmentation of the marked defects 901-903 in the various result images 891.

[0165] In addition, there is a classification of defects 901-903. For example, in Fig.11 In the scenario of FIG. 9 , various defects 901 - 903 are assigned to different defect categories (illustrated by different fills).

[0166] The defects 901-903 marked in the error map 895 can also be registered in the global coordinate system; for example, the defects 901-903; that is, the relative positions of the various defects 901-903 relative to each other or relative to a reference point can be determined. To this end, in block 1062, reference data obtained, for example, by calibration measurements using a reference sample 910 can be considered. This reference data can help determine the absolute size and / or relative position of the different defects 901-903 relative to each other.

[0167] Then, in block 1034, the processed error map 895 may be compared to a reference error map 896 obtained from Fig.11 The examples are derived from industry standards.

[0168] Finally, in block 1035, the Fig.11 This may correspond to determining the quality of the test object 150 .

[0169] exist Fig.11In the example of , the ANN 950 is trained on the basis of reference measurements. In general, the ANN 950 - or in general, the defect detection algorithm using machine learning - can be repeatedly or continuously retrained as an alternative or in addition to such reference measurements. For example, the output of the ANN 950 or the results of the material test in the running test process can be repeatedly checked and new reference measurements can be generated therefrom. This can be achieved in an automated or at least partially monitored manner. With these newly generated reference measurements, retraining can be performed regularly or in response to certain events (introduction of new standards, changes in measurement settings, changes in test objects). That is, in general, the ANN can be retrained on the basis of the results of material tests. Thus, a continuous improvement or improvement of the detection accuracy of the ANN can be achieved. In particular, one (or both) of the following two purposes can be achieved: (i) improvement of the metrics applied to the ANN, such as the accuracy of segmentation, defect detection rate, number of false positive / false negative decisions, etc.; and / or (ii) learning of newly emerging defect categories or adapting to other changes in the detection process, such as changes in the test object, image data or reference error map or the standards adopted, etc.

[0170] Fig.12 Various aspects related to the optical device 100 are shown. Fig.12 In the example of FIG. 1 , the optical device 100 includes an illumination module 111 configured for angle-variable illumination of an optical test object 150. The sample holder 113 can change the posture of the test object 150 relative to the optical device 100 by rotating. Fig.12 In the example of FIG. 4 , imaging is achieved in a transmitted light geometry.

[0171] Fig.13 Various aspects related to the optical imaging system are shown. Fig.13 Another exemplary embodiment of the imaging system 100 is shown. In principle, according to Fig.13 The optical device 100 is in accordance with Fig.12 However, in the optical device 100 configuration Fig.13 In the embodiment of the present invention, the imaging is realized in the geometry of reflected light. For this purpose, the illumination module 111 has a central cutout through which the light reflected at the test object 150 can reach the detector 114 .

[0172] Fig.14 Various aspects related to optical imaging system 100 are shown. Fig.14 The example in principle corresponds to Fig.13 However, in Fig.14 In the example of , a beam splitter 111 - 5 is used—instead of the central cutout of the illumination module 111 —for realizing the geometry of the reflected light.

[0173] Fig.15 Various aspects related to the optical imaging system 100 are shown. Here, in principle, Fig.15 The example corresponds to Fig.14 However, in Fig.15 In the example of , there are multiple lighting modules 111 - 1 and 111 - 2, each configured for angle-variable lighting. Here, the lighting module 111 - 1 is configured for imaging in the geometry of reflected light, while the lighting module 111 - 2 is configured for imaging in the geometry of transmitted light.

[0174] Fig.16 Various aspects related to the optical imaging system are shown. Fig.16 The example in this case corresponds in principle to Fig.15 However, in Fig.16 In the example of FIG. 1 , the illumination modules 111 - 1 , 111 - 2 are not implemented by an array of light emitting diodes; rather, they are implemented by a combination of a micromirror device or DMD 111 - 1B, 111 - 2B and a single light source 111 - 1A, 111 - 2A, respectively.

[0175] Fig.17 Various aspects related to the optical imaging system 100 are shown. Fig.17 In the example of , the illumination module 111 is not configured for angle-variable illumination, but only comprises a single light source 111-9. The sample holder 113 is again configured for rotation and Z-displacement of the optical test object 150. The detection optical unit 112 is configured for angle-variable detection. For this purpose, different filter patterns 380-1, 380-2 can be used in the region of the pupil plane in order to achieve the purpose of filtering the spectrum of the beam path.

[0176] As a general rule, it may be provided that correction lenses are used in the various examples described herein. Correction lenses may be located upstream and downstream of the optical test object 150 in the beam path of the light from the illumination module 111 to the detector 114. By means of the correction lenses, optical effects of the optical test object 150 may be compensated - for example, a lens may be implemented. To this end, the correction lens may have an optical effect that is complementary to the optical effect of the optical test object. Thus, artifacts due to the refractive power of the optical test object 150 may be corrected. This enables the reduction of artifacts in the image and the resulting image due to the optical effect of the optical test object.

[0177] In summary, the above describes some techniques by which fully automated material testing can be facilitated by evaluating the quality of optical test objects. This facilitates classification in conjunction with industrial standards. The techniques described in this article facilitate high sensitivity in material testing by using customized digital contrast. This, in turn, facilitates the reduction of production scrap, as certain tolerances can be annotated to relatively small dimensions during testing. Moreover, material testing can be performed at high speeds.

[0178] By way of example, some techniques have been described which facilitate the following testing process: (i) applying a defect detection algorithm to quantify the characteristics of a single defect, i.e., for example, the relative position, form, size and / or optical effect of the defect; (ii) quantifying the overall impact of all errors on the optical effect; i.e., the combined impact of all detected effects on the optical effect can be determined; (iii) assigning the test object to one of a number of predefined result categories, e.g., "within tolerance" / "outside tolerance" with respect to an appropriate standard or other specification. This means that a quality value can be determined. By way of example, this assignment of the test object can be made with the aid of an error map, in which the information of (i) and (ii) is stored. (iv) Based on the error map of the defect detection algorithm, the resulting image is optionally displayed on a display together with the defect indication.

[0179] In some examples, (i) and (ii) can be performed by separate algorithms. As an example, a defect detection algorithm can be applied first to perform (i); then, following (ii), the output of the defect detection algorithm can be compared with a reference error map. On the basis of the comparison, for example, based on the deviation between the error map as the output of the defect detection algorithm and the reference error map, it can be checked whether the criterion (iii) is met. However, in other examples, (i) and (ii) can also be mapped in combination by an ANN or other machine learning techniques; then, information about individual defects, such as the corresponding segmentation, can be omitted in such an embodiment. Sometimes, it is even possible to combine (i), (ii) and (iii) by a common ANN or other machine learning technique; such an ANN can obtain one or more result images as input maps and can output a map with two or three neurons, corresponding to "within tolerance", "outside tolerance" and optionally "uncertain", respectively.

[0180] The techniques described herein can be integrated into a production process. For example, an optical imaging system as described above can be equipped with an optical test object by a robot; then, the techniques described herein can be performed.

[0181] Using the techniques described herein, it is also possible to detect defects with variable Z-positions within an optical test object. This can be achieved by setting the focus position of the optical test object. A Z-stack of images can be captured. In general, the pose of the optical test object can be varied relative to the optical imaging system.

[0182] As mentioned above, material testing can be performed in an automated manner. In doing so, algorithms with machine learning can be used, for example as defect detection algorithms or in any other form.

[0183] In this case, a previously known reference implementation of an algorithm with machine learning can be used. In this case, such a reference implementation of the algorithm with machine learning can be adapted for particularly good processing of raw images captured by angle-variable illumination and / or angle-variable detection and / or corresponding result images. A few corresponding examples are described in detail below.

[0184] For example, the original image and / or the result image may be normalized. This normalization technique is based on the finding that depending on how the angle-variable illumination is implemented and how the original image is processed, the result image may contain different digital contrasts. The signal level of the pixel values ​​may vary significantly depending on the digital contrast. It has also been determined that different locations on the test object have significantly different signal levels of pixel values ​​due to the material properties of the test object. Different locations on the test object may. Examples of normalization techniques include instance or batch normalization.

[0185] In another example, the image domain of the algorithm with machine learning can be expanded, for example, by parallel atrous convolution and normal convolution. In this way, the size-limited input of the machine learning algorithm can adapt to a relatively wide range of original images and / or result images. For example, the corresponding technology is described in "Deeplab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected crfs" by Chen, Liang-Chieh et al. IEEE Transactions on Pattern Analysis and Machine Intelligence 40.4 (2018): 834-848.

[0186] In another example, the input of the algorithm with machine learning may include a series of sliding windows. Here, different windows of the sequence may map different areas of at least one result image in an overlapping or non-overlapping manner. It is then possible to determine the output of the algorithm based on a combination of the series of results. Here, the sequence of results may correspond to the sequence of sliding windows. This technique allows the image domain of the algorithm to be expanded.

[0187] For example, a CNN called "U-net" can be used as an example of an ANN; see Ronneberger, Olaf, Philipp Fischer, and Thomas Brox "U-net: Convolutional networks for biomedical image segmentation" International Conference on Medical Image Computing and Computer-Assisted Intervention, Springer, Cham, 2015. Such U-net CNNs can be modified by using skip connections so as to maintain the high local resolution of the model's predictions through segmentation. This technique is described, for example, in Isola, Phillip et al. "Image-to-image translation with conditional adversarial networks" arXiv preprint (2017).

[0188] In one example, it is possible to provide a multimodal input to an algorithm for machine learning. For example, each original image and / or each result image with digital contrast can be considered as a separate channel. Such a multimodal input can be different from a traditional "3-channel red / green / blue" input: its purpose is to jointly process all available image information, i.e., the result image and / or the original image. Such a joint processing can be achieved, for example, by a direct connection of all channels. However, as an alternative or in addition, it is also possible to consider connecting the results of the preprocessing learned separately for each channel. This means that, in this case, each channel can be specifically preprocessed in the first layer of the ANN before the channel connection is performed.

[0189] It goes without saying that the features of the above-described embodiments and various aspects of the present invention can be combined with each other. In particular, these features can be used not only in the described combinations, but also in other combinations or alone without departing from the scope of the present invention.

[0190] By way of example, the above describes techniques based on the use of ANN as a defect detection algorithm. In general, other types of defect detection algorithms may also be used. In particular, defect detection algorithms that are typically based on machine learning techniques may be used. The techniques described in conjunction with the use of ANN may also be applied to other techniques of machine learning.

[0191] In addition, techniques using ANNs are described above. In general, other algorithms with machine learning may also be used, such as parameter mapping or generative models.

Claims

1. A method for performing material testing on an optical test object (150) using an optical imaging system (100), characterized in that: in, The method comprises: For each of at least one posture of the test object (150) relative to the imaging system (100): driving the optical imaging system (100) to capture (1001) at least two images (890, 800) of the test object (150) by at least one of angle-variable illumination and angle-variable detection; For each of the at least one gesture: processing (1002) the corresponding at least two images respectively to generate a result image (891) with digital contrast; and performing a material test on the test object (150) based on at least one of the result images (891), the result image (891) being generated based on the at least two images (890, 800) of the at least one posture; wherein performing the material testing includes applying a defect detection algorithm for automatically detecting defects (901-903); wherein, for the detected defects (901-903), the defect detection algorithm determines the corresponding impact of each of the defects (901-903) on the optical effect of the test object (150); and Wherein, the optical test object (150) is at least partially transparent to visible light, infrared light or ultraviolet light.

2. The method according to claim 1, characterized in that: in, For the detected defects (901-903), said defect detection algorithm provides at least one of a respective segmentation of each said result image (891) and a respective classification of each said defect (901-903) associated with a predefined defect class.

3. The method according to claim 1 or 2, characterized in that: in, The defect detection algorithm determines a combined impact of the optical effect on the test object (150) for a plurality of the detected defects (901-903).

4. The method according to claim 1 or 2, characterized in that: in, The defect detection algorithm includes a trained artificial neural network (950) configured to receive one or more of the at least one result image (891) as an input image.

5. The method according to claim 4, characterized in that in, The artificial neural network (950) is configured to provide an output map indicating the location and classification of the detected defects.

6. The method according to claim 4, characterized in that It also includes retraining the artificial neural network (950) according to the results of the material testing.

7. The method according to claim 1 or 2, characterized in that: in, The defect detection algorithm comprises at least one of a threshold analysis of the digital contrast and a statistical analysis of the digital contrast of the at least one result image (891).

8. The method according to claim 1 or 2, characterized in that: in, The defect detection algorithm includes an anomaly detector that detects defects of a priori unknown defect classes (901-903).

9. The method according to claim 1 or 2, characterized in that: in, marking the detected defect in at least one error map (895); Wherein, the method further comprises: comparing the at least one error map (895) to a reference error map, and A quality value for the material test is determined on the basis of the comparison.

10. The method according to claim 9, characterized in that in, The at least one gesture includes a plurality of gestures associated with a plurality of result images (891); wherein the defect detection algorithm is applied to each of the plurality of result images (891) to obtain a respective error map (895); Wherein, the method further comprises: registering the defects (901-903) marked in the error map (895) in a global coordinate system; Therein, the registered error map (895) is compared with the reference error map (896).

11. The method according to claim 9, characterized in that in, The at least one gesture comprises a plurality of gestures associated with a plurality of result images (891), Wherein, the method further comprises: registering the plurality of result images (891) in a global coordinate system; Therein, the defect detection algorithm is coherently applied to the registered result image (891) to detect 3D defects (901-903).

12. The method according to claim 1 or 2, characterized in that: in, Conducting said material testing includes application of a machine learning algorithm; Therein, the machine learning algorithm is configured to receive the at least one result image as input and to provide a quality value of the test object as output.

13. The method according to claim 12, characterized in that in, An input to the machine learning algorithm comprises a sequence of sliding windows, wherein a sliding window in the sequence of sliding windows images different regions of the at least one result image; wherein the output of the machine learning algorithm is determined based on a combination result of a sequence of results of the machine learning algorithm; The result sequence corresponds to the sliding window sequence.

14. The method according to claim 1 or 2, characterized in that: Also includes: For each of the at least one gesture: while capturing the at least two images, changing at least one imaging mode (802-1, 802-2), Wherein, the at least one imaging mode is selected from the following group: the color of the light used; the polarization of the light used; the amplitude of at least one of the angle variable illumination and the angle variable detection; the direction of at least one of the angle variable illumination and the angle variable detection.

15. The method according to claim 1 or 2, characterized in that: in, The digital contrast is selected from the group consisting of: virtual dark field; digital phase gradient contrast; and digital phase contrast.

16. The method according to claim 1 or 2, characterized in that: in, The optical imaging system (100) also includes a correction lens having an optical effect complementary to the optical effect of the test object (150).

17. The method according to claim 1 or 2, characterized in that: in, The at least one gesture comprises a plurality of gestures, Wherein, the plurality of postures define a Z stack and / or an XY stack.

18. A computing unit (115, 501), characterized in that: It is configured as driving the optical imaging system (100) to capture at least two corresponding images (890, 800) of the test object (150) for each of at least one posture of the optical test object (150) relative to the imaging system (100) by at least one of angle-variable illumination and angle-variable detection, For each of the at least one posture: processing the corresponding at least two images respectively to generate a result image with digital contrast (891), and performing a material test on the test object (150) based on the at least one result image (891) generated based on the at least two images (890, 800) of the at least one gesture; wherein performing the material testing includes applying a defect detection algorithm for automatically detecting defects (901-903); wherein, for the detected defects (901-903), the defect detection algorithm determines the corresponding impact of each of the defects (901-903) on the optical effect of the test object (150); and Wherein, the optical test object (150) is at least partially transparent to visible light, infrared light or ultraviolet light.

19. The calculation unit according to claim 18, characterized in that in, The computing unit is configured to perform the method of any one of claims 1 to 17.