Object inspection by dynamically selecting the projection angle

By obtaining the projection image based on the numerical three-dimensional model simulation of the item and using the machine learning algorithm to determine the orientation of the item, it solves the problems of repeated trial and error and expensive high-resolution images in the existing technology, achieves fast and accurate item defect detection, and improves efficiency. Efficiency and feasibility of online detection.

CN112567231BActive Publication Date: 2024-09-10UNIVERSITEIT ANTWERPEN +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980041954.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-04-02
Filing Date
2019-07-01
Publication Date
2024-09-10
Estimated Expiration
2039-07-01

AI Technical Summary

Technical Problem

Existing X-ray imaging methods require repeated trial and error to find good viewing angles and high-resolution images of the inspected parts, which are expensive and difficult to achieve near-real-time defect identification and classification in online industrial processes that require high throughput.

Method used

Multiple projection images are obtained through numerical three-dimensional model simulation based on the item, and the relative orientation and rotation angle of the item are determined using limited projection images and machine learning algorithms to quickly obtain the projection image of the item, reducing computational cost and time.

Benefits of technology

It realizes rapid and accurate detection of item defects in industrial inspection, reduces calculation cost and time, and improves the feasibility and availability of online inspection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112567231B_ABST
    Figure CN112567231B_ABST
Patent Text Reader

Abstract

A method, system, use and computer program product for inspecting an object are disclosed. The method (1) comprises: based on a simulation of a numerical three-dimensional model, using a radiation imaging system to acquire (2) a projection image of the object, and obtaining (3) multiple simulated projection images of the object, wherein at least one geometric parameter related to the relative orientation between the simulated object, the simulated radiation source and the simulated detection plane varies over the multiple simulated images. The method comprises determining (4) the relative orientation of the object relative to the imaging system, wherein the determination of the relative orientation comprises comparing the projection image with the multiple simulated images (9). The method comprises: considering the view angle and the relative orientation, determining (5) at least one rotation angle, moving (6) the object and / or the imaging system, and after moving the object, acquiring (7) another projection image of the object, such that the other projection image corresponds to the view angle of the object from the view angle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of radiographic imaging for testing and / or quality assurance of articles, and more particularly to a method and system for non-destructive inspection of articles by projection imaging, such as terahertz imaging or ionizing radiation imaging. Background Art

[0002] As is known in the art, X-ray computed tomography (CT) can be used for non-destructive testing and / or quality control in a wide range of industrial applications. In a typical CT-based quality control workflow known in the art, hundreds to thousands of equiangular X-ray projections of the sample to be inspected are acquired to obtain volumetric information of the object. However, this method may take a long acquisition time, which reduces the usability and feasibility of the method for quality control in online applications (such as for defect inspection or metrology).

[0003] For inspection purposes, it is also known in the art to use simple two-dimensional (2D) radiography. One advantage of 2D X-ray inspection is that it is much faster than tomography, but obviously does not provide the same comprehensive information as a full three-dimensional (3D) reconstruction.

[0004] Hybrid X-ray based inspection methods have been proposed that are faster than 3D reconstruction but more accurate than direct application of 2D X-ray radiography. For example, simulated projection images of a computer aided design (CAD) model of an article can be compared with corresponding projection images acquired from the physical article to detect defects (i.e., deviations from the model), and / or to derive features external to the external and internal shape of the article. It is also known in the art to estimate parameters of a CAD model for such comparison or to determine deviations from a nominal geometry directly from multiple projections.

[0005] WO 2019030449 discloses a method and apparatus for non-destructive inspection of mechanical parts by radiographic imaging. Therein, at least one real image of the part to be inspected is acquired, which may contain indications of potential defects. A 2D-3D reset of the 3D model of the inspected part is performed to estimate its 3D pose during the acquisition of the radiographic image of the real image. The estimated pose is then used to simulate the operating conditions of the actual image to generate a reference image without part defects. An image processing module generates a first feature vector and a second feature vector for each pixel of the real image and the reference image, respectively. By comparing the first feature vector and the second feature vector of each pixel of the real image and the reference image, a defect map of the inspected part can be obtained.

[0006] A disadvantage of this approach is that many real images of the inspected part must be acquired before potential defects can be imaged with good visibility so that comparison of the feature vectors produces a reliable defect map. In an in-line industrial process that requires high throughput, repeated trial and error to find a good viewing angle of the real image of the inspected part (which may be different for each type of defect) can be problematic. Furthermore, if high-resolution radiographic images are used to resolve very fine defects, comparing the feature vectors of each pixel of the real and reference images represents a computationally expensive approach. This may prevent the approach from being implemented in an industrial manufacturing or processing environment where near real-time defect identification or classification is required. Summary of the invention

[0007] An object of embodiments of the present invention is to provide a good and efficient apparatus and method for inspecting objects using projection imaging, such as X-ray imaging, gamma-ray imaging, optical transmission imaging and / or terahertz imaging.

[0008] The device and method according to the embodiments of the present invention achieve the above objectives.

[0009] One advantage of embodiments of the present invention is that good speed and good accuracy can be achieved in inspection of items, such as for off-line, stand-alone in-line, continuous in-line or near-line non-destructive testing, quality control, fault detection and / or other industrial inspection processes.

[0010] One advantage of embodiments of the present invention is that only a limited number of projection images, preferably an optimal number of projection images, are required to obtain sufficient information for accurate inspection of an item. For example, based on prior knowledge of possible areas where defects may occur in an item, such as one or more predetermined regions of interest, one or more specific geometries for image acquisition, such as viewing angles, which are not necessarily limited to a single angle (e.g., a 3D angle), and are not necessarily limited to angular components (e.g., may include a radiation source relative to the object), objects that are well suited for detecting and / or characterizing defects in an item may be determined.

[0011] An advantage of the method according to an embodiment of the invention is that a non-destructive 3D inspection of an object can be achieved using a limited number of projection images, e.g. without the need for tomographic reconstruction of the images. This can be achieved by relying on a 3D model of the object or at least one of its components, e.g. from readily available CAD data, to simulate projection images and to correlate and / or compare the simulated projection images with the acquired projection images. Thus, defects in the object, e.g. misaligned components in an assembly of components of the object, can be assessed in 3D based on the (limited) projection data.

[0012] An advantage of embodiments of the present invention is that projection geometry parameters for acquiring a limited number of projection images can be quickly determined (e.g., in a not excessive amount of time allowing application in a continuous online or near-line process) based on prior knowledge, such as a CAD model defining its nominal geometry and / or other information about the article, its possible defects and / or areas of the article where such defects may occur.

[0013] Restricting at least one iteration of the iterative process to a determined region of interest (ROI) based on the results of the previous iteration is an advantage, which allows easy detection of faults involving missing components. For example, the ROI can be easily defined by projection alone, so that a detailed search for missing components in the image data can be avoided. However, a further step using a detailed model of the item of interest allows the detection of defective parts in the ROI. Therefore, the computational costs can be significantly reduced.

[0014] In a first aspect, the present invention relates to a non-destructive method for inspecting at least one object. The method comprises acquiring projection images of one or more objects using a radiation imaging system. The method comprises obtaining a plurality of simulated projection images of the (or each) object or at least one component thereof based on a simulation of a numerical three-dimensional model of the object or at least one component of the object, wherein a geometric parameter related to the relative orientation between the simulated object, the simulated radiation source and the simulated detection plane varies over the plurality of simulated projection images. The method comprises determining the relative orientation of the (or each) object relative to the radiation imaging system, wherein the determination of the relative orientation comprises comparing the projection image with the plurality of simulated projection images. The method comprises determining at least one rotation angle (e.g., one or more rotation angles, optionally also one or more translation components) taking into account the view angle and the relative orientation. The method comprises moving the object and / or the imaging system (e.g., relative to each other) according to the at least one rotation angle. The method comprises, after the step of moving the object, acquiring another projection image of the object, such that the another projection image corresponds to a view of the object observed from the view angle.

[0015] In a method according to an embodiment of the present invention, the steps of determining the relative orientation, determining at least one rotation angle, moving the object, and acquiring another projection image can be repeated (looped) for one or more additional viewing angles, in which the last acquired other projection image or a combination of previously acquired other projection images is used as the projection angle. In subsequent repeated loops, the steps of determining the relative orientation, determining at least one rotation angle, moving the object, and acquiring another projection image are based on the projection angle.

[0016] In the method according to an embodiment of the present invention, obtaining a plurality of simulated projection images may include obtaining a library of a plurality of simulated projection images, wherein the plurality of simulated projection images are pre-calculated based on the three-dimensional numerical model.

