Method and device for automatically calculating elementary patterns in a digital image representing physical quantities with a periodic repetition of patterns

A self-adaptive method for calculating elementary patterns in digital images with periodic repetition addresses computational complexity and operator dependency in defect detection and variability characterization, achieving efficient and robust defect detection and variability analysis.

FR3139649B1Active Publication Date: 2024-10-18COMMISSARIAT A LENERGIE ATOMIQUE ET AUX ENERGIES ALTERNATIVES
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
FR2022009178
Authority / Receiving Office
FR · FR
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-09-13
Publication Date
2024-10-18
Estimated Expiration
2042-09-13

AI Technical Summary

Technical Problem

Existing methods for detecting defects and characterizing dimensional variability in digital images with periodic patterns are computationally complex and require prior knowledge of periodic patterns or initialization parameters, making them inefficient and operator-dependent.

Method used

A self-adaptive method for calculating an elementary pattern in a digital image with periodic repetition, involving steps like determining base vectors, projection to an orthonormal frame, and calculating a projected and elementary reference pattern, which can handle noisy images without prior parameter adjustment.

Benefits of technology

The method efficiently detects defects and characterizes dimensional variability in digital images, being robust to noise and variations in image acquisition, without requiring prior knowledge or parameter tuning, and is computationally less expensive.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000018_0000
    Figure 00000018_0000
  • Figure 00000019_0000
    Figure 00000019_0000
  • Figure 00000020_0000
    Figure 00000020_0000
Patent Text Reader

Abstract

Method and apparatus for the automatic calculation of an elementary pattern in a digital image representing physical quantities comprising a periodic repetition of patterns. This method comprises steps implemented by a computing processor, of: obtaining (30) an initial digital image, determining (32) at least two periods of periodic repetition of patterns in the initial digital image, each period being defined by a basis vector having an associated direction and length, the basis vectors forming an initial reference frame, determining (42) a projection matrix enabling the transition from the initial reference frame to an orthonormal reference frame, calculating (44) a projected reference pattern, in the orthonormal reference frame, using the projection matrix to map a plurality of pixels of the initial digital image to a pixel of said projected reference pattern.Calculation (46) of an elementary reference motif, in the initial reference frame, from the reference motif projected in the orthonormal reference frame. Figure for the abbreviation: Figure 2,
Need to check novelty before this filing date? Find Prior Art

Description

Title of the invention: Method and device for automatic calculation of an elementary pattern in a digital image representative of physical quantities comprising a periodic repetition of patterns

[0001] The present invention relates to a method and a device for automatically calculating an elementary pattern in a digital image representative of physical quantities comprising a periodic repetition of patterns.

[0002] The invention lies in the field of processing digital images having a periodic repetition of patterns, and finds applications in the fields of characterization of such images.

[0003] In particular, the invention finds applications in the detection of defects in digital images comprising a periodic repetition of patterns, and in particular in digital images representative of samples of materials, such as for example crystalline materials or composite materials. Such defect detection is for example useful for quality inspection during the manufacture of electronic circuits or other devices comprising materials comprising repetitive patterns.

[0004] The invention also finds applications in any inspection of defects on samples or products comprising repetitive patterns, for example products resulting from screen printing, or obtained by lithography.

[0005] Furthermore, the invention finds an application in the characterization of the dimensional variability of the periodic patterns of a digital image representative of physical quantities comprising a periodic repetition of patterns.

[0006] The analysis of physical properties of materials by processing image data, in particular obtained by microscopy, is a known technical field. The images are for example obtained by high-resolution transmission electron microscopy, fluorescence microscopy, atomic force microscopy, scanning tunneling microscopy or electron tomography for example. The microscopy images obtained are images with atomic resolution, that is to say with a spatial resolution of less than or equal to 2 nanometers, and more specifically less than 1 nanometer. The acquired images can be noisy, which makes it even more difficult to detect possible defects in the structure of a sample of material observed.

