Non-destructive testing of a mechanical part using eddy currents

The automated image processing method for eddy current testing addresses edge effects in mechanical parts, enhancing defect identification and reducing false alarms by classifying edge-affected lines and setting their pixel values to zero, thus improving the efficiency and accuracy of defect detection.

WO2026115230A1PCT designated stage Publication Date: 2026-06-04SAFRAN SA +1

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
SAFRAN SA
Filing Date
2025-11-28
Publication Date
2026-06-04

AI Technical Summary

Technical Problem

Eddy current testing methods do not automatically account for edge effects near the edges of a part, which significantly impair defect identification and can lead to false alarms or missed defects.

Method used

An automated image processing method using an eddy current testing device that detects edge effects by extracting features from the first and last lines of the control image, applies a learned classification model to classify these lines, sets pixel values of edge-affected lines to zero, and identifies indications corresponding to defects.

Benefits of technology

This method allows for automatic, quick, and repeatable identification of non-conforming parts by accounting for edge effects, improving defect detection accuracy and reducing false alarms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FR2025051112_04062026_PF_FP_ABST
    Figure FR2025051112_04062026_PF_FP_ABST
Patent Text Reader

Abstract

The invention relates to a method for non-destructive testing of a mechanical part using eddy currents, the method comprising steps of: - obtaining (E20) a test image of the mechanical part; - detecting (E22) an edge effect in the test image, by extracting features from a predetermined number of first and last lines of the test image and applying a trained classification model, in order to classify the predetermined number of first and last lines of the test image into lines with an edge effect and lines without an edge effect; - resetting (E22) the value of the pixels of the lines classified as lines with an edge effect to zero, in order to form a test image without an edge effect; - determining (E23) indications in the test image without an edge effect, which may indicate a defect in the mechanical part; - detecting (E24) indications corresponding to a defect in the mechanical part from among the determined indications.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] NON-DESTRUCTIVE TESTING OF A MECHANICAL PART BY EDDY CURRENT TESTING

[0002] DESCRIPTION

[0003] TECHNICAL FIELD

[0004] The present invention relates to the non-destructive testing by eddy currents of a mechanical part, in particular an aeronautical part, to detect possible surface defects and / or defects close to the surface of the metal part.

[0005] PREVIOUS STATE OF THE ART

[0006] Eddy current non-destructive testing is a method used to detect surface and near-surface defects in a part made of an electrically conductive material.

[0007] Eddy currents are alternating magnetic fields created when an alternating electric current flows through one or more coils in a probe assembly. When the probe is placed near the part being inspected, the alternating magnetic field induces eddy currents in the part. Discontinuities or variations in the properties of the inspected part alter the flow of these eddy currents and are detected by the probe, enabling the detection of defects such as cracks and corrosion.

[0008] Eddy current testing is based on the physical phenomenon of electromagnetic induction. In an eddy current probe, an alternating current flows through a coil of conductive wire and generates an oscillating magnetic field. If the probe and its magnetic field are placed near a conductive material, such as a metal part, circular flows of electrons called eddy currents begin to move through the metal. These eddy currents flowing through the metal, in turn, generate their own magnetic field, which interacts, through mutual inductance, with the coil and its field.

[0009] Surface or underlying defects in the inspected part interrupt or alter the amplitude and distribution of eddy currents and the resulting magnetic field. The eddy current distribution is also modified by geometric variations or non-homogeneity in the structure of the inspected material. The movement of electrons in the coil is then altered, causing the coil's electrical impedance to change. Eddy current inspection devices record changes in impedance amplitude and phase angle, and the results can be used by a qualified operator to detect defects in the part.

[0010] Eddy current testing of a mechanical part results in a C-scan image showing the part's structure in a planar view. This graphical representation allows for the characterization of the part's material properties or structural defects.

[0011] Interpreting the inspection images is a lengthy process requiring a certified inspector trained in this application. All inspection images of parts inspected by eddy current testing are thus reviewed, increasing the inspection time.

[0012] Therefore, there is a need to develop an automated image processing tool for inspections to efficiently and quickly identify non-conforming parts.

[0013] DESCRIPTION OF THE INVENTION

[0014] The invention aims to solve the problems of the prior art by providing a method for non-destructive testing of a mechanical part using an eddy current testing device, the method comprising the following steps:

[0015] - obtaining, via the eddy current control device, a control image of the mechanical part,

[0016] - detection of edge effects in the control image, by extracting features from a predetermined number of first and last lines of the control image and applying a learned classification model, to classify the predetermined number of first and last lines of the control image into lines with edge effects and lines without edge effects, - setting the pixel values ​​of the lines classified as lines with edge effects to zero, to form a control image without edge effects,

[0017] - Determination of indications in the control image without edge effect, which may indicate a defect in the mechanical part.

[0018] - detection of indications corresponding to a defect in the mechanical part among the determined indications.

[0019] Thanks to the invention, it is possible to process control images automatically, quickly and repeatably to identify non-conforming parts.

[0020] Furthermore, the inventors observed that existing eddy current testing methods do not automatically account for edge effects that occur when testing is performed near the edges of a part. These edge effects significantly impair defect identification. Indeed, an unidentified edge effect can lead to a failure to detect a defect, and a falsely identified edge effect can trigger false alarms in defect detection.

[0021] Thanks to the invention, the edge effects that occur when inspection is carried out near the edges of a part are taken into account. This improves the identification of defects in the inspected parts.

[0022] Based on a preferred characteristic, the features extracted from the predetermined number of first and last lines of the control image are chosen from:

[0023] - the average distance between pixels whose value exceeds a predetermined threshold in each of the predetermined number of first and last lines of the control image,

[0024] - the standard deviation of the distance between pixels whose value exceeds a predetermined threshold in each of the predetermined number of first and last lines of the control image,

[0025] - the percentage of pixels whose value exceeds a predetermined threshold in each of the predetermined number of first and last lines of the control image, and - the maximum distance between pixels whose value exceeds a predetermined threshold in each of the predetermined number of first and last lines of the control image.

[0026] Depending on a preferred characteristic, the classification model is chosen from: a support vector machine, known as SVM, k nearest neighbors, known as k-NN, a neural network or a decision tree.

[0027] According to a preferred characteristic, a group of pixels whose value exceeds a predetermined threshold and which are adjacent either horizontally, vertically, or diagonally to the control image without edge effect is an indication in the control image without edge effect, which may indicate a defect in the mechanical part.

[0028] According to a preferred feature, an indication in the control image without edge effect, which may indicate a defect in the mechanical part, is detected as corresponding to a defect in the mechanical part when the pixels of the pixel group corresponding to the indication are distributed over at least a predetermined number of consecutive and contiguous lines of the control image.

[0029] According to a preferred feature, the non-destructive testing process further includes calibration of the testing device prior to eddy current testing of the mechanical part by the testing device.

[0030] According to a preferred feature, the non-destructive testing process further includes calibration of the testing device after eddy current testing of the mechanical part by the testing device.

[0031] The invention also relates to a non-destructive testing device for a mechanical part, comprising means adapted for:

[0032] - obtain a control image of the mechanical part,

[0033] - detect edge effects in the control image by extracting features from a predetermined number of first and last lines of the control image and applying a learned classification model to classify the predetermined number of first and last lines of the control image into lines with edge effects and lines without edge effects; - set the pixel values ​​of the lines classified as having edge effects to zero, to form a control image without edge effects.

[0034] - to identify indications in the control image without edge effects, which may indicate a defect in the mechanical part,

[0035] - detect indications corresponding to a defect in the mechanical part among the determined indications.

[0036] The device offers advantages similar to those previously presented.

[0037] In a particular embodiment, the steps of the process according to the invention are implemented by computer program instructions.

[0038] Consequently, the invention also relates to a computer program on an information medium, this program being capable of being implemented in a computer, this program comprising instructions adapted to the implementation of the steps of a process as described above.

[0039] BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Other features and advantages will become apparent upon reading the following description of a preferred embodiment given by way of non-limiting example, described with reference to the figures in which:

[0041] Figure 1 illustrates a non-destructive testing device using eddy currents according to one embodiment of the invention.

[0042] Figure 2 illustrates a non-destructive testing method using eddy currents according to one embodiment of the invention.

[0043] Figure 3 illustrates a pre-calibration of the non-destructive testing device, included in the process of Figure 2.

[0044] Figure 4 illustrates a non-destructive testing step of a mechanical part using eddy currents, included in the process of Figure 2.