[0017] In the method according to an embodiment of the present invention, obtaining a plurality of simulated projection images may include obtaining the three-dimensional numerical model of the object, and simulating a plurality of objects based on the numerical model of the object for the value of at least one geometric parameter.

[0018] In a method according to an embodiment of the present invention, the step of simulating multiple simulated projection images may include virtually projecting polychromatic rays of ionizing radiation from a source onto a simulated image detector through a numerical model, wherein the geometric parameters and spectral parameters of the radiation imaging system substantially correspond to those of the simulated image detectors used to virtually project the polychromatic rays.

[0019] Methods according to embodiments of the invention may include determining a viewing angle and / or one or more other viewing angles corresponding to or clustered around one or more angles of good visibility of the item.

[0020] In a method according to an embodiment of the present invention, determining a viewing angle and / or one or more other viewing angles may include calculating the one or more viewing angles by optimizing a quality metric in a two-dimensional region of interest in a plurality of simulated projection images over at least one geometric parameter. Alternatively or additionally, the quality metric in the three-dimensional region of interest in the numerical model may be used and reprojected onto a corresponding two-dimensional region in the plurality of simulated projection images over at least one geometric parameter.

[0021] Regions of interest may relate to parts of the item known a priori because of their relevance in the manufacturing process of the item, for example known to be prone to defects, such as welds. Regions of interest may also relate to components from which the item is assembled.

[0022] In a method according to an embodiment of the invention, determining the viewing angle and / or one or more other viewing angles may include applying a machine learning algorithm to a plurality of simulated projection images on at least one geometry to make predictions, as output, relative to one or more viewing angles of the object to be inspected.

[0023] In a method according to an embodiment of the present invention, determining the relative orientation of an object relative to a radiation imaging system may include determining a two-dimensional transformation between a projection image and a simulated projection image selected from a plurality of projection images. The transformation is determined by numerically optimizing an image similarity measure between the projection image and the simulated projection image, wherein one or more parameters of the two-dimensional transformation indicate a translation and / or rotation of the object in the projection image plane. Alternatively, the two-dimensional transformation between the projection image and a simulated projection image selected from a plurality of simulated projection images may be determined by applying the projection image as input to a machine learning algorithm, wherein the machine learning algorithm has been trained to predict the two-dimensional transformation using a plurality of simulated projection images as training data.

[0024] In a method according to an embodiment of the invention, determining the relative orientation of the object may include transforming the projection image by a two-dimensional transformation to obtain a transformed projection image, wherein the object is substantially positioned and oriented as in the selected simulated projection image.

[0025] In a method according to an embodiment of the present invention, determining the relative orientation of an object may include considering one or more parameters of a two-dimensional transformation to determine the position and orientation of the object in three-dimensional space. For methods of predicting a two-dimensional transformation by a machine learning algorithm, the same machine learning algorithm may be configured to also predict the position and orientation of an object in three-dimensional space.

[0026] In a method according to an embodiment of the present invention, an image similarity metric between the transformed projection image and the plurality of simulated projection images may be optimized according to at least one geometric parameter to determine the at least one geometric parameter. Alternatively, the at least one geometric parameter may be determined to present a predicted output of the machine learning algorithm together with the acquired projection image, wherein the machine learning algorithm has been trained to predict the at least one geometric parameter by using the plurality of simulated projection images and the associated geometric parameters as training data.

[0027] In a method according to an embodiment of the present invention, the position and orientation of an object in a three-dimensional space may be determined by considering at least one geometric parameter and one or more parameters of a two-dimensional transformation.

[0028] In the method according to an embodiment of the present invention, determining at least one rotation angle may further include determining at least one translation component.

[0029] In a method according to an embodiment of the invention, moving the object and / or the imaging system, eg relative to each other, may comprise moving the object and / or the imaging system according to at least one rotation angle and at least one translation component.

[0030] In a method according to an embodiment of the present invention, acquiring a projection image of an object may include acquiring a projection image in which a plurality of objects are imaged, and the method further includes separately determining a relative orientation and / or position of each of the plurality of objects.

[0031] In a method according to an embodiment of the invention, further projection images may be acquired for each of the plurality of objects, respectively, after moving the objects and / or the imaging system, respectively, to take into account each determined relative orientation and / or position.

[0032] In the method according to an embodiment of the present invention, at least one geometric parameter related to the relative orientation between the simulated object, the simulated radiation source and the simulated detection plane varies across multiple simulated projection images, and the first geometric parameter corresponds to a rotational degree of freedom and / or a translational degree of freedom for moving (i.e., in the moving step) the object and / or the imaging system.

[0033] In a method according to an embodiment of the invention, the at least one geometrical parameter may include at least a second geometrical parameter corresponding to a rotational degree of freedom and / or a translational degree of freedom of the object relative to the imaging system not controlled by the moving step.

[0034] In the method according to an embodiment of the present invention, at least one geometric parameter may be output. For example, the method may include outputting at least one determined rotation angle or relative orientation and / or translation of the object relative to the radiation imaging system.

[0035] In a method according to an embodiment of the invention, for example, for a selected simulated projection image, at least one quality metric between the transformed projection image and one or more of the plurality of simulated projection images may be output. The outputting step may include defining a region of interest in each corresponding pair of the (selected) simulated and acquired projection images.

[0036] In a method according to an embodiment of the invention, the method may include, as a further step, classifying the inspected items based on a classification data set previously obtained by applying the method according to an embodiment to a plurality of such similar items. For example, the classification step may include performing a linear discriminant analysis on the quality metrics to classify each item. Classification may include the step of classifying the inspected items according to one or more defects present in one or more item components, i.e., classifying defective or missing components.

[0037] In a second aspect, the present invention relates to a system for inspecting an object. The system comprises a radiation imaging system for acquiring a projection image of an object; a simulator or a pre-calculated library for providing a plurality of simulated projection images of the object based on a simulation of a numerical three-dimensional model of the object, wherein at least one geometric parameter related to the relative orientation between the simulated object, the simulated radiation source and the simulated detection plane varies over the plurality of simulated projection images; and a processor for determining the relative orientation (optionally also the relative position) of the object with respect to the radiation imaging system. Determining the relative orientation comprises comparing the projection image with the plurality of simulated projection images. The processor is adapted to determine at least one rotation angle (optionally also one or more translation components) taking into account the view angle and the determined relative orientation (and / or position). The system comprises an actuator controlled by the processor for moving the object and / or the imaging system, for example relative to each other. According to the determined at least one rotation angle (and / or translation component), the object and / or the imaging system are positioned and / or oriented, for example relative to each other, to acquire another projection image of the object, the other projection image corresponding to a view of the object observed from the view angle.

[0038] In a system according to an embodiment of the present invention, the processor may be adapted to repeatedly determine the relative orientation, determine at least one rotation angle, move the object and acquire another projection image for one or more other viewing angles, wherein the last acquired another projection image is used as the projection image on which operations are performed in subsequent repeated cycles.

[0039] In a system according to an embodiment of the invention, the processor may be adapted to determine a two-dimensional transformation between a projection image and a simulated projection image selected from a plurality of simulated projection images, the transformation being determined by numerically optimizing an image similarity measure between the projection images, wherein one or more parameters of the two-dimensional transformation indicate a translation and / or rotation of the object in the plane of the projection image.

[0040] In a system according to an embodiment of the invention, the processor may be adapted to transform the projection image by a two-dimensional transformation to obtain a transformed projection image in which the object is substantially positioned and oriented as in the selected simulated projection image, and to determine the position and orientation of the object in three-dimensional space taking into account one or more parameters of the two-dimensional transformation.

[0041] In a system according to an embodiment of the present invention, the processor can be adapted to optimize an image similarity measure between a transformed projection image and a plurality of simulated projection images based on at least one geometric parameter to determine at least one geometric parameter, and to determine a position and orientation of an object in three-dimensional space taking into account at least one geometric parameter and one or more parameters of the two-dimensional transformation.

[0042] On the other hand, the present invention relates to the use of a method or system according to an embodiment of the present invention for quality control, testing, sorting, selecting, metering and / or arranging each of a plurality of items in a manufacturing or processing environment where a plurality of items are manufactured or manipulated.

[0043] The use of embodiments according to this aspect of the invention can be used to inspect items continuously online, near-line, independently online or offline in an industrial process. For example, continuously online can refer to the direct evaluation of items on an industrial production line (for example, on a conveyor belt or similar mechanism for handling items in flow). Independent online can refer to, for example, testing a sample of items by transferring the sample group of items from a first industrial production line to a second production line to test the items, such as a sampling subgroup with lower throughput suitable for extraction from items on a primary production line. Near-line and offline can refer to extracting samples from a primary production line for testing without processing the extracted samples on an automated production line. The difference between near-line testing and offline testing may lie in whether the samples are tested in the industrial environment of the production line, such as in the same equipment, or in the latter, in dedicated equipment, such as a laboratory.