[0007] Two families of methods are generally used for the detection of periodic repetition of patterns and the detection of the presence of defects, these families comprising a first family of methods based on the matching of pre-repeated patterns determined (in English, "template matching") and a second family of methods based on decomposition by Fourier transform or by wavelet transform. In general, the known methods are complex from a computational point of view and require prior knowledge, for example knowledge of predetermined periodic patterns for various types of materials or a set of initialization parameters which must be provided by an expert.

[0008] The object of the present invention is to overcome the drawbacks of the state of the art by proposing a method for automatically calculating an elementary pattern in a digital image comprising a periodic repetition of patterns, which is less expensive from a computational and self-adaptive point of view. Applications for the detection of defects and for the characterization of dimensional variability are in particular envisaged.

[0009] To this end, the invention proposes, according to one aspect, a method for automatically calculating an elementary pattern in a digital image representative of physical quantities comprising a periodic repetition of patterns, the digital image being represented by at least one matrix of pixels, each pixel having an intensity value. The method comprises steps implemented by a calculation processor, of:

[0010] -obtaining an initial digital image,

[0011] -determining at least two periods of periodic repetition of patterns in the initial digital image, each period being defined by a base vector having an associated direction and length, said base vectors forming an initial reference frame,

[0012] -determination of a projection matrix making it possible to move from the initial reference frame to an orthonormal reference frame,

[0013] -calculation of a projected reference pattern, in the orthonormal reference frame, by implementing said projection matrix to match a plurality of pixels of the initial digital image and a pixel of said projected reference pattern,

[0014] -calculation of an elementary reference pattern, in the initial reference frame, from the reference pattern projected into the orthonormal reference frame. Advantageously, the proposed method is self-adaptive and makes it possible to calculate an elementary reference pattern from an initial digital image, which may be noisy or have defects. The method is self-adaptive and does not require parameter adjustment by an operator.

[0015] The method for automatically calculating an elementary pattern according to the invention may also have one or more of the characteristics below, taken independently or in any technically conceivable combination.

[0016] Obtaining an initial digital image involves acquiring said image initial digital image by microscopy, said initial digital image being representative of a sample of material.

[0017] The determination of at least two periods of periodic repetition of patterns comprises an autocorrelation calculation of the initial digital image to obtain an autocorrelation field, and a detection of the maxima in said autocorrelation field.

[0018] The calculation of a projected reference pattern comprises, for each pixel of said reference pattern in the orthonormal reference frame, a calculation of an intensity value of said pixel comprising a projection to obtain a plurality of corresponding pixels in the initial digital image, and a calculation of an average value of the intensity values ​​of said corresponding pixels.

[0019] The calculation of an elementary reference pattern in the initial reference frame from the reference pattern projected into the orthonormal reference frame implements an interpolation operator.

[0020] The interpolation operator implements bilinear interpolation.

[0021] The method further comprises steps of calculating a periodized reconstructed digital image, and of detecting defects by estimating a difference between the initial digital image and the periodized reconstructed digital image.

[0022] The calculation of a periodized reconstructed digital image comprises a calculation of said periodized reconstructed digital image using the projection matrix and the intensity values ​​of said elementary reference pattern.

[0023] The method further comprises a step of calculating the dimensional variability of the elementary reference pattern in the initial reference frame.

[0024] The variability calculation comprises, for at least one chosen direction, a calculation of the profile of said elementary reference pattern along said direction.

[0025] According to another aspect, the invention relates to a computer program comprising software instructions which, when executed by a programmable electronic device, implement an automatic elementary pattern calculation method as briefly described above.

[0026] According to another aspect, the invention relates to a device for automatically calculating an elementary pattern in a digital image representative of physical quantities comprising a periodic repetition of patterns, the digital image being represented by at least one matrix of pixels, each pixel having an intensity value.

[0027] The device comprises a calculation processor, configured to implement:

[0028] - a module for obtaining an initial digital image,

[0029] -a module for determining at least two periods of periodic repetition of patterns in the initial digital image, each period being defined by a base vector having an associated direction and length, said base vectors forming a initial reference mark,