[0045] Identical, similar, or equivalent parts of the different figures carry the same numerical references to facilitate transitions between figures. The different parts represented in the figures are not necessarily shown on a uniform scale, to improve readability.

[0046] The different possibilities (variants and modes of implementation) should be understood as not being mutually exclusive and can be combined with each other.

[0047] DETAILED DESCRIPTION OF SPECIFIC IMPLEMENTATION METHODS

[0048] According to a preferred embodiment shown in Figure 1, a non-destructive testing device for a mechanical part using eddy currents includes a base 1 for receiving the mechanical part to be tested 2. The mechanical part to be tested is a part made of an electrically conductive material, for example a metallic part.

[0049] For example, mechanical part 2 is an aeronautical part, specifically a turbine disc.

[0050] The mechanical part to be inspected 2 has at least one examination area 20 defined on the surface of the mechanical part 2. The examination area extends over all or part of the surface of the mechanical part.

[0051] The non-destructive testing device also includes an eddy current probe 3 mounted on a probe movement system 4. The movement system 4 is motorized and adapted to move the probe 3 so that it traverses the examination area of ​​the surface of the mechanical part to be inspected 2.

[0052] The non-destructive testing device includes a control module 5 adapted to control the movement system 4 and the operation of the eddy current probe 3. The probe 3 travels across the inspection area while an alternating current flows through it. Induced current lines are generated on the surface of the part being inspected 2. The raw signal analyzed during the eddy current testing corresponds to the probe's impedance. This impedance varies if there is a defect in the part being inspected. The control module 5 receives the data resulting from the inspection of a mechanical part 2. Alternatively, a dedicated data processing module receives the data resulting from the inspection of a mechanical part 2.

[0053] The control module 5 has the general structure of a computer. In particular, it includes a processor 100 executing a computer program implementing the method according to the invention, a memory 101, an input interface 102 and an output interface 103. The control module includes a human-machine interface and can be associated with a display screen.

[0054] These different elements are conventionally connected by a 105 bus.

[0055] Processor 100 executes the processes described below. These processes are carried out in the form of computer program code instructions that are stored in memory 101 before being executed by processor 100.

[0056] The output interface 103 is connected to the eddy current probe 3 and its displacement system 4 in order to transmit to them the operating instructions defined by the processor.

[0057] The input interface 102 is connected to an output of the eddy current probe 3 and is intended to receive the quantities measured by the probe.

[0058] The data resulting from the inspection of a mechanical part consists of amplitude and phase data associated with probe position data. All of this data is represented as an inspection image, or C-scan map, which is stored in memory 101.

[0059] Amplitude values ​​are expressed as a percentage of the control image height. Phase values ​​are expressed in degrees.

[0060] The operation of the non-destructive testing device for a mechanical part using eddy currents is shown in Figure 2, in the form of a process comprising steps E1 to E4 implemented in the control module.

[0061] Step E1 is a pre-calibration of the non-destructive testing device. Step E1 is detailed in Figure 3, in the form of a flowchart with steps E10 to E14. Pre-calibration is a preparation of the non-destructive testing device to ensure that the device is correctly calibrated to detect and measure any defects in the mechanical part being inspected.

[0062] In step E10, a reference part is placed on the base of the non-destructive testing device. The reference part is made of the same material, has the same shape and size as the part to be tested, and contains at least one known artificial defect, or reference defect. In the following, the reference part is considered to have a single defect. The reference defect is, for example, machined by electrical discharge machining (EDM).

[0063] The control module 5 controls the movement system 4 and the operation of the eddy current probe 3 to perform eddy current testing of the reference part. A defined inspection area, including the reference defect of the reference part, is scanned by the probe 3. The data resulting from the inspection of a mechanical part consists of amplitude and phase data associated with the probe's position data. For the reference part, the amplitude and phase data associated with the probe's position data are known a priori, since the reference defect is known.

[0064] The sensitivity of the measurement chain is set to obtain an amplitude on standard fault of 70% of the control image height for a phase of 90°.

[0065] The set of amplitude and phase data associated with the probe position data forms a control image which is stored.

[0066] The next step, Eli, is thresholding the calibration control image formed in the previous step. Thresholding involves comparing the amplitude value of each pixel in the control image with a predefined threshold and forming a binary image in which the value 1 is assigned to pixels whose amplitude is greater than or equal to the threshold, and the value 0 is assigned to the other pixels.