[0044] In yet another aspect, the present invention relates to a computer program product for implementing a method according to an embodiment of the present invention when operably connected to a radiation imaging system for controlling the acquisition of projection images, and when connected to an actuator for moving an inspected object relative to the imaging system.

[0045] Particular and preferred aspects of the invention are set out in the accompanying independent and dependent claims. Features from the dependent claims may be combined with features of the independent claims as appropriate and with features of other dependent claims and are not limited to features explicitly set out in the claims.

[0046] These and other aspects of the invention will be apparent from and elucidated with reference to the embodiments described hereinafter. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A method according to an embodiment of the present invention is shown.

[0048] Figure 2 A system according to an embodiment of the present invention is shown.

[0049] Figure 3 The system geometry is shown in an example illustrating an embodiment of the present invention.

[0050] Figure 4 A target viewing angle for imaging an article in an example illustrating an embodiment of the present invention is shown.

[0051] Figure 5An extended library containing additional angle parameters around a target viewing angle is shown in an example illustrating an embodiment of the present invention.

[0052] Figure 6 A flow chart of an exemplary method according to an embodiment of the present invention is shown.

[0053] Figure 7 The absolute difference error of the angle estimate of angle δ is shown in an example illustrating an embodiment of the invention, where the orientation and position parameters are randomly sampled and the angle γ is assumed to be known.

[0054] Figure 8 The absolute difference error of the angle estimate of angle φ is shown in an example illustrating an embodiment of the invention, where the orientation and position parameters are randomly sampled and the angle γ is assumed to be known.

[0055] Fig. 9 The absolute difference error of the estimate of the position component x is shown in an example illustrating an embodiment of the invention, where the orientation and position parameters are randomly sampled and the angle γ is assumed to be known.

[0056] Fig.10 The absolute difference error of the position component y estimate is shown in an example illustrating an embodiment of the invention, where the orientation and position parameters are randomly sampled and the angle γ is assumed to be known.

[0057] Fig.11 The absolute difference error of the position component z estimate is shown in an example illustrating an embodiment of the invention, where the orientation and position parameters are randomly sampled and the angle γ is assumed to be known.

[0058] Fig.12 The absolute difference error of the angle estimate of angle γ is shown in an example illustrating an embodiment of the invention, where the orientation and position are randomly sampled.

[0059] Fig.13 The absolute difference error of the angle estimate of angle δ is shown in an example illustrating an embodiment of the present invention, where the orientation and position are randomly sampled.

[0060] Fig.14 The absolute difference error of the angle estimate of the angle φ is shown in an example illustrating an embodiment of the invention, where the orientation and position are randomly sampled.

[0061] Fig.15 The absolute difference error of the estimate of the position component x is shown in an example illustrating an embodiment of the invention, where the orientation and position are randomly sampled.

[0062] Fig.15The absolute difference error of the position component x estimate is shown in an example illustrating an embodiment of the invention, where the orientation and position are randomly sampled.

[0063] Fig.16 The absolute difference error of the position component y estimate is shown in an example illustrating an embodiment of the invention, where the orientation and position are randomly sampled.

[0064] Fig.17 The absolute difference error of the position component z estimate is shown in an example illustrating an embodiment of the invention, where the orientation and position are randomly sampled.

[0065] Fig.18 A graph showing the variation of weighted contrast as a function of projection angle for simulated data, calculated in a ROI containing a component for inspection, is shown in an example relating to an embodiment of the present invention.

[0066] Fig.19 A canonical plot of a linear discriminant analysis performed on a set of 30 samples in an example related to an embodiment of the present invention is shown.

[0067] Fig. 20 The result of the window alignment process in an example related to an embodiment of the present invention is shown.

[0068] The accompanying drawings are schematic and non-limiting. In the accompanying drawings, the size of some elements may be exaggerated and not drawn to scale for illustrative purposes.

[0069] Any reference signs in the claims should not be construed as limiting the scope.

[0070] In different drawings, the same reference numbers refer to the same or similar elements. DETAILED DESCRIPTION

[0071] The present invention will be described with respect to specific embodiments and with reference to certain drawings, but the invention is not limited thereto but only by the claims. The drawings described are only schematic and non-restrictive. In the drawings, for illustrative purposes, the size of some elements may be exaggerated and not drawn to scale. The sizes and relative sizes do not correspond to actual reductions in practicing the invention.

[0072] It should be noted that the term "comprising" used in the claims should not be interpreted as being limited to the means listed thereafter; it does not exclude other elements or steps. It should therefore be understood as specifying the presence of the features, integers, steps or components mentioned, but does not exclude the presence or addition of one or more other features, integers, steps or components or groups thereof. Thus, the scope of the expression "a device comprising means A and B" should not be limited to devices consisting only of components A and B. This means that with respect to the present invention, the only relevant components of the device are A and B.

[0073] Throughout the specification, references to "one embodiment" or "an embodiment" mean that a particular feature, structure, or characteristic described in conjunction with the embodiment is included in at least one embodiment of the present invention. Thus, the phrases "in one embodiment" or "in an embodiment" appearing in various places throughout the specification do not necessarily all refer to the same embodiment, but may. Furthermore, as will be apparent to one of ordinary skill in the art from this disclosure, the particular features, structures, or characteristics may be combined in one or more embodiments in any suitable manner.

[0074] Similarly, it should be understood that in the description of exemplary embodiments of the present invention, various features of the present invention are sometimes combined in a single embodiment, figure, or description thereof to simplify the present disclosure and aid in understanding one or more various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that the claimed invention requires more features than those explicitly recited in each claim. On the contrary, as reflected in the appended claims, inventive aspects lie in less than all the features of a single preceding disclosed embodiment. Therefore, the claims following the specific description are hereby expressly incorporated into the specific description, with each claim independently serving as an independent embodiment of the present invention.

[0075] Furthermore, although some embodiments described herein include some features included in other embodiments but not others, the combination of features of different embodiments is intended to be within the scope of the present invention and form different embodiments, as will be understood by those skilled in the art.

[0076] In the description provided herein, many specific details are set forth. However, it should be understood that embodiments of the present invention can be practiced without these specific details. In other cases, well-known methods, structures, and techniques are not shown in detail to avoid confusing the understanding of this specification.

[0077] In a first aspect, the invention relates to a method of inspecting an article, for example for continuous in-line or off-line inspection of an article in an industrial process. Inspection of articles in an industrial process involves detailed inspection to detect defects, flaws, dimensional changes, discontinuities, inclusions, deformations, etc. The method may be a computer-implemented method.

[0078] The method comprises acquiring a projection image of the article using a radiation imaging system. Radiographic projection for inspection of the article typically uses a radiation under which the inspected article appears translucent, as this allows reliable inspection of the deep interior volume of the inspected article, where surface-sensitive review by radiation, such as camera imaging of the outer boundaries of the article at visible wavelengths, may not be sufficient to provide this detailed information. Radiographic projection using visible light need not be excluded if the inspected article is at least partially translucent to visible light, such as a transparent or translucent article comprising glass, transparent polymers or other opaque materials.

[0079] The method includes obtaining a plurality of simulated projection images of the article based on a simulation of a numerical three-dimensional model of the article, wherein at least one geometric parameter varies on the plurality of simulated projection images. The at least one geometric parameter relates to, for example, a representation of the relative orientation between the simulated article, the simulated radiation source and the simulated detection plane. The numerical three-dimensional model of the article may be a 3D solid model (virtual) representation of the article, such as a solid model in a computer, which may include one or more components assembling the entity. The digital 3D solid model may correspond to a three-dimensional computer-aided design (CAD) model, for example, for designing and / or manufacturing articles. The CAD model is a virtual model representation of an article representation or an assembly of components from which the article is constructed. For example, the CAD model is an assembly model, which includes one or more components of the article as assembly parts and their geometric or mechanical dependencies and constraints. For example, the CAD model may take into account changes in the alignment and / or orientation of multiple components relative to each other. The CAD model may virtually represent the article and its components (if applicable) by a volume mesh, a polygonal mesh with an implicit volume definition, by a set of surfaces or curves representing the boundaries of the article, and constructive solid geometry (CSG modeling). Different representations may be converted into each other. The CAD model of the item may be stored in a number of different available formats, for example, a CAD model in a stereolithography (STL) format. The 3D numerical solid model may further include a statistical shape model describing the shape of the item and / or its components. For example, the CAD model may be a parametric model that parameterizes the item shape boundaries by parametric curves and / or surfaces or by parameterized mesh deformations. In addition, the solid model typically includes material property data associated with the volume of the virtually represented item. The material property data may represent the matter-radiation interaction of the constituent materials of the model, for example, contained in the model as metadata attached to the model or as a separate data structure indexing the modeled item components. For example, in a particularly simple embodiment, the embodiments are not limited thereto, the modeled item may be assumed to have a uniform material composition and a uniform (radio) density, and may be described directly by its boundary coordinates or with parameters that indirectly describe the boundaries (e.g. sphere radius and position). For the CAD model of the item, other data may be associated with the virtual representation, such as expected manufacturing tolerances or statistically estimated manufacturing tolerances for dimensions, angles, etc.