[0030] -a module for determining a projection matrix making it possible to move from the initial reference frame to an orthonormal reference frame, and for calculating a projected reference pattern, in the orthonormal reference frame, by implementing said projection matrix to match a plurality of pixels of the initial digital image and a pixel of said projected reference pattern, and

[0031] - a module for calculating an elementary reference pattern, in the initial reference frame, from the reference pattern projected into the orthonormal reference frame.

[0032] The device for automatically calculating an elementary pattern according to the invention may also have one or more of the characteristics below, taken independently or in any technically conceivable combination.

[0033] This device further comprises a module for calculating a periodized reconstructed digital image, and for detecting defects by estimating a difference between the initial digital image and the periodized reconstructed digital image.

[0034] This device further comprises a module for calculating the dimensional variability of the elementary reference pattern in the initial reference frame.

[0035] Other characteristics and advantages of the invention will emerge from the description given below, for information purposes only and in no way limiting, with reference to the appended figures, among which:

[0036] [Fig-1] [Fig.l] is a block diagram of an image inspection system comprising a device for automatically calculating an elementary pattern in a digital image representative of physical quantities comprising a periodic repetition of patterns;

[0037] [Fig.2] [Fig.2] is a block diagram of the main steps of a method for automatically calculating an elementary pattern in a digital image representative of physical quantities comprising a periodic repetition of patterns according to one embodiment;

[0038] [Fig.3] [Fig.3] illustrates an example of an initial digital image comprising an area of ​​defects;

[0039] [Fig.4] [Fig.4] schematically illustrates a first embodiment of a projection for calculating a projected reference pattern;

[0040] [Fig.5] [Fig.5] schematically illustrates a second embodiment of a projection for calculating a projected reference pattern;

[0041] [Fig.6] [Fig.6] illustrates an example of a projected reference pattern and a corresponding elementary reference pattern;

[0042] [Fig.7] [Fig.7] illustrates an example of a periodized reconstructed digital image for the initial digital image of [Fig.3];

[0043] [Fig.8] [Fig.8] illustrates an example of a difference image between the periodized reconstructed image and the initial digital image of [Fig.7];

[0044] [Fig.9] [Fig.9] illustrates an example of application of the method in the case of a forest of nanowires.

[0045] The method and the device for automatic calculation of elementary pattern are more particularly detailed in the application of automatic detection of defects in a digital image will be described below in an application of detection of defects in samples of materials observed by microscopy.

[0046] However, the invention is not limited to the case of images acquired by microscopy, and applies to all digital images comprising periodically repeated patterns.

[0047] Furthermore, the application to the characterization of the dimensional variability of the elementary pattern is also described.

[0048] In particular, the method and device for automatic calculation of elementary pattern in a digital image will be described in the case of two-dimensional digital images, but apply in a similar manner in the N-dimensional case, for example for N=3.

[0049] [Fig.l] schematically illustrates a system 2 for inspecting digital images representative of physical quantities, acquired by an electron microscope 4.

[0050] In one embodiment, the electron microscope 4 is a transmission electron microscope (TEM) that can acquire images of a sample of a physical structure (material or device) being observed. For example, the observed physical structure comprises crystals.

[0051] In one embodiment, the digital images are acquired by the STEM (for “Scanning Transmission Electron Microscope”) EDX (for “Energy Dispersive X-Ray Analysis”) method.

[0052] Each acquired image is represented in the form of a digital image, comprising one or more pixel matrices, each pixel having a spatial position and an associated intensity value.

[0053] In the following, two-dimensional digital images are considered, the intensity values ​​being represented in gray levels, for example between 0 and 255.

[0054] The system 2 comprises a device 6 for automatic calculation of elementary pattern, applied to the automatic detection of defects in an acquired digital image, called initial digital image.

[0055] The device 6 is, in one embodiment, a programmable electronic device, e.g. a computer.

[0056] The device 6 comprises a processor 8 associated with an electronic memory 10. Optionally, the device 6 comprises a human-machine interface 12, comprising in particular a data display screen. In addition, the device 6. The elements 8, 10, 12 of the device 6 are adapted to communicate via a communication bus 14.

