Three-dimensional inspection method
The method automates the transition from two-dimensional to three-dimensional characterization of metal part indications using electronic circuitry, enhancing detection efficiency and reducing human intervention in non-destructive testing.
Patent Information
- Application Number
- PCT/EP2025/058260
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-29
- Filing Date
- 2025-03-26
- Publication Date
- 2025-10-02
Smart Images

Figure EP2025058260_02102025_PF_FP_ABST
Abstract
Description
[0001] THREE-DIMENSIONAL CONTROL PROCESS
[0002] TECHNICAL FIELD
[0003] The invention relates to the field of non-destructive testing of parts.
[0004] STATE OF PRIOR ART
[0005] In the field of non-destructive testing, particularly of metal parts, it is well known to use computer vision methods and classic image processing methods or those based on statistical learning methods.
[0006] In particular, a method for non-destructive testing of metal parts is known which uses a module for classification and precise localization of indications. It is specified that in this document, by indication, is meant a characteristic of an image which requires a sanction. An indication can be sanctioned as being an anomaly or as being benign. The module is specific to each area of the part which presents distinctive characteristics. This method is particularly suitable for the control of a heterogeneous part. This method uses the training of a neural network using two-dimensional radiographic images allowing the localization of image indications.
[0007] Thus, it is known to automatically recognize indications on a two-dimensional image. However, the transition from the characterization of an indication on a two-dimensional image to the characterization of this same indication in a three-dimensional aeronautical part is traditionally carried out manually by operators expert in X-ray image analysis. Traditionally, this characterization follows a procedure described in a work instruction established for the sanction of the part. Conventionally, multiple images are made for each part. Each image describes the X-ray transmission properties of the part material from a different point of view. In this document, by "view" is meant the point of view of the inspected part from which its radiographic image is acquired.Once all the multi-view images have been acquired, the operators analyze all the images to find all the indications. Then, the operators determine which indications in the images correspond to the projections of the same indication in the part (also called three-dimensional indication). Then, the operator determines the location of the three-dimensional indications in the part and they are also characterized in their most relevant projection.
[0008] This method relies mainly on the expertise and talent of the operators, and is very time-consuming.
[0009] In this context, it is necessary to provide a method for three-dimensional control of a part that allows the automatic characterization of a three-dimensional indication from two-dimensional multi-view images, to help in the reliable and rapid detection of indications in aeronautical parts.
[0010] STATEMENT OF THE INVENTION
[0011] For this purpose, according to a first aspect, a method for three-dimensional control of a part from several radiographic images by an image analysis device comprising electronic circuitry adapted to implement the three-dimensional control method is proposed. The method comprises at least the following steps:
[0012] - (Step 1) Acquiring a plurality of radiographic images of a part by a source-detector system, each image including information on the radiographic transmission properties of the part;
[0013] - (Step 3) Align each image with a view of a digital model of the part;
[0014] - (Step 4) Detect indications on each image and position the detected indications with bounding boxes;
[0015] - (Step 5) Build a model of the multi-view geometry using the alignment of each image to a respective view of the digital model of the part;
[0016] - (Step 6) Consolidate the detected indications with bounding boxes, using the multi-view geometry model by constructing (step 6.1) a set of candidate groups, each group containing projections of a potential three-dimensional indication, and selecting (step 6.2) a candidate group to retain;
[0017] - (Step 7) Locate each three-dimensional indication; - (Step 8) Characterize the dimensions of each indication in a relevant image selected from the set of images from the bounding boxes used to position the detected indications;
[0018] - (Step 9) Use the characterization of each indication for further processing by a third-party device.
[0019] According to a particular arrangement, alignment step 3 comprises estimating (step 3.1) an optimal rigid body transformation of each view of the digital model of the part with respect to the source-detector system to obtain an image of the projection of each view of the digital model.
[0020] According to a particular arrangement, a projection operator is used to carry out step 3.1, the operator is a matrix of the form K ■ [R |t] , with K a matrix described by intrinsic projection parameters, and with R and t respectively the rotation and translation of each view of the digital model.
[0021] According to a particular arrangement, step 3 comprises defining (step 3.2) a similarity metric between the calculated image of each view of the digital model and each acquired image.
[0022] According to a particular arrangement, step 6.1 of constructing a set of candidate groups includes analyzing a location of the indications.
[0023] According to a particular arrangement, step 6.2 of selecting a candidate group comprises selecting the candidate groups containing the projections of the same three-dimensional indication.
[0024] According to a particular arrangement, the localization (step 7) includes determining an average of point clouds per candidate group containing several indications.
[0025] According to a particular arrangement, the characterization step comprises selecting (step 8.1) a relevant image for estimating a length and a width of an indication, the relevant image being selected based on a three-dimensional location of the indication. According to another aspect, an image analysis device is provided which comprises electronic circuitry for implementing a method for three-dimensional inspection of a part from several radiographic images, the method comprising at least the following steps: (Step 1) Acquiring a plurality of radiographic images of a part by a source-detector system, each image comprising information on the radiographic transmission properties of the part;
[0026] - (Step 3) Align each image with a view of a digital model of the part;
[0027] - (Step 4) Detect indications on each image and position the detected indications with bounding boxes;
[0028] - (Step 5) Build a model of the multi-view geometry using the alignment of each image to a respective view of the digital model of the part;
[0029] - (Step 6) Consolidate the detected indications with bounding boxes, using the multi-view geometry model by constructing (step 6.1) a set of candidate groups, each group containing projections of a potential three-dimensional indication, and selecting (step 6.2) a candidate group to retain;
[0030] - (Step 7) Locate each three-dimensional indication;
[0031] - (Step 8) Characterize the dimensions of each indication in a relevant image selected from the set of images from the bounding boxes used to position the detected indications;
[0032] - (Step 9) Use the characterization of each indication for further processing by a third-party device.
[0033] According to another aspect, there is provided a computer program product comprising program code instructions for executing the method according to the invention.
[0034] According to another aspect, there is provided a non-transitory storage medium having stored thereon a computer program comprising program code instructions for executing the method according to the invention, when said instructions are read from said non-transitory storage medium and executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS.
[0035] The above-mentioned features of the invention, as well as others, will appear more clearly on reading the following description of at least one exemplary embodiment, said description being made in relation to the attached drawings, among which:
[0036] [Fig. 1] schematically illustrates the progress of a control process;
[0037] [Fig. 2] schematically illustrates the construction of a multi-view geometry;
[0038] [Fig. 3] schematically illustrates an epipolar constraint for the projection of a point into a three-dimensional part;
[0039] [Fig. 4] schematically illustrates a cutout of a digital model of a part;
[0040] [Fig. 5] illustrates a candidate group of four indications;
[0041] [Fig. 6] illustrates a first phase of creation of candidate groups;
[0042] [Fig. 7] illustrates a second phase of creation of candidate groups;
[0043] [Fig. 8] illustrates the construction of a three-dimensional score;
[0044] [Fig. 9] illustrates the use of a three-dimensional score for a candidate group;
[0045] [Fig. 10] illustrates a proposed solution for a dimensional characterization;
[0046] [Fig. 11] illustrates the application of a Huber regression model to estimate a length;
[0047] [Fig. 12] illustrates the application of a second-degree polynomial regression model for width estimation;
[0048] [Fig. 13] schematically illustrates a computer system suitable for implementing the method.
[0049] DETAILED PRESENTATION OF IMPLEMENTATION METHODS
[0050] Three-dimensional control process.
[0051] With reference to Fig. 1, according to a first aspect, there is provided a method 100 for three-dimensional control of a part from several radiographic images by an image analysis device comprising electronic circuitry 200 adapted to implement the three-dimensional control method 100. The method 100 comprises at least the following steps: - (Step 1) Acquiring a plurality of radiographic images of a part by a source-detector system, each image comprising information on the radiographic transmission properties of the part;
[0052] - (Step 3) Align each image with a view of a digital model of the part;
[0053] - (Step 4) Detect indications on each image and position the detected indications with bounding boxes;
[0054] - (Step 5) Build a model of the multi-view geometry using the alignment of each image to a respective view of the digital model of the part;
[0055] - (Step 6) Consolidate the detected indications with bounding boxes, using the multi-view geometry model by constructing (step 6.1) a set of candidate groups, each group containing projections of a potential three-dimensional indication, and selecting (step 6.2) a candidate group to retain.
[0056] - (Step 7) Locate each three-dimensional indication;
[0057] - (Step 8) Characterize the dimensions of each indication in a relevant image selected from the set of images from the bounding boxes used to position the detected indications;
[0058] - (Step 9) Use the characterization of each indication for further processing by a third-party device.
[0059] Step 1 - Image Acquisition
[0060] As indicated previously, the control method 100 comprises a first step (step 1) consisting of acquiring a plurality of radiographic images of a part by a source-detector system, each image comprising information on the radiographic transmission properties of the part.
[0061] According to one embodiment, the images are acquired using an X-ray radiography method. Thus, according to the example presented here, the X-ray acquisition is carried out in a tomographic cabin. The tomographic cabin consists of an X-ray generator which emits a beam passing through a part to be explored before being analyzed, after attenuation, by an X-ray detection system. An acquired image, or an image obtained after calibration of possible inhomogeneities of the detector and / or extraction of possible background information, is called a projection. It is specified that a calibration can be carried out for a wide variety of phenomena. A set of images of the same view is acquired without moving the part and the images are averaged in order to reduce acquisition noise.
[0062] According to a particular arrangement, several X-ray images are obtained for different views of the part, in order to have an optimized view of the part to be inspected. In other words, several images are taken according to different orientations around the part. The views (i.e. the different orientations) are selected to have an optimized signal-to-noise ratio allowing the detection of indications with the lowest radio contrasts.
[0063] Step 2 - Pretreatments
[0064] According to a particular arrangement, pre-treatments (step 2) can possibly be applied to the images in order to facilitate subsequent analysis:
[0065] -Filtering: use of filters to enhance characteristic patterns in image indications and reduce noise.
[0066] -Masking of a region of interest on each image. According to a particular arrangement, the masking is achieved through automated detection of the air and the collimator,
[0067] - Data normalization: In order to facilitate learning and achieve faster convergence, the data is normalized to have a mean of 0 and a standard deviation of 1.
[0068] Step 3 - Alignment
[0069] As previously indicated, the inspection method then comprises a step 3 consisting of aligning each image, which describes the X-ray transmission properties of the material for a view of the inspected part, with a corresponding view of a digital model of the part. The alignment aims to match each image with the digital model of the part.
[0070] It is specified that by view of the digital model of the part, it is understood a point of view of the digital model of the part, for example, the digital model of the ideal part. For this, according to a particular arrangement, the alignment step 3 comprises estimating (step 3.1) an optimal rigid body transformation of each view of the digital model of the part with respect to the source-detector system to obtain an image by the projection of each view of the digital model. This image is here called the calculated image. This transformation is described by a rotation and a translation in a three-dimensional space.
[0071] In a particularly advantageous manner, a projection operator is used to carry out step 3.1. According to a particular arrangement, the projection operator is a matrix of the form K ■ [R | t], with K a matrix described by intrinsic projection parameters, for example the focal length and the position of the projected source in each image, and with R and t respectively the rotation and the translation of each view of the digital model of the part, therefore its rigid body transformation. The calculated image is then obtained by an algorithm for calculating digital radiographs, for example a “ray tracing” algorithm or the Siddon Jacobs algorithm, from the view of the digital model of the part, the digital model of the part and the projection operator.
[0072] In other words, to estimate the transformation of the view of the digital model of the part, a projection operator is required to project the three-dimensional information of the digital model into a two-dimensional plane of a two-dimensional image. The K matrix can be calibrated upstream by calibration procedures specific to part inspection, or it can be constructed from intrinsic parameters prescribed in a part inspection range.
[0073] In a particularly advantageous manner, alignment step 3 also comprises defining (step 3.2) a similarity metric between the calculated image of each view of the digital model and each image from a view of the inspected part. It is specified that a similarity metric is a value that describes the similarity between two images. This similarity can for example be evaluated from a difference in gray levels, or from the correlation of the two images or from information that one image holds on the other. In other words, in step 3.2, a similarity metric is defined between the projected information of the digital model and the information in the view of the part to be inspected.In a particularly clever way, it is the optimization of this similarity metric with respect to the rotation and translation parameters of the digital model of the part that allows the alignment of a view of the inspected part with a view of the digital model of the part, in other words, the alignment of an acquired image with the digital model of the part.
[0074] According to a particular arrangement, a first realization of the alignment makes use of a similarity measure between a projection of three-dimensional salient points in the two-dimensional plane of the image and estimated corresponding points in the image. In this mode, the three-dimensional salient points are selected beforehand, by view, in the digital model of the part. The projection is done by view from the matrix K and a set of initial parameters for R and t. This initialization can be derived from parameters prescribed by a control range, for example the pose of the part prescribed for the acquisition of the image. The estimation of the corresponding points in the image can be done by a local correlation between an image calculated from a view of the digital model and the corresponding acquired image.The image can be, for example, calculated from the digital model of the part with parameters prescribed by a control range using the projection operator defined for the view of the digital model. The so-called local correlation corresponds to a correlation operator, for example the two-dimensional normalized cross-correlation, between a neighborhood centered around a salient point projected into the calculated image and a prescribed search region around the same point in the acquired image. The estimated correspondence of the salient point in the image corresponds in this case to the position where the local correlation is maximum. Once the salient points have been projected into the calculated image, and the corresponding points have been estimated in the acquired image, the optimization consists of minimizing their distance with respect to the parameters of a rigid body transformation of the three-dimensional positions of the salient points.This can be done, for example, with an implementation of the PnP (Perspective and Point) method.
[0075] Alternatively, it is possible to use a similarity measure between an image calculated from a view of the digital model of the part and the image of the part to be inspected. In this case, the optimization consists of maximizing the similarity between these two projections with respect to the parameters of a rigid body transformation of the digital model of the part. One embodiment of this optimization consists of using the procedure minimizing the residual (difference) between the image calculated, for example by a simulation method, and the acquired image. Another embodiment of this optimization consists of using a similarity measure such as those derived from information theory, for example the realizations of the metrics of mutual information based on entropy. The estimation of the similarity measure can be restricted to a prescribed region of interest. The optimization is done per view from K and a set of initial parameters.In one embodiment, the initial parameters may be derived from the parameters prescribed by the control range, for example the pose of the part prescribed for the acquisition of the view. In another embodiment, the initial parameters may be derived from the result of the first realization of the alignment described in the preceding paragraph.
[0076] Step 4 - Detection of indications
[0077] As previously indicated, the method comprises (step 4) detecting indications on each image and positioning the detected indications with bounding boxes.
[0078] It is specified that by bounding box, we mean a rectangle that encloses the indication. A bounding box is defined by a height, a width and a position.
[0079] According to a particular arrangement, the detection of indications is carried out in two stages: a learning stage 4.1 and a prediction stage 4.2 on a production line. According to an exemplary embodiment, the learning stage 4.1 can be carried out using a neural network. According to this arrangement, to accomplish the detection of two-dimensional indications, a model is learned in a supervised manner. Supervised learning involves a database of images annotated by an operator. Each indication present in an image is labeled as follows:
[0080] - position of the indication with a bounding box;
[0081] - label of the indication;
[0082] - dimensions of the indication (the dimension consists of the width and length of the identified indication, as will be described below; this information will be used in particular in step 7 of dimensional characterization).
[0083] According to a particular provision, it is possible to label all the indications with a single class or with several classes depending on the type of indication present (for example: inclusion, excess thickness, residue, or excess thickness). This way of labeling allows not only the detection of indications and to label them according to predefined classes (for example: inclusions, over thickness, under thickness). It is specified that this database can be made up of images representative of the variability of the production images. Preferably, the number of images with indications to be inserted into the database is sufficient to be able to learn representative characteristics of each indication.
[0084] According to a particular arrangement, a database balancing phase may possibly be carried out. Indeed, it may be more difficult to obtain samples of certain types of indications and / or certain areas to be inspected. A very unbalanced number of samples can be detrimental during statistical learning. To compensate for this imbalance, transformations can be added to the images (for example, rotations, addition of noise or blur, modification of contrast, change of brightness, or cropping). It is also possible to opt for the use of simulated images provided that they are representative of real data. According to another arrangement, it is possible to opt for using loss functions during learning that more strongly penalize errors on minority samples.
[0085] After applying the pre-processing mentioned in the implementation of step 2, the X-ray images are acquired, as well as the annotations made manually by the operators (nature and two-dimensional location of each indication) are given as inputs to the neural network. According to the example presented here, these entire images are 1024x1024 pixels in size. However, other sizes can be used.
[0086] According to a particular arrangement, the neural network used is a convolutional network designed for the classification and localization of patterns of interest on images. According to a particular arrangement, the training of the network is carried out with classical gradient descent algorithms (optimization algorithm that allows to find the minimum of any convex function by progressively converging towards it). The two tasks (classification and two-dimensional localization with bounding boxes) are carried out in parallel by back-propagation of two combined loss functions, where two refers to the two tasks carried out in parallel: classification and two-dimensional localization. This approach is carried out several times, in order to update the weights of the network in an increasingly optimal iterative manner.
[0087] In more detail, the procedure for updating weights (network parameters) through gradient descent algorithms generally follows the following formula: S t+i = 6t ~ aV e £ x,y 9 t )
[0088] Where 0 t represents the network parameters at time t, £(x,y 0) represents the loss function specific to the problem to be solved with x the input data and y the expected output, and a represents a hyper-parameter that controls the speed of convergence.
[0089] For training the classification heads of the network to determine the type of target indication, traditional loss functions such as "focal loss" or cross entropy can be used. For training the two-dimensional localization heads of the network to localize the target object in the image, functions commonly used for regression problems can be employed (e.g., Smooth L1 or Ll).
[0090] Step 4.2 of prediction with the learned neural network is applied to all the parts to be inspected. Consequently, some X-ray transmission radiographic images of the part to be inspected are used as input to the model learned in step 4.1 in order to obtain the prediction results, i.e. the classification and two-dimensional localization (with bounding boxes) of the possible indications present in each image.
[0091] According to a particular arrangement, the output of this network is given for each image of the part individually and there is no joint analysis of the different projections of the same part nor quantification of the position of the detected indications in the part (three-dimensional localization).
[0092] Finally, all the indications found with the model are used as input for the following steps.
[0093] Step 5 - Building a model of the multi-view geometry
[0094] Then, the method comprises a step 5 which consists of constructing a model of the multi-view geometry using the alignment of each image on a respective view of the digital model of the part.
[0095] As shown in Fig. 2, the multi-view geometry of the scanner-part system is constructed, which will subsequently allow the epipolar constraint to be used for multi-view consolidation, which will be described below. This geometry is constructed from the pose of the part, given by a rotation e t a translation t®, which models the view i of the part, estimated by step 3 of image alignment calculated with the acquired images.
[0096] According to the embodiment shown schematically in Fig. 2, the multi-view geometry is constructed such that the coordinate system of the digital model of the ideal part described by the unit vectors î, ], k and the origin cr, is the reference system. The radiographic images corresponding to each view are placed around the part. For this, the orientations of its horizontal and vertical axes, and of the normal vector to the plane which contains them are calculated with respect to the coordinate system of the digital model of the ideal part. The position of the X-ray source (C) per view with respect to the coordinate system of the digital model of the ideal part is also calculated. It is specified that the embodiment shown schematically in Fig. 2 illustrates a three-view geometry.
[0097] Let the intensity at the image position xc IR 2of the image of view i, hereinafter called image i. Since the X-ray detector is of a discrete nature, the x positions of a sensor element (pixel) are defined by the coordinates (x u , x v ) from its center. Let (0 g ]^2 | a p rojec tion of the three-dimensional point XEH 3 on image i: | t®] the projection matrix, a matrix with the projection parameters intrinsic to the CT scanner per view (e.g., constructed with the values prescribed by the control range such as the focal length). The projection of X into image j, i.e., the correspondence of x (l! ' in image j, must lie in a line called the epipolar line : the fundamental matrix from image i to image j. This matrix is calculated from P^ l P^ the projection matrices for the images i, the position of the X-ray source for image i, using for example a formalization known for stereovision.
[0098] Step 6 - Multi-view consolidation
[0099] Step 6 includes the consolidation of the detected indications with bounding boxes, using the multi-view geometry model by constructing (step 6.1) a set of candidate groups, each group containing projections of a potential three-dimensional indication, and selecting (step 6.2) a candidate group to retain. In other words, step 6 consists of the consolidation of the indications detected on each image into groups containing the image indications that correspond to the projection of the same three-dimensional indication in the room.
[0100] According to a particular arrangement, step 6.1 of constructing a set of candidate groups includes analyzing a location of the indications. This arrangement allows each candidate group to contain two-dimensional indications which are potentially the projections of the same three-dimensional indication.
[0101] According to a particular provision, step 6.2 of selecting a candidate group comprises selecting the candidate groups comprising the projections of the same indication.
[0102] Fig. 3 illustrates the problem of correspondence between boxes that encompass image indications that correspond to projections of the same three-dimensional indication in the room.
[0103] As previously indicated, according to a particular arrangement, consolidation step 6 comprises two steps. In a first step 6.1, a set of candidate projection groups is constructed by analyzing the location of the two-dimensional indications. In a second step 6.2, candidate groups containing the projections of the same three-dimensional indication are selected. The selection uses a three-dimensional proximity criterion and the location relative to the digital model of the part of the three-dimensional position estimated by group. We will detail each of these two steps later.
[0104] Step 6.1: Selection of a candidate group:
[0105] The epipolar constraint given by the multi-view geometry and a zoning of the digital model of the ideal part are used to calculate a set of candidate groups of image indications. Indeed, each candidate group contains two-dimensional indications which are potentially the projections of the same three-dimensional indication in the part. The information of the digital model of the ideal part and / or of a division into zones of interest of the digital model of the part (see Fig. 4) is added to the epipolar constraint. It is specified that in Fig. 4, these zones are referenced Z1 to Z7. The candidate groups are obtained from the analysis of the location of the two-dimensional indications in the projections. Fig. 3 illustrates the correspondence of two projections of the same three-dimensional indication 300 in the case where the two-dimensional indication is contained by a bounding box 301.The correspondence is done by matching two-dimensional points of different images, for example the centers 302 of the bounding boxes. For this, the epipolar distance is exploited. The epipolar line 304 of a projection of a bounding box center 305 in image i is plotted in image j using the fundamental matrix given by the multi-view geometry and the distance 303 to this epipolar line 304 for the box centers in image j is calculated. An epipolar confidence score is given to each center in image j. This score is calculated by erfc, the complementary error function:.
[0106] With d the epipolar distance, 3^ an indication detected in the image, p d the average and has d the standard deviation value of a normal distribution of epipolar distances. d is calculated for a point in 3^\ for example the center of its bounding box. p dis different from zero in the case where the matched points are not exactly the projection of the same point in the three-dimensional indication, as illustrated in Figure 5. The standard deviation has d is calibrated to the expected epipolar distance variability. This variability is explained by the expected uncertainty in the results of an alignment chain. In one embodiment, p d and o d are estimated per view from the analysis of variations in the pose of the part (see Section Other Production Methods). 3^ l an indication in image i is matched with 3^\ an indication in image j if p(d\3^; p d , d ) > th d AND if the two image indications are intersected with the projection of the same area in the digital model of the ideal part: with th d = 0.05 the threshold for the distance d to be in the 95% confidence interval,
[0107] Z^ the projection in image i of the k-th zone of the digital model of the part, and the intersection between the indication and the zone Z^ l In one embodiment, is defined as the number of pixels contained by the bounding box of and by the projection into image i of the k-th zone of the digital model of the part.
[0108] Finally, the following equation is used to construct a consolidation matrix between the detected indications for a part: with N the number of views and L the number of indications detected for a part. fi m indicates whether the 1st indication in image i and the mth indication in image j can be matched. Therefore, m allows the estimation of candidate groups.
[0109] It should be noted that the consolidation matrix f| m is not symmetrical: it is possible that In addition, the areas in which the part is cut can be quite large. This implies that the constraints of the equation used to construct a consolidation matrix can be satisfied, but the association is not correct (see example in Fig. 5). For these reasons, a final three-dimensional consolidation step is proposed.
[0110] Once the first candidate groups are obtained, all possible combinations of detection associations are calculated. This is illustrated by Figs. 6 and 7. First, the first candidate groups are obtained according to the method previously presented (Fig. 6). According to the example presented here, it is observable that the consolidation matrix is not symmetrical: detection 1 (column “Id detection”) has been associated with detection 2 (column “Match id”). However, this last detection has been associated with detections 4 and 5.
[0111] As a result, all possible combinations of detection associations are then calculated from these first candidate groups (Fig. 7). With reference to Fig. 7, this allows the following candidate groups to be created:
[0112] {[1,2,4,5], [1,2,4], [1,2,5], [1,4,5], [2,4,5], [1,2], [1,4], [1,5], [2,4], [2,5], [4,5]}. Note that combinations where more than one bounding box from the same image is present are not accepted. For example, detections 2 and 3 cannot be present in the same group, because they are on the same image.
[0113] Step 6.2 of selecting a candidate group:
[0114] In step 6.2 of candidate group selection, the candidate group to be retained (called consolidated group) is selected. For this, a consolidation score r (or "3D Score") is calculated for each of the candidate groups. This score r corresponds to the radius of the smallest sphere containing the closest points between all the straight lines going from the three-dimensional position of the center of the two-dimensional indications in the images to the positions of the corresponding X-ray sources (see Figs. 8 and 9). The average of these points, called X m , gives the estimated 3D position of each candidate group.
[0115] According to the example presented here, consolidation step 6.2 begins with the group(s) that contains the largest number of indications. Thus, in the example of Figs. 6 and 7, there are two groups with four indications: [1,2, 4, 5] and [1,3, 4, 5]. Among these groups, the group with the minimum 3D score is chosen (in the example presented here it is the group [1,3, 4, 5]), then its 3D score is compared with a threshold th r . In one embodiment, the threshold th r is estimated by analyzing the variations in the part's pose (see Section Other Methods of Implementation). If r < th r this group is retained. Otherwise, the group which contains the second largest number of indications is chosen. The same approach comparing r with the th r This is done until a candidate group is found that meets the constraint: r < th r . In the case where no group is retained, the detections may remain without consolidation.
[0116] Step 7 - Locating the three-dimensional indications
[0117] As previously indicated, the method then comprises a step 7 consisting of locating each three-dimensional indication.
[0118] Localization (step 7) involves determining an average of point clouds per candidate group containing several two-dimensional indications, which are projections of the three-dimensional indications.
[0119] The location of the three-dimensional indications corresponds to the X averages m (described in step 6.2) consolidated group point clouds containing multiple two-dimensional indications (see Figs 8 and 9). Step 8 - Characterization of dimensions
[0120] Then, the method comprises (step 8) characterizing the dimensions of each indication in a relevant image selected from the set of images from the bounding boxes used to position the detected two-dimensional indications.
[0121] According to a particular arrangement, the characterization step comprises identifying a relevant image for measuring a length and a width of an indication using the length and the width of the bounding box of this indication.
[0122] Since the same indication may be visible on several images, it is necessary to identify the image from the most relevant view to make this measurement. This image, known as the main image, is identified using the three-dimensional localization described in step 7. Indeed, the image to be used depends on the three-dimensional localization of the indication to be characterized.
[0123] Once the main image is identified, the process moves on to a measurement step (length and width). To do this, the process exploits the strong relationship between the size of the bounding boxes (obtained in step 4) and the measurement of the indications. According to a particular arrangement, a regression model (e.g., linear, polynomial, or Huber model) is used. Indeed, the regression model allows us to describe the relationship between one or more independent variable(s) (e.g., the height or width of the box) and a dependent variable (e.g., the length or width of the indication in mm). According to a particular arrangement, a regression model for each dimension of the indication is used: a first model to estimate the length of the indication and a second model to estimate its width (see Fig. 10).
[0124] According to a particular arrangement, the two models are previously adjusted with annotated indications (length and width) by inspectors and detected by the detection model (see Figs 11 and 12). It should be noted that these data are obtained from step 4.1. Once the regression models are adjusted, they are used in the production line on the detected indications that are in the main image (information obtained thanks to the three-dimensional localization of step 7).
[0125] Step 9 - Use The method then comprises using (step 9) the characterization of each indication for further processing by a third-party device.
[0126] Image analysis device
[0127] According to another aspect, there is provided an image analysis device comprising electronic circuitry (computer system 200) adapted to implement a method 100.
[0128] As shown diagrammatically in Fig. 13, the computer system 200 may comprise, connected by a communication bus 210: a processor 201; a random access memory 202; a read-only memory 203, for example of the ROM (“Read Only Memory” in English) or EEPROM (“Electrically-Erasable Programmable Read Only Memory” in English) type; a storage unit 204, such as a hard disk HDD (“Hard Disk Drive” in English), or a storage media reader, such as an SD (“Secure Digital” in English) card reader; and an input-output interface manager 205.
[0129] The processor 201 is capable of executing instructions loaded into the RAM 202 from the ROM 203, an external memory, a storage medium (such as an SD card), or a communications network. When the computer system 200 is powered on, the processor 201 is capable of reading instructions from the RAM 202 and executing them. These instructions form a computer program enabling the implementation, by the processor 201, of the method 100.
[0130] All or part of the method 100 can thus be implemented in software form by executing a set of instructions by a programmable machine, for example a DSP (Digital Signal Processor) type processor or a microcontroller, or be implemented in hardware form by a machine or a dedicated component, for example an FPGA (Field Programmable Gate Array) or ASIC (Application-Specific Integrated Circuit) component. Generally speaking, the computer system 200 comprises electronic circuitry adapted and configured to implement, in software and / or hardware form, the method in relation to the computer system 200 in question.
[0131] Computer Program Product According to another aspect, there is also provided a computer program product comprising program code instructions for executing the method 100.
[0132] Storage medium
[0133] According to another aspect, there is also provided a non-transitory storage medium on which the computer program comprising program code instructions for executing the method 100 is stored.
Claims
CLAIMS 1. Method (100) for three-dimensional control of a part from several radiographic images by an image analysis device comprising electronic circuitry adapted to implement the three-dimensional control method, the method being characterized in that it comprises at least the following steps: - (Step 1) Acquiring a plurality of radiographic images of a part by a source-detector system, each image including information on the radiographic transmission properties of the part; - (Step 3) Align each image with a view of a digital model of the part; - (Step 4) Detect indications on each image and position the detected indications with bounding boxes; - (Step 5) Build a model of the multi-view geometry using the alignment of each image to a respective view of the digital model of the part; - (Step 6) Consolidate the detected indications with bounding boxes, using the multi-view geometry model by constructing (step 6.1) a set of candidate groups, each group containing projections of a potential three-dimensional indication, and selecting (step 6.2) a candidate group to retain; - (Step 7) Locate each three-dimensional indication; - (Step 8) Characterize the dimensions of each indication in a relevant image selected from the set of images from the bounding boxes used to position the detected indications; - (Step 9) Use the characterization of each indication for further processing by a third-party device.
2. Method (100) according to claim 1 in which the alignment step 3 comprises estimating (step 3.1) an optimal rigid body transformation of each view of the digital model of the part with respect to the source-detector system to obtain an image of the projection of each view of the digital model.
3. Method (100) according to claim 2, in which a projection operator is used to carry out step 3.1, the operator is a matrix of the form K ■ [R 11], with K a matrix described by intrinsic projection parameters, and with R and t respectively the rotation and the translation of each view of the digital model.
4. Method (100) according to one of claims 2 or 3, in which step 3 comprises defining (step 3.2) a similarity metric between the calculated image of each view of the digital model and each acquired image.
5. Method (100) according to any one of claims 1 to 4, in which step 6.1 of constructing a set of candidate groups comprises analyzing a location of the indications.
6. Method (100) according to any one of claims 1 to 5, in which step 6.2 of selecting a candidate group comprises selecting the candidate groups containing the projections of the same three-dimensional indication.
7. Method (100) according to any one of claims 1 to 6 wherein the localization (step 7) comprises determining an average of point clouds per candidate group containing several indications.
8. Method (100) according to any one of the preceding claims, wherein the characterizing step comprises selecting (step 8.1) a relevant image for estimating a length and a width of an indication, the relevant image being selected according to a three-dimensional location of the indication.
9. Image analysis device characterized in that it comprises electronic circuitry (200) for implementing a method (100) for three-dimensional control of a part from several radiographic images, the method comprising at least the following steps: - (Step 1) Acquiring a plurality of radiographic images of a part by a source-detector system, each image including information on the radiographic transmission properties of the part; - (Step 3) Align each image with a view of a digital model of the part; - (Step 4) Detect indications on each image and position the detected indications with bounding boxes; - (Step 5) Build a model of the multi-view geometry using the alignment of each image to a respective view of the digital model of the part; - (Step 6) Consolidate the detected indications with bounding boxes, using the multi-view geometry model by constructing (step 6.1) a set of candidate groups, each group containing projections of a potential three-dimensional indication, and selecting (step 6.2) a candidate group to retain; - (Step 7) Locate each three-dimensional indication; - (Step 8) Characterize the dimensions of each indication in a relevant image selected from the set of images from the bounding boxes used to position the detected indications; - (Step 9) Use the characterization of each indication for further processing by a third-party device.
10. A computer program product comprising program code instructions for executing the method (100) according to any one of claims 1 to 9, when said computer program product is executed by a processor.
11. A non-transitory storage medium on which is stored a computer program comprising program code instructions for executing the method (100) according to any one of claims 1 to 9, when said instructions are read from said non-transitory storage medium and executed by a processor.
Citation Information
Patent Citations
Method, system and computer program for the x-ray inspection of a part
WO2023217929A1