[0080] The method comprises determining a relative orientation, and optionally a relative position, of an article relative to a radiation imaging system, wherein the step of determining the relative orientation comprises comparing the projection image with a plurality of simulated projection images. The method comprises determining at least one rotation angle, and optionally one or more translation components, taking into account the viewing angle and the relative orientation, and optionally, the relative position, and moving the article and / or the imaging system according to the at least one rotation angle. The method comprises, after the step of moving the article, acquiring another projection image of the article, such that the another projection image corresponds to a view of the article from the viewing angle. As discussed in detail below, the method may be iterated over a plurality of desired viewing angles, which may be predetermined, specified by a user, or calculated.

[0081] Thus, a method is disclosed for dynamically acquiring one or more projection images from predetermined viewing angles when the position and / or orientation of an object is a priori unknown, e.g., only known up to a predetermined accuracy and / or only certain parameters of the position and / or orientation are known, while at least one other parameter of the position and / or orientation is unknown or only known up to a predetermined accuracy. For example, (but not limited to), wherein at least one parameter of the position and / or orientation may be randomly distributed. The method allows for dynamic estimation of the orientation and / or position of an unknown object. Such a model-based inspection method, e.g., based on simulated projection images obtained by radiation transfer simulation of a CAD model, a shape model, or other model defining the contour and / or internal (nominal) structure of the object, may advantageously provide fast (e.g., near real-time) projection-based inspection.

[0082] Reference Figure 1 , shows a method 1 for inspecting an object according to an embodiment of the present invention.

[0083] The method includes acquiring a projection image of the object using a radiation imaging system. The radiation imaging system may include an ionizing radiation imaging system or another imaging system using projection imaging, such as terahertz imaging or optical transmission imaging. The radiation imaging system may include: a radiation source for projecting radiation through the object; and an imaging detector for generating a two-dimensional image when the radiation transmitted through the object impinges on the imaging detector. The radiation imaging system may include an actuator for moving the radiation source and the imaging detector, such as rotating the light source and the detector around the object to be imaged. The radiation imaging system may include an actuator for moving the object, such as a rotating stage (such as a turntable), and / or a translation stage.

[0084] The method includes obtaining a plurality of simulated projection images of the object based on a simulation of a numerical three-dimensional model (e.g., a CAD model) of the object. The numerical model may include obtaining a computer-aided design model of the object that specifies the internal structure of the object. The numerical model may include or may be annotated with material property data representing the matter-radiation interaction of the constituent materials of the object, such as for simulation.

[0085] At least one geometric parameter is varied across the plurality of simulated projection images. The at least one geometric parameter relates to the relative orientation between the simulated object, the simulated radiation source, and the simulated detection plane. For example, the at least one geometric parameter may include one, two, or three angles that define the orientation of the object, such as Euler angles. The at least one geometric parameter may include one, two, or three distances that define the position of the object, such as a translation vector in a three-dimensional space.

[0086] Preferably, the at least one geometric parameter comprises at least a rotation angle of the object around an axis oriented parallel to the imaging plane, so that the simulated projection images contain supplementary imaging information of the object which cannot be obtained from any one of the simulated projection images.

[0087] Obtaining 3 a plurality of simulated projection images may include obtaining a library of a plurality of simulated projection images, wherein the plurality of simulated projection images are pre-calculated based on the three-dimensional numerical model.

[0088] Obtaining a plurality of simulated projection images may comprise: obtaining a three-dimensional numerical model of the object; and simulating a plurality of projection images for a plurality of values ​​of at least one geometric parameter based on the numerical model of the object. Thus, the method may comprise pre-calculating the library, or the method may comprise, in the step of comparing the projection image with the plurality of simulated projection images, calculating the simulated projection images for one or more values ​​of the at least one geometric parameter, such as a dynamic simulation. The step of simulating a plurality of simulated projection images may comprise virtually projecting polychromatic rays of ionizing radiation from a radiation source through the numerical model onto a simulated image detector, wherein the radiation imaging system substantially corresponds to the geometrical parameters and spectral parameters used for virtually projecting the polychromatic rays. For example, the simulated geometrical parameters may take into account the detector size and / or the detector element spacing, the source-detector distance, the (at least approximate) source-object distance and / or the radiation spectrum of the radiation imaging system.

[0089] The spectral distribution of the polychromatic radiation can be measured (e.g., based on measurements obtained for a radiation imaging system used to acquire projection images in the method) or estimated by known techniques. The spectral distribution can also be determined continuously online, for example by including parameters of the spectral distribution in an iterative method further described below, and by minimizing the difference between the intensity values ​​of the measured data and the simulated data.

[0090] Likewise, geometric parameters describing the geometry of the radiation imaging system can be constrained by preliminary or intermediate measurements. For example, the geometric parameters can be determined using a 3D model, or in a preliminary calibration step using CAD modem data of calibration phantoms, detectors, phantoms, and light source positions. For example, a hill climbing algorithm can be used to optimize such parameters.

[0091] Therefore, the method may further comprise measuring or estimating the spectral distribution of polychromatic radiation emitted by a radiation source of the radiation imaging system.The method may comprise measuring geometrical parameters of the radiation imaging system used in said simulation.

[0092] The method includes determining 4 a relative orientation of an object with respect to a radiation imaging system.

[0093] Determining the relative orientation (and possibly the relative position) includes comparing the projection image with a plurality of simulated projection images. In determining the relative orientation, a priori information about variations in relative orientation and / or position of items encountered in practice may be taken into account.

[0094] Determining the relative orientation of the object with respect to the radiation imaging system may include determining a two-dimensional transformation between the projection image and a simulated projection image selected from a plurality of simulated projection images. For example, the simulated projection image may be selected based on a first guess (e.g., a default value) or an approximation of at least one geometric parameter. For example, the at least one geometric parameter may include an angle of rotation of the object around an axis parallel to the imaging plane, and it may be assumed that the a priori unknown orientation of the object when imaged is close to a default value of this angle, for example, it may be randomly distributed around a central value of the angle. In addition, the method may include iterative optimization, in which a more accurate estimate of at least one geometric parameter is obtained in a subsequent step, which may be used to repeat the selection step. This process may be repeated for one or more iterations. Alternatively, the selection may be based on an optimization of an image similarity measure between the projection image and the simulated projection image on at least one geometric parameter.

[0095] A two-dimensional transformation between the projection image and the selected simulated projection image may be determined by numerically optimizing an image similarity metric between the projection image and the selected simulated projection image, such as mutual information or another quantitative metric of similarity, wherein one or more parameters of the two-dimensional transformation indicate a translation and / or rotation of an item in the projection image plane. For example, the one or more parameters may include affine transformation parameters, scaling parameters, 2D translation parameters, and / or 2D rotation parameters.

[0096] Determining 4 the relative orientation of the object may also include transforming the projection image by a two-dimensional transformation to obtain a transformed projection image in which the object is substantially positioned and oriented as in the selected simulated projection image.

[0097] Determining 4 the relative orientation of the item may include considering one or more parameters of the two-dimensional transformation to determine the position and orientation of the item in three-dimensional space.

[0098] For example, the position and orientation of the object in 3D may be determined as a point on (or sufficiently close to) a line connecting the source position in 3D and a 3D vector representing the position and orientation of the image of the object on the detector plane. The position along this line may be determined by comparing the image with a plurality of simulated images, for example by advantageously using different scalings of the object for different positions along the line and / or taking into account differences in pixel values. When the method is repeated for a plurality of projection images obtained from a plurality of different viewing geometries (e.g., fields of view), such lines (obtainable for each projection image) may be numerically intersected to determine the position and orientation in 3D (or to improve a previous estimate of the position and orientation in 3D). If the plurality of projection images are acquired at different angles, the number of the plurality of projection images may be in the range of 2 to 20, such as in the range of 2 to 15, such as in the range of 2 to 10, such as in the range of 2 to 8, such as in the range of 2 to 6, such as in the range of 2 to 5, such as 3 or 4. Thus, the number of required image acquisitions may be optimized, for example may be reduced, to obtain good visibility of the object through a small number of projection angles to acquire projection images (e.g., to obtain good image complementarity).