[0067] Thus, for a control image c of dimension N x M, where c(i,j) is the percentage amplitude value of a pixel in row i and column j, the thresholding uses a threshold s, and a binary image c' of dimension TV x M is formed. The amplitude value c(i, j) is compared to the threshold s, and if it is greater than or equal to the threshold s, the binary value c'(i, j) of the pixel in row i and column j of the binary image c' receives the value 1, and otherwise receives the value 0:

[0068] The next step E12 is a processing of the binary image c' to determine regions containing pixels with a value of 1, called regions of interest.

[0069] A region of interest is defined as any group of pixels with a value of 1 and adjacent either horizontally, vertically, or diagonally in the binary image.

[0070] A region of interest in the binary image corresponds to a region of interest in the control image. A region of interest in the control image is defined as any group of pixels with an amplitude value greater than the threshold s, and adjacent either horizontally, vertically, or diagonally in the control image.

[0071] Recall that the calibration control image contains only one known defect to be detected. Therefore, step E12 must result in a single region of interest corresponding to the reference defect. We assume this is the case in the following sections.

[0072] The next step, E13, is an analysis of the region of interest. The region in the calibration control image that corresponds to the region of interest determined in the previous step in the binary image is considered. The maximum amplitude in the considered region and the phase corresponding to the maximum amplitude are determined.

[0073] The next step E14 is a comparison of the result of the previous step with an expected result consisting of the amplitude and phase data associated with the probe position data which are known a priori.

[0074] If the result of the measurements taken is sufficiently close to the expected result, then the pre-calibration of the non-destructive testing device is complete.

[0075] Otherwise, the sensitivity of the measurement chain is adjusted and steps E10 to E14 are repeated. The pre-calibration of the non-destructive testing device is complete when the comparison performed in step E14 indicates that the measurement result is within a predetermined acceptable range relative to the expected result.

[0076] The calibration step El is followed by step E2 in which the part to be checked is processed.

[0077] Step E2 is detailed in Figure 4, in the form of a flowchart comprising steps E20 to E24.

[0078] At step E20, the part to be inspected 2 is placed on the base of the non-destructive testing device.

[0079] The control module 5 controls the movement system 4 and the operation of the eddy current probe 3 to perform the eddy current control of the part to be controlled 2. The given examination area 20 of the part to be controlled is traversed by the probe 3. The data resulting from the control of the part to be controlled are amplitude and phase data associated with position data of the probe.

[0080] The set of amplitude and phase data associated with the probe position data forms a control image which is stored.

[0081] The next step E21 is a thresholding of the control image for the part to be inspected. The thresholding involves comparing the amplitude value of each pixel of the control image with a predefined threshold and forming a binary image in which the value 1 is assigned to pixels whose amplitude is greater than or equal to the threshold and the value 0 is assigned to the other pixels.

[0082] This step uses the same threshold as the Eli step for thresholding the calibration control image.

[0083] Thus, for a control image c of dimension N x M, C(i,j) being the amplitude value in percentage of a pixel of row i and column j, the thresholding uses the threshold s, a binary image C' of dimension TV x M is formed.

[0084] The amplitude value C(i, j) is compared to the threshold s, and if it is greater than or equal to the threshold s, the binary value C'(i, j) of the pixel in row i and column j of the binary image C' receives the value 1, and otherwise receives the value 0 : ) > s

[0085] The result of step E21 is the binary image C' for the part to be checked.

[0086] The next step, E22, is edge effect detection in the binary image formed in the previous step, through feature extraction and application of a learned classification model. It is important to note here that while we are working on the binary image, the edge effect is a phenomenon present in the control image.

[0087] Edge effect in an eddy current inspection image is a phenomenon that occurs when the inspection is performed near the edges of the part being inspected. This can create interference in the inspection image data because the eddy current fields are disturbed near the edges, which can lead to falsely high or falsely low results.

[0088] According to the invention, a predetermined number of lines at the beginning and end of the control image of a specific area are analyzed. For example, only the first two and last two lines of the control image of a specific area are to be analyzed. Indeed, only the beginning and end of the inspection of an area of ​​the part can be affected by this edge effect.

[0089] Lines altered by an edge effect are detected in order to exclude them from further processing.