[0057] The processor 8 is configured to execute modules 16, 18, 20, 22, 24 stored in the electronic memory 10, to implement the method of automatic detection of defects in a digital image.

[0058] Module 16 is a module for obtaining or receiving an initial digital image, from an image acquired by the microscope 4.

[0059] According to a variant, the obtaining module 16 obtains an initial digital image from an electronic memory, internal or external to the device 6.

[0060] Module 18 is a module for determining at least two periods of periodic repetition of patterns in the initial digital image, each period being defined by a base vector having an associated direction and length. The base vectors form an initial reference frame.

[0061] The module 20 is a projection module, which performs the determination of a projection matrix making it possible to move from the initial reference frame to an orthonormal reference frame, and a calculation of a projected reference pattern, in the orthonormal reference frame, by implementing said projection matrix making it possible to match a plurality of pixels of the initial digital image and a pixel of said projected reference pattern.

[0062] Module 22 is a module for calculating an elementary reference pattern, in the initial reference frame, from the reference pattern projected into the orthonormal reference frame.

[0063] Module 24 is an application module.

[0064] According to one embodiment, the module 24 implements a calculation of a periodized reconstructed digital image from said elementary reference pattern. The periodized reconstructed digital image is a simulated or theoretical image, formed from the reference pattern that has been calculated. The module 24 also implements a detection of defects by difference between the initial digital image and the reconstructed image. The estimated difference makes it possible to detect and locate the defects, i.e. the areas of the initial digital image in which the periodic repetition of the pattern differs from the periodized reconstructed digital image. In addition, the difference also includes the noise present in the initial digital image.

[0065] According to another embodiment, the module 24 implements a calculation of dimensional variability, in particular lateral and / or vertical, of the elementary reference pattern.

[0066] In one embodiment, the modules 16, 18, 20, 22, 24 are each produced in the form of software for automatic calculation of an elementary pattern in a digital image representative of physical quantities comprising a periodic repetition of patterns, and form a computer program.

[0067] In a variant not shown, the modules 16, 18, 20, 22, 24 are each produced in the form of a programmable logic component, such as an FPGA (Field Programmable Gate Array), a GPU (graphics processor) or a GPGPU (General-purpose graphics processing), or in the form of a dedicated integrated circuit, such as an ASIC (Application Specific Integrated Circuit).

[0068] The software is further capable of being recorded, in the form of a computer program comprising software instructions, on a medium, not shown, readable by a computer. The computer-readable medium is, for example, a medium capable of storing the electronic instructions and of being coupled to a bus of a computer system. By way of example, the readable medium is an optical disk, a magneto-optical disk, a ROM memory, a RAM memory, any type of non-volatile memory (for example EPROM, EEPROM, FLASH, NVRAM), a magnetic card or an optical card.

[0069] [Fig.2] is a synopsis of the main steps of the method for automatically calculating an elementary pattern and for automatically detecting defects and / or calculating dimensional variability in a digital image in one embodiment.

[0070] This method is executed by the processor of an electronic computing device such as the device 6 described above.

[0071] The method comprises a step 30 of obtaining an initial digital image, the initial digital image comprising a periodic repetition of patterns, as well as noise and possibly containing defects.

[0072] [Fig. 3] illustrates, by way of example, an initial digital image 60, comprising a repetition of patterns in the form of light spots 62 on a dark background, a repeated pattern being formed by a set 64 framed on the initial digital image 60.

[0073] The initial digital image 60 includes noise, as can be seen in [Fig. 3], as well as a defect area 66, which is in the form of a pattern-free area 64, rectangular in shape, with an area approximately equal to 5% of the total area of ​​the initial digital image 60.

[0074] The digital image 60 illustrated in [Fig.3] was generated by simulation, as a test image.

[0075] Returning to [Fig.2], the method comprises a step 32 of determining at least two periods of periodic repetition of patterns in the initial digital image.