[0099] For example, an image similarity metric, such as a structural similarity index metric, between the transformed projection image and the plurality of simulated projection images may be optimized based on at least one geometric parameter to determine the at least one geometric parameter. The image similarity metric may be pixel-based and evaluated on the padded transformed projection image as a reference, or only partial information of the transformed projection image may be used and then used as a downscaled reference. Other similarity metrics include visual information fidelity, mean square error or (peak) signal-to-noise ratio, iteratively reweighted linear least squares or Student-t statistics.

[0100] The fast matching process between the transformed projection image and the plurality of simulated projection images to determine the at least one geometric parameter may further rely on a feature indexing method, such as one typically used in the field of information retrieval. For example, a scale covariant detector for the region of interest may be implemented based on a Gaussian difference filter, a scale invariant feature transform (SIFT) descriptor, and a fast matcher based on a kd-tree search with a priority queue to establish local correspondences.

[0101] Furthermore, according to a particular embodiment of the invention, the matching process between the transformed projection image and a plurality of simulated projection images to determine the at least one geometric parameter may comprise applying perturbation theory (in Radon projection space) to a simulation of radiometric imaging, for example in a simulator. Based on perturbation theory, in embodiments where it may be assumed that the surface of the article or at least one article component is sufficiently smooth, the variation of the nominal projection values ​​(e.g. calculated by a nonlinear forward model) may be linearized. As a result, the steps of comparing the transformed projection image with a plurality of simulated projection images and selecting a simulated projection image from the plurality of simulated projection images by optimizing a similarity measure may then be performed more efficiently between the acquired projection image and the perturbed linearized simulated projection image.

[0102] Alternatively, according to a specific embodiment of the invention, an iterative, robust matching process between the transformed projection image and a plurality of simulated projection images may be implemented to determine the at least one geometric parameter. The iterative, robust matching process may be used to fine-tune the viewing angle. In a multi-scale variant, the simulated projection images may be pre-calculated and divided into different levels of detail, such that the alignment process via a two-dimensional transformation may be performed in an iterative manner, such as from a coarse-grained alignment to a more precise alignment. The iterative process may be organized in a first phase in which only a relatively small number of projection images are simulated, such as for an initial fast alignment. In a second phase, a three-dimensional region of interest defined in a 3D numerical model or at least in a coordinate space (which may be transformed into the coordinate space of a 3D model by a predetermined transformation, such as in a 3D grid structure or cubic volume defined according to a coordinate frame of a 3D model) may be considered to focus the process on the area of ​​the item where quality control needs to be performed. In a third phase, only one item component to be inspected may be considered. In other words, the iterative process may involve different 3D models or sub-models in different steps, e.g. starting with a coarse model of the item to be inspected, then focusing on specific areas of the item of interest and finally using a detailed model of the item or item component. The region of interest (ROI) may be predetermined, e.g. defined in the 3D model as a 3D region in which the component of interest is to be found and / or an area in which a possible defect can be expected. For example, the ROI may be determined in order to distinguish between defective items and non-defective items. Furthermore, by limiting the step of comparison and / or selection, e.g. in at least one step of the iterative process, but not necessarily to only a part of the iterative process, e.g. it may be possible to apply it to the entire method step of comparing and / or selecting the ROI related to the component to be tested, e.g. only part of the projections may need to be evaluated, which may result in a speed increase.

[0103] The position and orientation of the object in three-dimensional space can be determined by considering the at least one geometric parameter and one or more parameters of the two-dimensional transformation. For example, the at least one geometric parameter may include complementary 3D information about the position and / or orientation of the object that cannot be directly obtained from the 2D transformation. However, when considered together, a complete characterization of the 3D position and orientation of the object can be derived.

[0104] It should also be clear that multiple items can be imaged simultaneously in the projected image, and methods according to embodiments of the present invention can be applied to each of these items to individually determine the relative orientation and / or position of each object. For example, a segmentation algorithm can be applied to the projected image to detect individual items, and each item can be considered individually to derive a complete characterization of the 3D position and orientation of each item. In addition, constraints on the relative position and / or orientation of these items relative to each other can be considered, for example by restricting one or more rotation angles of the items to be the same and / or restricting the relative distance between items to a known distance.

[0105] As already noted above, the transformed simulated images may be iteratively used to refine the selection of a simulated projection image from a plurality of simulated projection images, repeating the steps of selecting a simulated projection image (and at least one geometric parameter associated therewith), determining a 2D transformation and transforming the projection image, for example until convergence is achieved or assumed.

[0106] Furthermore, a library of pre-computed simulated projection images or a near real-time simulation process may be used in a coarse estimation step, e.g. for determining a first angle, and a fine estimation step, e.g. for determining a set of three complementary Euler angles, e.g. for each object.

[0107] The method includes determining 5 at least one rotation angle taking into account the viewing angle and the relative orientation. For example, using the determined relative orientation and / or position of the object relative to the imaging system, a suitable rotation and / or translation of the object and / or the imaging system may be determined, for example using basic linear algebra operations, to achieve a relative position and / or orientation of the object relative to the imaging system (which corresponds to the viewing angle).

[0108] The viewing angle (and / or other viewing angles) may be predetermined, for example defined by a user to indicate the viewing angle at which the item needs to be inspected. However, the method may also include determining 10 the viewing angle and / or one or more other viewing angles corresponding to or clustered around one or more angles of good visibility of the item.

[0109] These viewing angles or view angles may represent orientations of the object where a component is most visible or where a defect is most easily detected. A combination of multiple view angles may also collectively correspond to an optimal (or sufficiently close to optimal) combination for detecting a defect or feature of interest in an item. In addition, multiple items may be imaged simultaneously, for example, as components of a larger object being imaged or by imaging multiple items when simultaneously placed in the field of view of the imaging system. Thus, the multiple view angles may correspond to different view angles or different groups of view angles to detect defects or features of each item separately.

[0110] In other words, based on the characteristics of the item to be verified, multiple optimal viewing orientations can be determined, for example, which can be specified by a user, can be automatically calculated, or a combination of both. For example, the method may include calculating one or more viewing angles on at least one geometric parameter by optimizing the viewpoint entropy, contrast metric or another quality metric in a region of interest (ROI), for example, in which the component to be evaluated or a possible defect is located in the item. The at least one geometric parameter obtained by such optimization can be used in a direct way to calculate the viewing angle. The process can be repeated to obtain multiple local maxima of the quality metric and / or to formulate multiple viewing angles for different regions of interest. Embodiments of the present invention are not limited to this method. For example, deep learning, machine learning or artificial intelligence methods can be applied to determine a set of viewing angles that together allow good characterization of the item and / or defect detection in the item.

[0111] The method comprises moving 6 the object and / or the imaging system according to the at least one rotation angle and, after moving 6 the object, acquiring 7 a further projection image of the object such that the further projection image corresponds to a view of the object from a viewing angle.

[0112] Furthermore, determining 5 the at least one rotation angle may further comprise determining at least one translation step, and moving 6 the object and / or the imaging system may further comprise moving the object and / or the imaging system according to the at least one rotation angle and the at least one translation step. The movement may comprise translation, for example using a turntable supporting the object. The movement may comprise rotating the imaging system around the object by a first angle, for example using a rotating gantry or at a plurality of complementary angles, for example using a manipulator having two or three rotational degrees of freedom.

[0113] In a method according to an embodiment of the invention, determining 4 the relative orientation, determining 5 the at least one rotation angle, moving 6 the object, and acquiring 7 another projection image may be repeated 8 for one or more other viewing angles. The acquired 7 another projection image is then used as a projection image and operated on in a subsequent repeated cycle, for example, to determine the relative orientation and at least one rotation angle.

[0114] Reference Figure 2 In a second aspect, the invention relates to a system 20 for inspecting an object. The system comprises a radiation imaging system 21, for example comprising a radiation source and a radiation imaging detector, such as an ionizing radiation source and an ionizing radiation imaging detector, for acquiring projection images of an object 28. The system comprises a simulator 22 or a pre-calculated library 22 for providing a plurality of projection images of the object based on a simulation of a numerical three-dimensional model of the object, wherein at least one geometric parameter, for example one or more rotation angles related to the relative orientation between the simulated object, the simulated radiation source and the simulated detection plane, varies over the plurality of simulated projection images.