[0090] To achieve this, an annotated database is used, containing lines labeled "with edge effect" and lines labeled "without edge effect." This database is built from inspection images of mechanical parts, these images having been previously obtained with the inspection device. The annotations on the lines of these inspection images designate, on the one hand, lines with edge effect and, on the other hand, lines without edge effect. The annotations are made by a certified inspector who marks the lines as having an edge effect or not.

[0091] Each control image used to build the annotated database corresponds to a binary image built by thresholding the amplitude values ​​of pixels, as previously explained.

[0092] We are working here with annotated binary lines. Characteristics are extracted from the annotated binary lines of this database, namely, for a given line:

[0093] The average distance between peaks of the given line: peaks of the given line and p t represents the position of each peak. Note that the peaks correspond to pixels with a value of 1.

[0094] The standard deviation of the distance between peaks of the given line:

[0095] <7 = where di represents each individual distance between two consecutive peaks, that is: d = p i+1 — p it and p d represents the average of these distances;

[0096] The percentage of pixels with a value of 1, corresponding to the pixels in the control image whose amplitude is greater than the threshold s, or out-of-criteria pixels: m = -, where H is the number of pixels with a value of 1 and T the total number of pixels in the given line;

[0097] The maximum distance between two peaks:

[0098] Dmax = 0.5 i+1 - p f ) for i = (l, ...,n - 1).

[0099] These characteristics make it possible to identify lines that have edge effects.

[0100] A specific percentage, for example 70%, of the annotated rows in the database is used to train a classification model. The classification model can be based on, for example, a support vector machine (SVM), k-nearest neighbors (k-NN), a neural network, or a decision tree.

[0101] The classification model and hyperparameters used to control its learning process are selected using cross-validation and grid search to optimize the model's performance. Hyperparameters are external parameters defined before the learning process. They influence how the model learns from the data. In the context of a classification model, hyperparameters can include elements such as the learning rate, the number of iterations, the size of the layers in a neural network, or the regularization parameter.

[0102] The learned classification model is then tested on the other annotated rows in the database that were not used to learn the classification model, for example 30% of the annotated rows.

[0103] Thus, edge detection in the control image obtained by eddy currents is performed on the first two and last two lines of the control image. This is achieved by extracting features from the first two and last two lines of the binary image formed in step E21, which corresponds to the control image, and using the learned classification model. The extracted features are those described above: the average distance between peaks in each of the first and last two lines of the binary image, the standard deviation of the distance between peaks in each of these lines, the percentage of out-of-criteria pixels, and the maximum distance between two peaks.

[0104] This allows us to identify the two classes: "lines with edge effect" and "lines without edge effect" in the control image being processed.

[0105] Lines with edge effects are not considered in the following calculations. Therefore, the amplitude values ​​of the pixels of lines detected with edge effects are set to zero.

[0106] The results are a control image and an associated binary image in which edge effects have been removed.

[0107] The next step, E23, is the identification of regions of interest (ROIs) in the binary image. As before, an ROI is defined as any group of pixels with a value of 1 that are adjacent either horizontally, vertically, or diagonally in the binary image. Each ROI constitutes an indication, which is information that may point to a defect in the inspected part. An ROI in the binary image corresponds to an ROI in the inspection image. An ROI in the inspection image is defined as any group of pixels with an amplitude value greater than the threshold s that are adjacent either horizontally, vertically, or diagonally in the inspection image.

[0108] The next step E24 is the classification of the regions of interest identified in the previous step into acceptable indication or unacceptable indication.

[0109] An unacceptable reading indicates a defect in the mechanical part.

[0110] An unacceptable indication corresponds to a region of interest containing pixels of value 1 and adjacent either horizontally, vertically, or diagonally in the binary image, these pixels being distributed over at least a predetermined number, for example three, consecutive and contiguous lines of the binary image.

[0111] Conversely, an acceptable indication does not correspond to a defect.

[0112] An acceptable indication also corresponds to a region of interest containing pixels of value 1 and adjacent either horizontally, vertically, or diagonally in the binary image, but these pixels are not distributed over at least the predetermined number, for example three, consecutive and contiguous lines of the binary image.

[0113] Step E2, the inspection of the mechanical part, is followed by step E3, which is a post-calibration of the inspection device. The purpose of the post-calibration is to verify that the device has remained accurate and reliable throughout the measurements performed.