[0076] Step 32 of determining repetition periods comprises sub-steps, respectively a sub-step 34 of calculating autocorrelation of the initial digital image to obtain an autocorrelation field, a sub-step 36 of detecting maxima in the calculated autocorrelation field and a sub-step 38 of determining base vectors, each base vector having a direction and a length, each vector being associated with a period of repetition of the pattern calculated from the calculated maxima.

[0077] The determination of the periods of repetition of patterns is for example carried out using the method described in the article “Extracting periodicity of a regular texture based on autocorrelation functions” by Lin et al, published in Pattern Recognition Letters, vol. 19, May 1997.

[0078] The determination comprises, in one embodiment, the traversal of all the pairs of points returned by autocorrelation (step 34), creation of vectors associated and a corresponding occurrence table. The two vectors presenting the more occurrences are chosen as initial vectors, y and y. • rb All the comments linear combinations of weights -1, 0 or 1 of the initial vectors also allowing the formation of a vector base.

[0079] For example, in one embodiment, two basis vectors are chosen to form an initial reference frame, preferably basis vectors that are respectively the vectors closest to the horizontal direction and the vertical direction in the first quadrant of a spatial frame among the linear combinations of the initial vectors.

[0080] These base vectors are for example noted y^ and have respective coordinates

[0081] In one embodiment, the respective coordinates are expressed by real numbers, with a chosen number of decimal values.

[0082]

[0083]

[0084]

[0085] The method then comprises a projection step 40 to obtain a projected reference pattern. Step 40 includes a sub-step 42 of determining a projection matrix making it possible to move from the initial reference frame formed by the base vectors to an orthonormal reference frame or vice versa. To move from an orthonormal frame to the initial reference frame formed by the basis vectors y$ and we apply a matrix Proj which is written: [Math.l] Project zo

[0086] To move from the initial reference frame formed by the basis vectors y$ and y^ to the orthonormal reference frame, we apply the projection matrix Pro f1:

[0087] [Math.2] , [ HAS -Jo k,

[0088] In addition, in the orthonormal reference frame (projection frame) a vector “modulo” operator is applied, for each of the coordinates, depending on the number mxn of patterns that we seek to represent.

[0089] The vector modulo operator (m,n) is applied in the following manner

[0090] [Math.3] x' = x(nwd)m

[0091] And

[0092] y ' = y ( mod ) n

[0093] For example, in one embodiment, (m,n)=(l,l) when only one pattern is to be represented.

[0094] Of course, other values ​​(m,n) can be chosen.

[0095] In a variant, the modulo operator is applied to only one of the coordinates, which amounts to periodizing along a single direction of periodicity.

[0096] Sub-step 42 of determining a projection matrix is ​​followed by a sub-step 44 of calculating a reference pattern projected into the orthonormal reference frame.

[0097] Two embodiments of the calculation of a projected reference pattern are envisaged, illustrated with reference respectively to Figures 4 and 5.

[0098] These figures schematically represent an initial digital image 70, comprising a repetition of patterns, and a projected reference pattern 72.

[0099] The projected reference pattern 72 is formed on a unitary projection grid 74.

[0100] The initial digital image is represented on a grid 75 corresponding to the associated pixel matrix, each point of the grid having associated coordinates (x,y), which are integer values.

[0101] The projected reference pattern 72 is represented on the unitary projection grid 74. The resolution of the grid 74 is chosen, preferably close to the resolution of the initial image, for example as a function of the dimensions of the base vectors and yj .

[0102] In [Fig.4] is schematically illustrated a first embodiment in which each point with coordinates (x',y') of the unit projection grid 74 is considered. Such a point 76 is illustrated in [Fig.4].

[0103] The coordinates (x', y') are integer values ​​in this example.

[0104] Coordinates of P corresponding points obtained by ap- plication of the projection matrix Proj explained by the formula [MATH 1].

[0105] The points (xk,yk) are obtained by periodic repetition according to the following formula:

[0106] [Math.4] y ) = Proj x (x, yjT + [pxmxgxnx Vj)

[0107] Where )r is the transposition operator, p and q are integer values. The number P of points obtained corresponds to the number of combinations of distinct integer values ​​of p and q, such that the calculated coordinates (xk,yk) remain within the grid 75.