[0115] The system comprises a processor 23, such as a computer, a central processing unit, a field programmable gate array or an application specific integrated circuit. The processor 23 is adapted to determine a relative orientation of the object with respect to the radiation imaging system, wherein determining the relative orientation comprises comparing the projection image with a plurality of simulated projection images.

[0116] The processor 23 may be adapted to determine a two-dimensional transformation between the projected image and a simulated projection image selected from the plurality of simulated projection images, wherein the transformation is determined by numerically optimizing an image similarity measure between the projected image and the simulated projection image, wherein one or more parameters of the two-dimensional transformation indicate a translation and / or rotation of the object in the plane of the projected image.

[0117] The processor may be adapted to transform the projection image by a two-dimensional transformation to obtain a transformed projection image in which the object is substantially positioned and oriented as in the selected simulated projection image. The processor may be adapted to determine the position and orientation of the object in three-dimensional space taking into account one or more parameters of the two-dimensional transformation.

[0118] The processor may be adapted to optimize an image similarity measure between the transformed projection image and the plurality of simulated projection images based on the at least one geometric parameter to determine the at least one geometric parameter, and to determine the position and orientation of the object taking into account the at least one geometric parameter and one or more parameters of the two-dimensional transformation.

[0119] The processor is adapted to determine at least one rotation angle taking into account a viewing angle, such as a predetermined viewing angle, and the determined relative orientation.

[0120] The system comprises an actuator 24 controlled by the processor 23 for moving the object and / or the imaging system according to the determined at least one rotation angle so as to position and / or orient the object and / or the imaging system relative to each other to acquire another projected image of the object corresponding to the view of the object from a viewing angle.

[0121] The processor may be adapted to repeatedly determine the relative orientation, determine the at least one rotation angle, move the object and acquire another projection image for one or more other viewing angles, wherein the last acquired another projection image is used as the projection image on which to operate in the following repeated cycle.

[0122] On the other hand, the present invention relates to the use of a method or system according to an embodiment of the present invention for quality control, testing, sorting, selecting, metering and / or arranging each of a plurality of items in a manufacturing or processing environment where a plurality of items are manufactured or manipulated.

[0123] In another aspect, the invention relates to a computer program product which, when executed on a processor, implements a method according to an embodiment of the invention, for example by interacting with a radiation imaging system and an actuator.

[0124] In view of the description provided above in relation to the method according to embodiments of the invention, further features of the apparatus, use and / or computer program product according to embodiments of the invention or details of the features described above will be clear.

[0125] In the following, examples are given to illustrate various aspects of embodiments of the present invention. These examples are provided to help technicians understand the present invention and simplify the present invention into practice, but should not be interpreted as limiting the present invention to the specific features of the examples presented.

[0126] Without loss of generality, in this example, a typical turntable-based micro-CT (µCT) setup is used. The object is placed on a turntable of the µCT system, between a fixed X-ray source and detector. It will be appreciated by those skilled in the art that this setup can be considered to be substantially equivalent to a system in which the object is positioned at a fixed position, while the position of the X-ray source and / or X-ray detector can be changed, such as rotating around the object. It will also be appreciated that in such an equivalent system, the object can be stationary, only temporarily stationary in that position, or even non-stationary. For example, the object can be moved along a path, such as in a conveyor system, while being imaged from multiple projection angles. The object can remain temporarily stationary while acquiring these different projection views, or can be continuously moved along the path at a known speed, so that different positions of the object can be compensated when analyzing the acquired projection views. It will also be appreciated that embodiments of the present invention are not limited to µCT systems, such as systems used to acquire only a small number of projections, which are typically insufficient to perform tomographic reconstruction. It should be understood that embodiments of the present invention are not limited to the use of ionizing radiation, but may also use other types of projection imaging, such as but not limited to terahertz imaging, gamma ray imaging, optical imaging of transparent or semi-transparent objects, infrared imaging.

[0127] Returning to the μCT system of this example, assume that a world coordinate system S is defined relative to the first radiograph, centered at the center of the rotating stage O. The world coordinate system S is defined by a single basis vector x = (1, 0, 0) oriented in the detector-source direction and basis vectors y and z, such that the basis (x, y, z) forms an orthogonal basis of the coordinate system S. Thus, the basis vectors y and z are oriented parallel to the detector plane. The position and orientation of the sample item are defined by translations tx, ty and tz relative to the origin O of S and rotations about the principal axes δ, γ and φ. Figure 3 The system geometry of this example is shown. The X-ray source 31 is located at the source-item SOD from the center of the platform. The X-ray detector 32 is located at the source-detector SDD from the source 31. When the object 33 is placed on the platform, a priori unknown deviations in the rotation angle may occur, as well as a priori unknown translations with respect to the world coordinate system. In particular, it is assumed that the rotation angle γ of the sample is unknown. For example, in a typical application, the rotation angles γ and δ may be rotations around an axis parallel to the imaging plane, while the rotation angle φ represents a rotation around an axis perpendicular to the imaging plane. Therefore, the angle can be determined directly by optimizing the 2D transformation of the image. In addition, assuming that the object contacts the stable contact surface of the turntable, the deviation of the angle δ may be small and is limited by the natural relaxation of the object position to its stable equilibrium. Therefore, the angle γ of the sample may be the most important parameter to consider, because it may be subject to large changes and represents 3D information, which cannot be directly derived from a single projection image without using information from different perspectives, such as using a simulated view library over a large range of angles γ.

[0128] A set of viewing angles, also called view angles, may be predetermined based on prior knowledge of the CAD model and the material properties of the sample item itself. These view angles represent the orientations of the item at which its components are most visible or its defects are most easily detected. In other words, based on the item characteristics that need to be verified, multiple optimal viewing orientations may be determined, which may be, for example, specified by the user, calculated automatically, or a combination of both. For example, a set of view angles may be calculated based on simulated projections at different angles using a quantitative metric such as viewpoint entropy or some criteria in a region of interest (ROI), such as based on the amount of contrast. View angles, such as Figure 4 As shown, you can choose γ VIS,0 , ..., γ VIS,N The view where the value of this quantitative measure is highest.

[0129] In the image acquisition process according to an embodiment of the present invention, a fast alignment can be performed between the measured data, i.e., the acquired projection image and the simulated image, so as to perform 3D alignment between the numerical model (e.g., CAD model) and the object. A fast projection simulator can be used to project a numerical model, such as a CAD model, to simulate projections for different orientations and translations of the object, for example, the projection can be simulated while rotating and moving the CAD model. By finding the orientation and translation parameters of the simulated projection, which provide the best match with the acquired projection image, 3D alignment can be achieved using only one projection. Such a projection simulator, also called a CAD projector, can be effectively implemented to achieve simulated projections close to or close enough to real time, for example, it can be implemented on a (general purpose) graphics processing unit (GPU). However, when it is not feasible to create a synthetic projection in real time or at least quickly enough, a method of pre-calculating data can be used. In this example, the process is divided into two main parts: the first part describes the data that can be pre-calculated, and the second part starts from an unknown object orientation and describes a method for dynamically acquiring a visible angle by calculating the necessary rotation angle of a rotating stage.

[0130] In the following, it is assumed that the system parameters have been calibrated and the source spectrum has been estimated so that the CAD projector can perform a realistic simulation of the projected image of the CAD model using a polychromatic radiation transfer simulation. An example of a suitable CAD projector and a process for configuring such a CAD projector based on the determined system parameters and spectrum can be found in Marinovszki et al., "An efficient cad projector for x-ray projection based 3D inspection with the ASTRA toolbox", in 8th Conference on Industrial Computed Tomography (2018).

[0131] In the first part of the process mentioned above, a library of simulated projection data can be pre-computed for discrete projection angles and / or translation steps, for example for equidistant angular steps (such as equidistant angular steps of at least angle γ). The projection data in the library are created by simulations that take into account the calibrated system parameters and the estimated spectrum while varying the angle γ (where the object is projected in the middle of the detector). In order to reduce the storage requirements of the library, only the region of interest (ROI) of the simulated projections can be stored and used. For example, the ROI can be defined to be large enough for the alignment algorithm to work properly. The size of the ROI can be calculated based on a quality metric, such as a sufficient change in image properties (such as contrast and / or entropy), or can be determined by a trial and error procedure within the range of discrete angular steps. The library can be expanded near the visible angle to account for approximations introduced by ignoring deviations in φ and δ, such as Figure 5 This extension allows to take into account possible deviations of φ and δ of the object sample at the viewing angle, since the rotation stage cannot compensate for such deviations in this example. However, in a full 3D system where the sample and / or source and detector are controlled by a robot, the best viewing angle can be obtained in 3D.