[0114] Post-calibration is similar to the pre-calibration described earlier. Post-calibration confirms that no malfunction of the device occurred during the mechanical part inspection process that could compromise the validity of the results.

[0115] It is assumed in the following that the post-calibration result indicates that the control device has remained correctly calibrated. Otherwise, the entire process must be restarted from the beginning.

[0116] Step E3 is followed by step E4, which classifies the mechanical part inspected in step E2 based on the inspection result. If the part inspection result shows at least one unacceptable finding, the part is classified as defective. The position and size of each defect identified by the unacceptable finding(s) are determined from the results of the unacceptable finding determination. Data processing also allows for the characterization of each finding by determining its maximum and minimum amplitudes, as well as the phase associated with these amplitudes. The phases of the indication signals are compared to the phase of the reference defect signal measured during the pre-calibration step E1 to determine data on the nature of the finding. Conversely, if the part inspection result shows no unacceptable findings, the part is declared acceptable.

[0117] In all cases, the result is recorded, for example by generating a CSV file which indicates whether the part is sound or defective.

[0118] Thanks to this information, only defective parts will be analyzed later by an operator. Good parts do not require inspection.

Claims

DEMANDS 1. A method for non-destructive testing of a mechanical part by means of an eddy current testing device, the method comprising the steps of: controlling (E20) the eddy current testing device to obtain a control image of the mechanical part, thresholding (E21) the control image to form a binary image, detecting (E22) edge effects in the binary image by extracting features from a predetermined number of first and last lines of the binary image and applying a learned classification model to classify the predetermined number of first and last lines of the binary image into lines with edge effects and lines without edge effects, setting (E22) the pixel values ​​of the lines classified as lines with edge effects to form a binary image without edge effects, and determining (E23) indications in the binary image without edge effects that may indicate a defect in the mechanical part.detection (E24) of indications corresponding to a defect in the mechanical part among the determined indications.

2. A non-destructive testing method according to claim 1, wherein the features extracted from the predetermined number of first and last lines of the binary image are chosen from: the average distance between pixels whose value exceeds a predetermined threshold in each of the predetermined number of first and last lines of the binary image, the standard deviation of the distance between pixels whose value exceeds a predetermined threshold in each of the predetermined number of first and last lines of the binary image, the percentage of pixels whose value exceeds a predetermined threshold in each of the predetermined number of first and last lines of the binary image, and the maximum distance between pixels whose value exceeds a predetermined threshold in each of the predetermined number of first and last lines of the binary image.

3. Non-destructive testing method according to claim 1 or 2, wherein the classification model is chosen from: a support vector machine, known as SVM, k nearest neighbors, known as k-NN, a neural network or a decision tree.

4. Non-destructive testing method according to any one of claims 1 to 3, wherein a group of pixels whose value exceeds a predetermined threshold and which are adjacent either horizontally, vertically, or diagonally to the edge-free binary image is an indication in the edge-free binary image, which may indicate a defect in the mechanical part.

5. Non-destructive testing method according to claim 4, wherein an indication in the binary image without edge effect, which may indicate a defect in the mechanical part, is detected as corresponding to a defect in the mechanical part when the pixels of the pixel group corresponding to the indication are distributed over at least a predetermined number of consecutive and contiguous lines of the binary image.

6. Non-destructive testing method according to any one of claims 1 to 5, further comprising calibration (El) of the testing device prior to eddy current testing of the mechanical part by the testing device.

7. Non-destructive testing method according to claim 6, further comprising a calibration (E3) of the testing device after eddy current testing of the mechanical part by the testing device.

8. Non-destructive testing device for a mechanical part comprising means adapted for: obtaining a control image of the mechanical part, thresholding the control image to form a binary image, detecting edge effects in the binary image, by extracting features from a predetermined number of first and last lines of the binary image and applying a learned classification model, to classify the predetermined number of first and last lines of the binary image into lines with edge effect and lines without edge effect, setting the pixel values ​​of the lines classified as lines with edge effect to zero, to form a binary image without edge effect, determining indications in the binary image without edge effect, which may indicate a defect in the mechanical part, detecting indications corresponding to a defect in the mechanical part among the determined indications.

9. Computer program comprising instructions for carrying out the steps of the process according to claim 1 when said program is executed by a computer.

10. Computer-readable recording medium on which is recorded a computer program comprising instructions for carrying out the steps of the process according to claim 1.