[0108] The arrows shown in the figure illustrate the projection carried out.

[0109] Of course, in the general case the values ​​obtained by applying the projection matrix are real values, so an interpolation operator is applied to obtain the intensity values ​​of the initial digital image, I(xk,yk), corresponding to the P points in the grid 75.

[0110] The intensity value assigned to the coordinate point (x',y') of the projected reference pattern is calculated from these P intensity values, for example by calculating the average of the P intensity values: [YES] [Math.5] » y ) ~ y^

[0112] According to a second embodiment, described with reference to [Fig.5], the projection is carried out from the points of the initial digital image 70 to the points of the unitary projection grid 74.

[0113] Each point (or pixel) 78 with coordinates (x,y) of the grid 75 of the initial digital image is projected into a point with coordinates (x',y') of the unit projection grid 74, by applying the projection matrix Profx described in the equation [MATH 2]:

[0114] [Math.6] (x, yj - Prop x (x yf

[0115] In addition, a vector modulo operator, as explained in formula [MATH 3] is applied, with the values ​​of (m,n) defining the chosen pattern repetition.

[0116] Furthermore, since the values ​​(x',y') are in the general case real values, an operator allowing the conversion from real values ​​to integer values ​​is applied, to obtain coordinates of the unitary projection grid.

[0117] For example, the integer part of each of the coordinates is retained.

[0118] Several pixels 781 to 78P of the grid 75 of the initial digital image are projected onto a point 80 of the unitary projection grid 74.

[0119] Preferably, the intensity value assigned to point 80 is calculated by averaging the intensity values ​​of pixels 781 to 78P.

[0120] Returning to Figure 2, the projection step 40 is followed by a step 46 of calculating an elementary reference pattern in the initial reference frame, formed by the vectors and which will hereinafter be called more simply an elementary pattern.

[0121]

[0122]

[0123]

[0124]

[0125]

[0126]

[0127]

[0128] From the projected reference pattern formed on the unit projection grid, a projection to the initial reference frame is applied, and the corresponding intensity values ​​are calculated by applying an interpolation operator. For example, the interpolation operator is a bilinear operator, known in the field of image processing. The bilinear operator has the advantage of simplicity and computational speed. Alternatively, other known interpolation operators are applicable. An example of a projected reference pattern 82 and a corresponding elementary pattern 84, in the initial reference frame formed by the vectors and is illustrated in [Fig.6]. The elementary pattern 84 is an estimate of the pattern that is periodically repeated in the initial image representing physical quantities. Advantageously, the elementary pattern 84 is representative on average of periodic repetitions in the initial image. The method then comprises a step 48 of using the elementary pattern. According to one embodiment, the use 48 comprises a step 50 of calculating a reconstructed digital image. This reconstructed digital image is a periodized image.

[0129] The dimensions of the reconstructed image are chosen, for example, to be equal to the dimensions of the initial digital image.

[0130] According to a variant, the reconstructed image has chosen dimensions different from the dimensions of the initial digital image.

[0131] In one embodiment, at each pixel with coordinates (x,y) in the grid 75, on which the initial digital image is represented, an intensity value is calculated by implementing the projection to obtain corresponding coordinates (x',y') on the unitary projection grid, then a corresponding intensity value in the elementary pattern calculated during step 46:

[0132] I(x,y)=Interpol(x',y') where Interpol() is the interpolation operator.

[0133] The periodized reconstructed digital image thus obtained is a simulated or theoretical image, which comprises a theoretical regular repetition of the calculated elementary pattern.

[0134] [Fig.7] illustrates the periodized reconstructed digital image 86 obtained for the initial digital image 60.

[0135] The method then comprises a step 52 of detecting defects from the periodized reconstructed digital image.

[0136] In one embodiment, when the periodized reconstructed digital image has the same dimensions (same grid 75) as the initial digital image, during step 52 a difference between intensity values ​​of the initial digital image and of the periodized reconstructed digital image, point by point, is calculated, and forms a difference image.

[0137] The difference image includes the noise present in the initial digital image, as well as structural defects.

[0138] Thus, thanks to the method described, the noise present in the initial digital image is estimated, and a complementary or alternative use consists of denoising the initial digital image by subtracting the estimated noise from this image.

[0139] [Fig.8] illustrates the difference image 88 obtained from the periodized reconstructed digital image 86 and the initial digital image 60.

[0140] For defect detection, for example, a thresholding operator or a filtering operator is applied to distinguish between noise and structural defect.

[0141] Alternatively, it is possible to use more sophisticated operators, by applying machine learning or clustering methods.

[0142] In another embodiment, step 48 of using the calculated elementary pattern implements a calculation of the dimensional variability of the image by implementing a calculation of the dimensional variability of the reference elementary pattern in the initial reference frame.

[0143] In this embodiment, or in addition to the detection of defects, step 48 comprises a calculation of dimensional variability, for example of lateral variability and / or vertical variability of the elementary reference pattern in the initial reference frame.

[0144] Dimensional variability is calculated along any number of spatial directions, one, two or more.

[0145] In a particular embodiment, the dimensional variability is calculated for two directions (or dimensions), respectively lateral and vertical, corresponding to the rows and columns of the elementary reference pattern.

[0146] The calculation of dimensional variability comprises, for at least one chosen direction, a calculation of the profile of said elementary reference pattern according to said direction.

[0147] The profile calculation implements for example a calculation of the average standard deviation of the elementary reference pattern, in the initial reference frame, according to the chosen direction.

[0148] For example, this calculation implements a calculation of the average standard deviation per row and / or per column of said elementary reference pattern, in the initial reference frame.

[0149] Alternatively, for each direction chosen, from the pixels of the elementary reference pattern, in the initial reference frame, an average profile per dimension is calculated.

[0150] For example, the calculation of dimensional variability comprises an extraction of profiles in chosen spatial directions (or dimensions), for example from one edge to the other of the pattern to characterize its variations in size and / or positioning.

[0151] According to another variant, the variability is calculated in a multidirectional manner, for example by calculating an average radius of an elementary pattern of circular shape, by applying an integration over 360°.

[0152] [Fig.9] illustrates the application of the method described above for the detection of defects in an initial digital image of the nanowire forest type, and shows that it is possible to highlight the absence of a nanowire in the structure.

[0153] Image 90A is an initial digital image comprising a forest of nanowires without a structural defect and image 90B is an initial digital image comprising a forest of nanowires, similar to image 90A, but in which a structural defect is present.

[0154] The periodized reconstructed digital images 92A and 92B are almost identical, with point-to-point intensity variations between the two images being less than 1%.

[0155] The respective difference images 94A and 94B are different, the structural defect 96 of the initial digital image 90B being highlighted in the digital image 94B.

[0156] Thus, advantageously, the proposed method makes it possible, in one of its applications, to detect and locate faults.

[0157] Furthermore, advantageously, the proposed method makes it possible to estimate an elementary pattern which is repeated in the initial digital image representative of physical quantities, and a reference pattern projected into an orthonormal reference frame.

[0158] Obtaining such patterns makes it possible to characterize the dimensional variability of the elementary pattern.

[0159] The proposed method was tested for increasing areas of non-pattern repeat defects, and it was found that the method makes it possible to automatically calculate the periodically repeating elementary pattern from an initial digital image comprising up to 35% defects, and to automatically detect the defects present.

[0160] Thus, advantageously, the proposed method is robust and self-adaptive.

[0161] Furthermore, the method is robust to variations in image acquisition conditions (change of gray levels, change of focus), and does not require initialization with parameters adapted in the event of such variations.

[0162] Advantageously, the proposed method makes it possible to automatically detect the directions of the basic vectors representative of the repetition of patterns, and does not require pre-processing for prior alignment of the axes of the patterns with the axes of the initial digital image.

[0163] The method has been described above in its application to detect and calculate a projected reference pattern and an associated elementary pattern, but it applies in an analogous manner to detect a combination of mxn patterns.

Claims

Claims

1. Method for automatically calculating an elementary pattern in a digital image representative of physical quantities comprising a periodic repetition of patterns, the digital image being represented by at least one matrix of pixels, each pixel having an intensity value, the method being characterized in that it comprises steps implemented by a calculation processor, of: - obtaining (30) an initial digital image, - determining (32) at least two periods of periodic repetition of patterns in the initial digital image, each period being defined by a base vector having an associated direction and length, said base vectors forming an initial reference frame, - determining (42) a projection matrix making it possible to move from the initial reference frame to an orthonormal reference frame, - calculating (44) a projected reference pattern, in the orthonormal reference frame,by implementing said projection matrix to match a plurality of pixels of the initial digital image and a pixel of said projected reference pattern, - calculation (46) of an elementary reference pattern, in the initial reference frame, from the reference pattern projected in the orthonormal reference frame.,

2. The method of claim 1, wherein obtaining (30) an initial digital image comprises acquiring said initial digital image by microscopy, said initial digital image being representative of a sample of material.

3. Method according to one of claims 1 or 2, in which the determination (32) of at least two periods of periodic repetition of patterns comprises an autocorrelation calculation (34) of the initial digital image to obtain an autocorrelation field, and a detection of the maxima (36) in said autocorrelation field.

4. A method according to any one of claims 1 to 3, wherein the calculation (44) of a projected reference pattern comprises, for each pixel of said reference pattern in the orthonormal reference frame, a calculation of an intensity value of said pixel comprising a projection to obtain a plurality of corresponding pixels in the initial digital image, and a calculation of an average value of the intensity values ​​of said corresponding pixels.

5. Method according to one of claims 1 to 4, in which the calculation (46) of an elementary reference pattern in the initial reference frame from the reference pattern projected into the orthonormal reference frame implements an interpolation operator.

6. The method of claim 5, wherein said interpolation operator implements bilinear interpolation.

7. Method according to any one of claims 1 to 6, further comprising steps of calculating (50) a periodized reconstructed digital image and detecting (52) defects by estimating a difference between the initial digital image and the periodized reconstructed digital image.

8. The method of claim 7, wherein calculating (50) a periodized reconstructed digital image comprises calculating said periodized reconstructed digital image using the projection matrix and the intensity values ​​of said reference element pattern.

9. Method according to any one of claims 1 to 8, further comprising a step (48) of calculating the dimensional variability of the elementary reference pattern in the initial reference frame.

10. Method according to claim 9, in which the calculation of dimensional variability comprises, for at least one chosen direction, a calculation of the profile of said elementary reference pattern in the initial reference frame along said direction.

11. A computer program comprising software instructions which, when executed by a programmable electronic device, implement an automatic elementary pattern calculation method according to claims 1 to 10.

12. Device for automatic calculation of an elementary pattern in a digital image representative of physical quantities comprising a periodic repetition of patterns, the digital image being represented by at least one matrix of pixels, each pixel having an intensity value, the device being characterized in that it comprises a calculation processor, configured to implement: - a module (16) for obtaining an initial digital image, - a module (18) for determining at least two periods of periodic repetition of patterns in the initial digital image, each period being defined by a base vector having an associated direction and length, said base vectors forming an initial reference frame, - a module (20) for determining a projection matrix making it possible to move from the initial reference frame to an orthonormal reference frame, and for calculating a projected reference pattern, in the orthonormal reference frame, by implementing said projection matrix to match a plurality of pixels of the initial digital image and a pixel of said projected reference pattern, and - a module (22) for calculating an elementary reference pattern, in the initial reference frame, from the reference pattern projected in the orthonormal reference frame.

13. Device according to claim 12, further comprising: - a module (24) for calculating a periodized reconstructed digital image, and for detecting defects by estimating a difference between the initial digital image and the periodized reconstructed digital image.

14. Device according to claim 12, further comprising a module (24) for calculating the dimensional variability of the elementary reference pattern in the initial reference frame.