[0132] In order to manipulate the acquisition system, i.e., the radiation imaging system, to acquire a radiograph at or sufficiently close to the viewing angle, the position and orientation of the object in the platform is estimated. The dynamic angle selection method described below is schematically shown in Figure 6 S0, D0, U0 = (0, 0, 1) and V0 = (0, 1, 0) refer to the initialization values ​​of the source position relative to the coordinate system S, the center point of the detector, and the vector defining the detector plane, respectively. rot = 0 radians is the initial projection angle. The exemplary process includes iterations over N steps, for example for each visual angle, where k represents an iteration counter k = 1 ... N. Entry point 60 represents the entry point of the process for iteration k = 1.

[0133] In each iteration step, 61 projection images are acquired, such as in this example, using a µCT scanning system. In the first iteration, the object is positioned and oriented to an a priori unknown position and orientation. In each iteration, the orientation of the object is manipulated before the next projection image acquisition, so that the object is oriented to be imaged in each direction of the visible angle, respectively.

[0134] After image acquisition, a rigid transformation is determined 62 to estimate the translation and rotation in 2D. To recover the 2D pose of the projected object, a similarity transformation is applied to the measured projection: the transformation is rotated, translated and scaled to align it with the simulated projection for a default position of a numerical model (such as a CAD model). For example, for a first iteration, a default simulated projection is selected that corresponds to a best guess (such as a statistical measure of centrality) of the object orientation. In subsequent iterations, the default simulated projection may correspond to each viewpoint separately. The transformation using mutual information as a quantitative measure of similarity contains information about the translation t y,det and t z,det As well as information about the rotation ρ in the detector plane. For example, the mutual information or a similar metric between the transformed projection image and the simulated projection image can be maximized in an optimization process according to the transformation parameters, which explicitly or implicitly includes the translation t y,det and t z,det and a rotation ρ in the detector plane.

[0135] Then you can perform an orientation angle of 63 , and 3D estimation and translation estimation , and .

[0136] In the first iteration k = 1, the sample items are rotated around the vertical axis is estimated by looking it up in the library based on the Structural Similarity Index metric (SSIM). Thus, a rotation of the sample indexed in the library is found for which the SSIM between the transformed projected image and the library image is maximized.

[0137] For the next iteration, the item samples are rotated It has been updated to γ ​​in the last step of the previous iteration cycle. VIS,k .

[0138] Then, by adding k rot Rotate S0, D0, u0 and v0 to calculate S k , D k ,u k and v k The orientation of the object in the detector plane is given by j k,det = D k + cos(ρ k u k ) + sin(ρ k v k ). The translation in the detector plane is represented by D k,det = D k +tz,det u k + t y,det v k definition.

[0139] For the next iteration k>1, determine the value between S1+λ1(j 1,det -S1),…,S k +λ k (j k,det -S k ) is the intersection point P between the lines int 3D points, that is, connect the 3D source position S for each iteration k and a 3D point j representing the orientation of the object in the detector plane k,det Calculate the intersection of S1,…,S k and j 1,det , …, j k,det The intersection point can be approximated by minimizing the residual error, such as by a least squares fit (eg, compensating for measurement errors).

[0140] The orientation of the object is given by the unit vector j' = P int / llP int ll definition. This vector is obtained by applying the rotation to j':

[0141] ;

[0142] This equation does not depend on γ, since a single vector does not contain complete information about the orientation. Therefore, the values ​​of δ and φ can only be estimated when the rotation of γ is not taken into account. For this reason, when applying the following equation to recover and Before, rotate the vector j' .

[0143] Then calculate O int , that is, connect S1,…,S k and D1,…,D k The intersection points between the lines are similar to those determined above for the connections S1, ..., S k and j1, ..., j k The intersection of the lines of (or its best approximation). Its coordinates are , and The estimated translation of .

[0144] Then, the value can be refined by searching in an extended library near the current value, such as by re-optimizing using a similarity metric (e.g., SSIM). , and Estimates.

[0145] If k < N (see condition 66: k = N), the iteration counter is incremented by 65, k = k + 1, and the system (such as a turntable) rotates about γ k rot = γ VIS,k - rotates by 64, and γ k rot is set to γ VIS,k and the next iteration loop is executed.

[0146] Otherwise (k = N), the process ends 67.

[0147] To check the accuracy of this method, 30 experiments were conducted while randomly selecting radians, radians, and mm. At this time, it is assumed that the γ parameter is known, while the other parameters are estimated. The results are shown in Figures 7 to 11 . In addition, 19 experiments were conducted while randomly selecting radians, radians, and mm. At this time, all parameters are estimated, and the γ parameter is determined by a lookup in the library. The results are shown in Figures 12 to 17 .

[0148] Example

[0149] In this example, within a limited time (such as can be used for in-line inspection processes), a robust and efficient forward projector was used to simulate the projection image of an industrial CAD model (such as a shape model with enhanced radiation characteristics of the materials involved). Using a general-purpose GPU-based processing platform, the projector was implemented in software. The NVIDIA Optix library was used for this exemplary implementation. The advantage of the implementation used is that, using techniques known in the art, robustness to small changes in geometry can be achieved. Considering the X-ray spectrum, the attenuation coefficients of the model component materials, and the effective first-order approximation of the physical model, accurate simulation of X-ray radiography was performed. Polychromatic X-rays were actually projected from the light source, penetrated the CAD model, and struck the virtual detector. After detecting the collision points of the X-ray beam with the triangular mesh, the line length of the ray propagating inside the model can be calculated. To compare the simulated projection image with the acquired projection image, the geometric and spectral parameters of the radiation imaging system (such as the position of the source), the detector, the rotation axis relative to the reference system, the reference system centered on the mass center of the object, and the detector and pixel sizes were determined.

[0150] In order to adequately simulate the behavior of the beam when intersecting with the article sample, the materials of all components were predefined. Spectral estimation was used as described by Marinovszki et al. in "An efficient cadprojector for x-ray projection based 3D inspection with the ASTRA toolbox",in 8th Conference on Industrial Computed Tomography (2018) . This estimation was performed by minimizing the difference between the intensity values ​​of the measured and simulated data. The method has been extended to allow geometric calibration using CAD data of a calibration phantom in terms of the rotation axis, the position and orientation of the detector, phantom and light source. These parameters were optimized using a hill climbing algorithm.

[0151] In order to avoid long execution times in the continuous online alignment process for accurate results, three different libraries are used, all of which provide pre-computed simulated projection images. The first one contains only a simulated image window that will be used for an initial fast alignment during the inspection, the second one contains (only) data in a specific region of interest where quality control is required for a finer detail alignment, and the last one contains only the constituent objects of the inspection, i.e. for the final fine-grained alignment and / or for calculating difference images and / or similarity measures between the acquired radiographs and the simulated radiographs. The ROI can be optimized to best distinguish between defective and non-defective samples.

[0152] During continuous in-line inspection, after the original projection has been aligned to the window, the so-called visible angle is identified, i.e., the projection angle at which the inspected component is most visible. A criterion is used to find the maximum contrast of the component compared to its surrounding background. In order to exclude the possibility of selecting the visible angle when the component is hidden by other components, the method weights the contrast when only this component is projected and the overall contrast of the entire projection. The weighted contrast values ​​for each projection angle can be calculated in advance and stored in a matrix: during the inspection phase, the visible angle is selected as the maximum value corresponding to the projection angle selected in the alignment step. Finally, the peak signal-to-noise ratio and the mean square error are used as metrics to quantify the differences between the images and a discriminant analysis is performed.

[0153] Also discussed above Fig.18A graph showing the variation of weighted contrast in a ROI containing the inspected component as a function of the projection angle used for the simulated data clearly shows the peak when the component is most visible. The method has been validated using online measurement scans of a medical device. For each consecutive online scan, 21 projection angles were acquired. The results of the window alignment process are shown in Fig. 20 , and the inspected components are represented by rectangles. In the top image a cut of the measured projection, i.e. the acquired projection image, is shown, in the center row a simulated projection radiographic window is shown, and in the bottom image a difference image after alignment is shown.

[0154] exist Fig.19 In Figure 2, a typical plot of Linear Discriminant Analysis (LDA) performed on a set of 30 samples is shown, where the samples are classified into non-defective and defective cases using mean squared error (MSE) and signal-to-noise ratio (SNR). LDA shows the performance of the proposed method in separating non-defective samples (labeled as “ok”) from defective samples (p = 0.027).

Claims

1. A non-destructive method for inspecting an article, the method comprising: acquiring a projection image of the object using a radiation imaging system; Based on the simulation of the numerical three-dimensional model of the article or at least one of its components, a plurality of simulated projection images of the article or at least one of its components are obtained, wherein at least one geometric parameter is related to the relative orientation between the simulated article, the simulated radiation source and the simulated detection plane and varies across the plurality of simulated projection images; determining a relative orientation of the object with respect to the radiation imaging system, the determining the relative orientation comprising: comparing the acquired projection image with the plurality of simulated projection images; determining at least one rotation angle taking into account the viewing angle and the relative orientation; moving the object and / or the radiation imaging system according to the at least one rotation angle; After the step of moving the object, another projection image of the object is acquired such that the another projection image corresponds to a view of the object from a viewing angle.

2. The method according to claim 1, wherein: For one or more other viewing angles, repeating the following steps: determining the relative orientation, determining at least one rotation angle, moving the object, and acquiring another projection image; Therein, based on determining the relative orientation of the object with respect to the radiation imaging system being performed in the following loop, another projection acquired last or a combination of other projections acquired so far is used as projection.

3. The method according to claim 1 or claim 2, wherein obtaining the plurality of simulated projection images comprises: A library of the plurality of simulated projection images is obtained, wherein the plurality of simulated projection images are pre-calculated based on a three-dimensional numerical model.

4. The method according to claim 1 or claim 2, wherein: Obtaining the multiple simulated projection images includes: obtaining a three-dimensional numerical model of the object or at least one component thereof, and simulating the multiple projection images for multiple values ​​of the at least one geometric parameter based on the three-dimensional numerical model of the object or at least one component thereof.

5. The method according to claim 4, wherein: The step of simulating the multiple simulated projection images includes: virtually projecting polychromatic rays of ionizing radiation from a radiation source onto a simulated image detector through the numerical model; wherein the radiation imaging system substantially corresponds to geometric parameters and spectral parameters used for virtually projecting the polychromatic rays.

6. The method according to claim 1, further comprising: A viewing angle and / or a plurality of other viewing angles corresponding to or clustered around one or more angles of good visibility of the article are determined.

7. The method according to claim 6, wherein: The step of determining a viewing angle and / or one or more other viewing angles comprises calculating the one or more viewing angles by optimizing a quality metric in a two-dimensional region of interest in the multiple simulated projection images on the at least one geometric parameter, and / or optimizing a quality metric of reprojecting a three-dimensional region of interest in the numerical model onto a corresponding two-dimensional region in the multiple simulated projection images on the at least one geometric parameter.

8. The method according to claim 1, wherein: Determining the relative orientation of the object with respect to the radiation imaging system includes: determining a two-dimensional transformation between the projection image and a simulated projection image selected from the multiple simulated projection images; determining the transformation by numerically optimizing an image similarity measure between the projection image and the simulated projection image, or applying the projection image as input to a machine learning algorithm trained on multiple simulated projection images; wherein one or more parameters of the two-dimensional transformation indicate a translation and / or rotation of the object in the projection image plane.

9. The method according to claim 8, wherein: Determining the relative orientation of the article includes transforming the projection image by the two-dimensional transformation to obtain a transformed projection image in which the article is substantially positioned and oriented as in the selected simulated projection image.

10. The method according to claim 8, wherein: Determining the relative orientation of the item includes determining a position and orientation of the item in three-dimensional space taking into account the one or more parameters of the two-dimensional transformation.

11. The method according to claim 10, wherein: The at least one geometric parameter is determined by optimizing an image similarity measure between the transformed projection image and a plurality of simulated projection images based on the at least one geometric parameter, or wherein the at least one geometric parameter is determined by prediction of the machine learning algorithm when the projection image is presented as input, the machine learning algorithm being trained on the plurality of simulated projection images and associated geometric parameters.

12. The method according to claim 11, wherein: The position and orientation of the object in three-dimensional space is determined by taking into account the one or more geometric parameters and the at least one parameter of the two-dimensional transformation.

13. The method according to claim 1, wherein: Determining the at least one rotation angle further comprises determining at least one translation component, and wherein moving the object and / or the radiation imaging system comprises moving the object and / or the radiation imaging system according to the at least one rotation angle and the at least one translation component.

14. The method according to claim 1, wherein: The at least one geometric parameter is related to the relative orientation between the simulated object, the simulated radiation source and the simulated detection plane, and varies on the multiple simulated projection images and includes at least: a first geometric parameter corresponding to a rotational degree of freedom and / or a translational degree of freedom for moving the object and / or the radiation imaging system.

15. The method of claim 14, wherein the at least one geometric parameter comprises at least: A second geometric parameter corresponds to a rotational degree of freedom and / or a translational degree of freedom of the object relative to the radiation imaging system that is not controlled by the moving step.

16. The method according to claim 1, wherein: The step of comparing the acquired projection image with the multiple simulated projection images includes: repeatedly comparing the acquired projection image with the multiple simulated projection images at multiple scales, wherein at each scale, different subsets of the multiple simulated projection images are associated with different levels of simulated details in the numerical model of the object, at least one subset is associated with the numerical model of the object, and at least one other subset is associated with the numerical model of at least one component of the object.

17. The method of claim 1, further comprising the step of classifying the article or at least one component thereof into a predetermined set of defect categories, wherein: Classification includes: applying at least one image similarity measure between the other projection image and the simulated image, the simulated image corresponding to a view of the other projection image to a classifier, the classifier receiving the image similarity measure between the other projection image and the simulated projection image, the simulated projection image corresponding to a view of the other projection image of a plurality of such items such as training data.

18. A system (20) for inspecting an object, the system comprising: A radiation imaging system (21) for acquiring a projection image of the object; a simulator or pre-calculated library (22) for providing a plurality of simulated projection images of the object or at least one component thereof based on a simulation of a numerical three-dimensional model of the object or at least one component thereof, wherein at least one geometric parameter is related to the relative orientation between the simulated object, the simulated radiation source and the simulated detection plane and varies across the plurality of simulated projection images; A processor (23) for determining a relative orientation of the object relative to the radiation imaging system, wherein determining the relative orientation comprises: comparing the projection image with the plurality of simulated projection images; the processor is further adapted to determine at least one rotation angle taking into account the viewing angle and the determined relative orientation; An actuator (24) controlled by the processor is used to move the object and / or the radiation imaging system according to the determined at least one rotation angle so as to position and / or orient the object and / or the radiation imaging system relative to each other to obtain another projection image of the object, the other projection image corresponding to a view of the object from the viewing angle.

19. The system for inspecting an item according to claim 18, wherein: The processor is adapted to repeatedly determine the relative orientation, determine the at least one rotation angle, move the object, and acquire another projection image for one or more other viewing angles; wherein the last acquired another projection image is used as the projection image on which operation is performed in the following repeated cycle.

20. A system for inspecting an item according to claim 18 or 19, wherein: The processor is suitable for determining a two-dimensional transformation between the projection image and a simulated projection image selected from the multiple simulated projection images, wherein the transformation is determined by numerically optimizing the image similarity between the projection image and the simulated projection image, wherein one or more parameters of the two-dimensional transformation indicate the translation and / or rotation of the above-mentioned object in the projection image plane.

21. The system for inspecting an item according to claim 20, wherein: The processor is suitable for transforming the projection image by the two-dimensional transformation to obtain a transformed projection image, in which the object is basically positioned and oriented as in the selected simulated projection image; and is suitable for determining the position and orientation of the object in three-dimensional space taking into account the one or more parameters of the two-dimensional transformation.

22. The system for inspecting an item according to claim 21, wherein: The processor is adapted to optimize an image similarity measure between the transformed projection image and the plurality of simulated projection images based on the at least one geometric parameter to determine the at least one geometric parameter; and is adapted to determine said position and orientation of said object in three-dimensional space taking into account said at least one geometric parameter and one or more parameters of said two-dimensional transformation.

23. Use of a non-destructive method for inspecting articles or a system for inspecting articles according to any of the preceding claims, in a manufacturing or processing environment for manufacturing or manipulating said plurality of articles, for quality control, testing, sorting, selection, metering and / or arrangement of each article.

24. A computer program product, when executed on a processor, for implementing the non-destructive method for inspecting an article according to any one of claims 1 to 17, wherein the processor interacts with the radiation imaging system for acquiring a projection image of the article and an actuator for moving the article relative to the radiation imaging system.