Acquisition method and device of digital image of slender welding seam, medium and terminal
By acquiring the weld image in segments and fitting the scanning path, multiple scanning problems caused by position deviation of the slender weld are solved, efficient digital image acquisition is achieved, and cost and resource consumption is reduced.
Patent Information
- Application Number
- CN202410930595.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-12-03
AI Technical Summary
In the nuclear industry, when the position size deviation of the slender weld is large, it is difficult for the prior art to fully cover the weld area, resulting in the need of multiple multi-path scanning and manual review, which increases the cost of digital image acquisition.
Multiple images of the weld are acquired in segments, the center position coordinates are determined and the scanning path is fitted, and the scanning path is generated by combining the ray source motion coordinates. The imaging parameters with high resource consumption are used for formal scanning to achieve one-time coverage of the weld area .
This reduces the cost of digital image acquisition, reduces resource consumption, and improves scanning efficiency, so that full coverage can be achieved with just one formal scan.
Smart Images

Figure CN119068082A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of nuclear fuel element welding, and in particular to a method and device, medium, and terminal for collecting digital images of slender welds. Background Art
[0002] In the production process of nuclear fuel element assemblies, it is usually necessary to inspect the internal welding quality of welds according to relevant national or industry standards. Generally speaking, for slender component welds, it is difficult to study their internal quality through conventional film imaging or 3D industrial CT imaging due to the large size of the components and the wide distribution area of the welds.
[0003] Based on this, most slender welds currently use ray digitization technology to perform real-time imaging of welds. Specifically, the starting point and end point of the weld are first determined manually, and then the starting point and end point are linearly interpolated to obtain the overall scanning path of the weld, and imaging is performed based on the scanning path.
[0004] The above method has a high detection efficiency when the weld processing position is good. However, when the weld position size deviation is large, it is very easy for the scanning area to fail to completely cover the weld area, and multiple multi-path scanning is required, and the scanning results need to be manually reviewed, resulting in a significant increase in the acquisition cost of digital images. Therefore, a method for acquiring digital images of slender welds is urgently needed to improve the above problems. Summary of the invention
[0005] In view of this, the present application provides a method and device, medium, and terminal for acquiring digital images of slender welds. The main purpose is to improve the existing problem that when the weld position size deviation is large, the scanning area cannot completely cover the weld area, and multiple multi-path scanning and manual review of the scanning results are required, which leads to a significant increase in the acquisition cost of the digital image.
[0006] According to one aspect of the present application, a method for collecting a digital image of a slender weld is provided, comprising:
[0007] In response to an acquisition instruction of a digitized weld image, a plurality of first images of a target weld are acquired in sections according to a preset length, wherein the plurality of first images can completely cover the target weld after being sequentially connected;
[0008] Determine the centroid position coordinates of the target weld from each of the first images, fit the centroid position coordinates to obtain a fitting line segment of the centroid position coordinates, and sequentially connect a plurality of the fitting line segments and combine them with the ray source motion coordinates to generate a scanning path for the target weld;
[0009] Based on the scanning path, multiple second images of the target weld are acquired in segments according to preset lengths, and the multiple second images are connected in sequence to generate a digitized image of the target weld, and the resources consumed by the imaging parameters used to acquire the second images are higher than the resources consumed by the imaging parameters used to acquire the first images.
[0010] Preferably, determining the centroid position coordinates of the target weld from the first image, fitting the centroid position coordinates to obtain a fitting line segment of the centroid position coordinates, includes:
[0011] Based on a preset grayscale threshold, binarization is performed on the first image to obtain a binarized first image;
[0012] Based on a contour detection algorithm, identifying a weld area from the binarized first image;
[0013] Traversing each pixel point contained in the weld area to determine the position coordinates of the pixel point;
[0014] Accumulating the abscissa and ordinate of each pixel point respectively to obtain an abscissa accumulation result and an ordinate accumulation result, and dividing the abscissa accumulation result by the number of pixels included in the weld area to obtain the abscissa of the centroid position, and dividing the ordinate accumulation result by the number of pixels to obtain the ordinate of the centroid position, and combining the abscissa of the centroid position and the ordinate of the centroid position to obtain the centroid position coordinate of the target weld;
[0015] The centroid position coordinates are fitted to obtain a fitting line segment of the centroid position coordinates.
[0016] Preferably, before acquiring a plurality of first images of the target weld in sections according to a preset length in response to the acquisition instruction of the digitized weld image, the method further comprises:
[0017] Placing a starting positioning block at the starting position of the target weld and placing an end positioning block at the end position of the target weld, wherein the starting positioning block is used to locate the starting point of the target weld and the end positioning block is used to locate the end point of the target weld;
[0018] The method of acquiring a plurality of second images of the target weld in sections according to a preset length based on the scanning path, and sequentially connecting the plurality of second images to generate a digitized image of the target weld includes:
[0019] Based on the scanning path, acquiring a plurality of second images of the target weld in sections according to preset lengths;
[0020] Identifying the starting positioning block from the first second image, and identifying the ending positioning block from the last second image;
[0021] The portion before the starting positioning block in the first second image is deleted, and the portion after the starting positioning block is retained to obtain the deleted first second image; and the portion after the ending positioning block in the last second image is deleted, and the portion before the ending positioning block is retained to obtain the deleted last second image;
[0022] The deleted first second image, other second images except the first second image and the last second image, and the deleted last second image are sequentially connected to generate a digitized image of the target weld.
[0023] Preferably, before acquiring a plurality of first images of the target weld in sections according to a preset length in response to the acquisition instruction of the digitized weld image, the method further comprises:
[0024] Acquiring parameter information of the target weld;
[0025] Based on the basic formula of ray attenuation or CIVA (Computed Imaging for NDT and Evaluation) non-destructive testing simulation software, a first imaging parameter and a second imaging parameter are determined according to the parameter information, and the first image is acquired based on the first imaging parameter, and the second image is acquired based on the second imaging parameter, and the resources consumed by the first imaging parameter are less than the resources consumed by the second imaging parameter.
[0026] Preferably, after acquiring a plurality of second images of the target weld in sections according to a preset length based on the scanning path and sequentially connecting the plurality of second images to generate a digitized image of the target weld, the method further comprises:
[0027] Acquire a digitized image of a preset image quality meter under the second imaging parameter as a defect size reference image;
[0028] Whether the detection sensitivity of the digitized image of the target weld is qualified is determined based on the defect size reference image.
[0029] Preferably, before binarizing the first image based on a preset grayscale threshold to obtain the binarized first image, the method further includes:
[0030] The first image is subjected to grayscale reduction processing to obtain a grayscale-degraded first image, and the grayscale-degraded first image is subjected to binarization processing.
[0031] Preferably, before identifying the weld area from the binarized first image based on the contour detection algorithm, the method further comprises:
[0032] The binarized first image is subjected to image morphological processing to obtain the first image subjected to image morphological processing, so as to perform a welding seam area recognition operation from the first image subjected to image morphological processing.
[0033] According to another aspect of the present application, a device for collecting digital images of elongated welds is provided, comprising:
[0034] Radiation source, digital image acquisition control module, digital flat panel detector;
[0035] The ray source is used to emit X-rays;
[0036] The digital flat panel detector is used to move synchronously with the ray source to collect digital images;
[0037] The digital image acquisition control module further includes a first image acquisition unit, which is used to control the digital flat panel detector to acquire a plurality of first images of the target weld in sections according to a preset length in response to an acquisition instruction of a digital image of the weld, wherein the plurality of first images can completely cover the target weld after being connected in sequence;
[0038] a scanning path planning unit, configured to determine the centroid position coordinates of the target weld from each of the first images, fit the centroid position coordinates to obtain a fitting line segment of the centroid position coordinates, and sequentially connect a plurality of the fitting line segments, and combine them with the ray source motion coordinates to generate a scanning path for the target weld;
[0039] A weld digitized image generating unit is used to control the digitized flat-panel detector to acquire a plurality of second images of the target weld in segments according to a preset length based on the scanning path, and to connect the plurality of second images in sequence to generate a digitized image of the target weld. Based on the scanning path, a plurality of second images of the target weld are acquired in segments according to a preset length, and the plurality of second images are connected in sequence to generate a digitized image of the target weld, and the resources consumed by the imaging parameters used to acquire the second images are higher than the resources consumed by the imaging parameters used to acquire the first images.
[0040] Preferably, the scanning path planning unit comprises:
[0041] A binarization subunit, configured to perform binarization processing on the first image based on a preset grayscale threshold to obtain a binarized first image;
[0042] A weld region identification subunit, used to identify the weld region from the binarized first image based on a contour detection algorithm;
[0043] A pixel point position coordinate determination subunit, used to traverse each pixel point included in the weld area to determine the position coordinates of the pixel point;
[0044] The centroid position coordinate calculation subunit is used to respectively accumulate the abscissa and ordinate of each pixel point to obtain an abscissa accumulation result and an ordinate accumulation result, and divide the abscissa accumulation result by the number of pixels included in the weld area to obtain the abscissa of the centroid position, and divide the ordinate accumulation result by the number of pixels to obtain the ordinate of the centroid position, and combine the abscissa of the centroid position and the ordinate of the centroid position to obtain the centroid position coordinate of the target weld;
[0045] The centroid position coordinate fitting subunit is used to fit the centroid position coordinates to obtain the fitting line segment of the centroid position coordinates.
[0046] Preferably, before the first image acquisition unit, the digital image acquisition control module further includes:
[0047] A starting and ending point positioning unit, used to place a starting positioning block at the starting position of the target weld and an ending point positioning block at the ending position of the target weld, wherein the starting positioning block is used to locate the starting point of the target weld and the ending point positioning block is used to locate the ending point of the target weld;
[0048] The weld digital image generation unit is used for:
[0049] Based on the scanning path, acquiring a plurality of second images of the target weld in sections according to preset lengths;
[0050] Identifying the starting positioning block from the first second image, and identifying the ending positioning block from the last second image;
[0051] The portion before the starting positioning block in the first second image is deleted, and the portion after the starting positioning block is retained to obtain the deleted first second image; and the portion after the ending positioning block in the last second image is deleted, and the portion before the ending positioning block is retained to obtain the deleted last second image;
[0052] The deleted first second image, other second images except the first second image and the last second image, and the deleted last second image are sequentially connected to generate a digitized image of the target weld.
[0053] Preferably, before the first image acquisition unit, the digital image acquisition control module further includes an imaging parameter determination unit, which is used to:
[0054] Acquiring parameter information of the target weld;
[0055] Based on the basic formula of ray attenuation or CIVA (Computed Imaging for NDT and Evaluation, non-destructive testing simulation software), a first imaging parameter and a second imaging parameter are determined according to the parameter information, and the first image is acquired based on the first imaging parameter, and the second image is acquired based on the second imaging parameter, and resources consumed by the first imaging parameter are less than resources consumed by the second imaging parameter.
[0056] Preferably, after the weld digital image generation unit, the digital image acquisition control module further includes a detection sensitivity determination unit for:
[0057] Acquire a digitized image of a preset image quality meter under the second imaging parameter as a defect size reference image;
[0058] Whether the detection sensitivity of the digitized image of the target weld is qualified is determined based on the defect size reference image.
[0059] Preferably, before the binarization subunit, the scanning path planning unit further includes:
[0060] The grayscale reduction subunit is used to perform grayscale reduction processing on the first image to obtain a grayscale-degraded first image, and to perform binarization processing on the grayscale-degraded first image.
[0061] Preferably, before the weld area identification subunit, the scanning path planning unit further includes:
[0062] The image morphology processing subunit is used to perform image morphology processing on the binarized first image to obtain the first image after image morphology processing, so as to perform a welding seam area recognition operation from the first image after image morphology processing.
[0063] According to another aspect of the present application, a storage medium is provided, in which at least one executable instruction is stored, and the executable instruction enables a processor to execute operations corresponding to the above-mentioned method for acquiring a digital image of a slender weld.
[0064] According to another aspect of the present application, a terminal is provided, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus;
[0065] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the above-mentioned method for collecting digital images of slender welds.
[0066] By means of the above technical solution, the technical solution provided by the embodiment of the present application has at least the following advantages:
[0067] The present application provides a method and device, medium, and terminal for acquiring a digital image of a slender weld. First, in response to an acquisition instruction for a digital image of a weld, a plurality of first images of a target weld are acquired in a segmented manner according to a preset length, and the plurality of first images can completely cover the target weld after being connected in sequence; the centroid position coordinates of the target weld are determined from each of the first images, the centroid position coordinates are fitted to obtain a fitting line segment of the centroid position coordinates, and the plurality of fitting line segments are connected in sequence, and combined with the motion coordinates of a ray source to generate a scanning path for the target weld; based on the scanning path, a plurality of second images of the target weld are acquired in a segmented manner according to a preset length, and the plurality of second images are connected in sequence to generate a digital image of the target weld, and the resources consumed by the imaging parameters used to acquire the second images are higher than the resources consumed by the imaging parameters used to acquire the first images. Compared with the prior art, the embodiment of the present application first uses imaging parameters that consume less resources to perform a first segmented scan on the target weld to obtain a first image; further extracts the centroid position coordinates of the target weld from the first image, and fits to obtain a fitting line segment, which is then combined with the ray source motion coordinates to generate a scanning path for the target weld; finally, uses imaging parameters that consume more resources to perform a second segmented scan on the target weld to obtain a digitized image of the target weld, and fits the scanning path according to the centroid position coordinates in a segmented manner, so that only one formal scan is required to achieve complete coverage of the weld area by the scanning area, thereby reducing the acquisition cost of the digitized image, and the resources consumed by the first scanning imaging parameters used in fitting the scanning path are lower than the resources consumed by the second scanning imaging parameters used in the formal scan, thereby further reducing the acquisition cost of the digitized image.
[0068] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0070] Figure 1 A flow chart of a method for collecting a digital image of an elongated weld provided in an embodiment of the present application is shown;
[0071] Figure 2 A schematic diagram of a weld detection system provided in an embodiment of the present application is shown;
[0072] Figure 3 A centroid position coordinate fitting flow chart provided in an embodiment of the present application is shown;
[0073] Figure 4 A flow chart of generating a digital image of a target weld provided by an embodiment of the present application is shown;
[0074] Figure 5 A schematic diagram of a scanning path provided by an embodiment of the present application is shown;
[0075] Figure 6 A flowchart for determining imaging parameters provided by an embodiment of the present application is shown;
[0076] Figure 7 A flow chart showing the determination of the sensitivity of digital image detection provided by an embodiment of the present application is shown;
[0077] Figure 8 A block diagram of a digital image acquisition device for a slender weld provided in an embodiment of the present application is shown;
[0078] Fig. 9 A schematic diagram of the structure of a terminal provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0079] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0080] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0081] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.
[0082] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0083] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0084] The embodiments of the present application can be applied to computer systems / servers, which can operate with many other general or special computing system environments or configurations. Examples of well-known computing systems, environments and / or configurations suitable for use with computer systems / servers include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.
[0085] Computer systems / servers may be described in the general context of computer system executable instructions (such as program modules) executed by a computer system. In general, program modules may include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers may be implemented in a distributed cloud computing environment where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules may be located on local or remote computing system storage media including storage devices.
[0086] The present application embodiment provides a method for collecting digital images of slender welds, such as Figure 1 As shown, the method includes:
[0087] 101. In response to an acquisition instruction for a digitized weld image, a plurality of first images of a target weld are acquired in sections according to preset lengths.
[0088] Among them, multiple first images can completely cover the target weld after being connected in sequence; the first image is used to plan the scanning path; the digitized image is used to characterize X-ray-based DR imaging; the preset length can be an integer multiple of the scanning step length in the vertical direction. Preferably, when the preset length is equal to the scanning step length, the planned scanning path is the most accurate, but the speed is the slowest; the target weld is usually a slender irregular weld, or a shorter and regular weld. In the embodiment of the present application, the current execution end can be a digital image acquisition control module of the weld detection system. In a specific application scenario, the schematic diagram of the weld detection system, such as Figure 2 As shown in the figure, 1 represents a workpiece to be inspected, wherein the slender vertical portion thereof represents a slender weld; 2 represents a radiation source for emitting X-rays; 3 represents a digital flat-panel detector, and during the acquisition process, the weld is rotated to be in the same plane as the radiation source and the digital flat-panel detector, and the radiation source and the digital flat-panel detector move downward synchronously as a whole to acquire a digital image.
[0089] It should be noted that, since the first image is used to plan the scanning path, its imaging quality does not need to be too high, as long as it can form an image. This has the advantage of reducing the resources consumed by digital image acquisition, thereby reducing the acquisition cost of digital images.
[0090] 102. Determine the centroid position coordinates of the target weld from each first image, fit the centroid position coordinates to obtain fitting line segments of the centroid position coordinates, connect multiple fitting line segments in sequence, and combine them with the ray source motion coordinates to generate a scanning path for the target weld.
[0091] Among them, the centroid position coordinates are used to characterize the position coordinates of the geometric center of the target weld. In the embodiment of the present application, fitting is performed according to the centroid position coordinates of the target weld in each first image to obtain a fitting line segment, and then all the fitting line segments are connected in sequence to obtain the fitting line segment of the target weld in the two-dimensional plane, and finally the ray source motion coordinates corresponding to each centroid position coordinate are used as the Z-axis coordinates to combine and generate a scanning path for the target weld, so that a formal scan based on the scanning path can be performed, and only one scan is required to achieve complete coverage of the weld area by the scanning area, thereby reducing the acquisition cost of the digital image.
[0092] 103. Based on the scanning path, a plurality of second images of the target weld are acquired in segments according to a preset length, and the plurality of second images are sequentially connected to generate a digitized image of the target weld.
[0093] The resources consumed by the imaging parameters used to acquire the second image are higher than the resources consumed by the imaging parameters used to acquire the first image; the second image is used to represent the digitized image obtained by the formal scan. In the embodiment of the present application, a segmented formal scan is performed based on the scanning path to obtain multiple second images, which are then connected in sequence to obtain a digitized image that completely covers the weld area.
[0094] Compared with the prior art, the embodiment of the present application first uses imaging parameters that consume less resources to perform a first segmented scan on the target weld to obtain a first image; further extracts the centroid position coordinates of the target weld from the first image, and fits to obtain a fitting line segment, which is then combined with the ray source motion coordinates to generate a scanning path for the target weld; finally, uses imaging parameters that consume more resources to perform a second segmented scan on the target weld to obtain a digitized image of the target weld, and fits the scanning path according to the centroid position coordinates in a segmented manner, so that only one formal scan is required to achieve complete coverage of the weld area by the scanning area, thereby reducing the acquisition cost of the digitized image, and the resources consumed by the first scanning imaging parameters used in fitting the scanning path are lower than the resources consumed by the second scanning imaging parameters used in the formal scan, thereby further reducing the acquisition cost of the digitized image.
[0095] In an embodiment of the present application, in order to further define and illustrate, Figure 3 As shown, in step 102 of the embodiment, the centroid position coordinates of the target weld are determined from the first image, and the centroid position coordinates are fitted to obtain the fitting line segment of the centroid position coordinates, including:
[0096] 201. Based on a preset grayscale threshold, perform binarization processing on a first image to obtain a binarized first image.
[0097] The preset grayscale threshold can be set manually according to the actual situation of the image, and is used to perform binarization processing on the first image, that is, converting the first image into an image with only 0 (black, background) and 1 (white, weld) to distinguish the weld area and the background area in the image. Specifically, the grayscale values of the pixels in the first image with grayscale values higher than the preset grayscale threshold are replaced with 1 to represent the weld area; the grayscale values of the pixels with grayscale values lower than the preset grayscale threshold are replaced with 0 to represent the background area, thereby obtaining the first image after binarization.
[0098] Optionally, before step 201 of the embodiment binarizes the first image based on a preset grayscale threshold to obtain the binarized first image, the embodiment method also includes: reducing the grayscale level of the first image to obtain the grayscale-degraded first image, so as to binarize the grayscale-degraded first image.
[0099] Typically, the grayscale level of the first image is 65535 (16-bit grayscale image). In order to reduce the computing resources consumed by subsequent processing, in an embodiment of the present application, the grayscale level of the first image can be optionally reduced, for example, the grayscale level can be reduced from 65535 (16-bit grayscale image) to 8 bits (0-255).
[0100] In addition, a filter may be applied to the image to reduce image noise, thereby improving image clarity, such as a Gaussian filter.
[0101] 202. Based on a contour detection algorithm, identify a weld area from the binarized first image.
[0102] The contour detection algorithm may be a Canny edge detection algorithm. It is understandable that the weld area in the first image after binarization may be directly identified based on the contour detection algorithm.
[0103] Optionally, the weld area may be extracted by searching for connected areas in the binarized first image and then screening the connected areas by features such as size and shape.
[0104] Optionally, before step 202 of the embodiment identifies the weld area from the binarized first image based on a contour detection algorithm, the embodiment method further includes: performing image morphological processing on the binarized first image to obtain the first image after image morphological processing, so as to perform an identification operation of the weld area from the first image after image morphological processing.
[0105] In order to reduce noise or small holes, fractures and other defects in the image, in an embodiment of the present application, optionally, the first image after binarization can be subjected to image morphological processing, wherein the image morphological processing includes but is not limited to corrosion processing, expansion processing, opening operation processing, closing operation processing, etc., so as to improve the connectivity and completeness of the weld area.
[0106] 203. Traverse each pixel point included in the weld area to determine the position coordinates of the pixel point;
[0107] In the embodiment of the present application, each pixel point included in the weld area is traversed and its position coordinates (x, y) are recorded.
[0108] 204. Calculate the centroid position coordinates according to the position coordinates of each pixel point.
[0109] Specifically, the abscissa x and the ordinate y of each pixel point are accumulated respectively to obtain the accumulated abscissa result and the accumulated ordinate result; the accumulated abscissa result is divided by the number of pixels contained in the weld area to obtain the abscissa of the centroid position, and the accumulated ordinate result is divided by the number of pixels to obtain the ordinate of the centroid position. The centroid position coordinates of the target weld are obtained by combining the abscissa of the centroid position and the ordinate of the centroid position.
[0110] 205. Fit the centroid position coordinates to obtain a fitting line segment of the centroid position coordinates.
[0111] It should be noted that the degree of fitting is determined by the number of centroids and the linearity of the centroid position coordinates. For example, when the number of centroids is large, since their distribution is relatively wide, the fitting line segment needs to take into account all the centroids, so the degree of fitting is usually lower; when the linearity of the centroid position coordinates is high, since they approach the same straight line, the degree of fitting will be higher.
[0112] In one embodiment of the present application, for further limitation and explanation, in step 101 of the embodiment, before the acquisition instruction of the digitized image of the weld is responded to, and multiple first images of the target weld are acquired in segments according to a preset length, the embodiment method also includes: placing a starting positioning block at the starting position of the target weld, and placing an end positioning block at the end position of the target weld.
[0113] The starting positioning block is used to locate the starting point of the target weld, and the end positioning block is used to locate the end point of the target weld. In the embodiment of the present application, the positioning block can be formed by spot welding of a high-density material such as a hafnium block, and an overexposed image with obvious contrast is formed by spot welding and the high-density material to indicate the starting and end points of the weld.
[0114] Furthermore, in order to further define and illustrate, Figure 4 As shown, step 103 of the embodiment obtains multiple second images of the target weld in sections according to a preset length based on the scanning path, and connects the multiple second images in sequence to generate a digitized image of the target weld, including:
[0115] 301. Based on the scanning path, obtain multiple second images of the target weld in sections according to preset lengths.
[0116] In the embodiment of the present application, the scanning path schematic diagram obtained by fitting is as follows: Figure 5 As shown, a plurality of shaded blocks in the figure represent the second image.
[0117] 302. Identify a starting positioning block from the first second image, and identify an ending positioning block from the last second image.
[0118] In the embodiment of the present application, Figure 5The shaded blocks with dots in the figure are the first second image and the last second image respectively. The dots in the first second image represent the starting positioning block, and the dots in the last second image represent the ending positioning block.
[0119] 303. Delete the portion before the starting positioning block in the first second image and keep the portion after the starting positioning block to obtain the deleted first second image; and delete the portion after the ending positioning block in the last second image and keep the portion before the ending positioning block to obtain the deleted last second image.
[0120] It can be understood that the portion before the start positioning block in the first second image is a non-weld area, so it is deleted, and the weld area after the start positioning block is retained. Similarly, the portion after the end positioning block in the last second image is a non-weld area, so it is deleted, and the weld area before the end positioning block is retained.
[0121] 304. Connect the first second image after deletion, the other second images except the first second image and the last second image, and the last second image after deletion in sequence to generate a digitized image of the target weld.
[0122] In an embodiment of the present application, only the weld area is retained in the first second image after deletion and the last second image after deletion. Therefore, the first second image after deletion, other second images except the first second image and the last second image, and the last second image after deletion are connected in sequence to obtain a digitized image of the target weld.
[0123] In an embodiment of the present application, in order to further define and illustrate, Figure 6 As shown, in step 101 of the embodiment, in response to the acquisition instruction of the digitized image of the weld, before acquiring multiple first images of the target weld in sections according to a preset length, the embodiment method also includes:
[0124] 401. Obtain parameter information of a target weld.
[0125] The parameter information of the weld includes but is not limited to weld thickness, weld density, atomic number of weld material, etc.
[0126] 402. Based on the basic formula of ray attenuation or CIVA (Computed Imaging for NDT and Evaluation, non-destructive testing simulation software), determine the first imaging parameter and the second imaging parameter according to the parameter information.
[0127] The first image is acquired based on the first imaging parameter, and the second image is acquired based on the second imaging parameter, wherein the resources consumed by the first imaging parameter are less than the resources consumed by the second imaging parameter; the basic formula of ray attenuation is used to estimate the intensity attenuation of the ray when it propagates in the material, and the imaging parameters of the ray source can be calculated according to the parameter information of the target weld and the detection requirements (such as the intensity of the ray after penetrating the material, etc.). CIVA (Computed Imaging for NDT and Evaluation, non-destructive testing simulation software) is a software tool for non-destructive testing (NDT) simulation and evaluation. When used, the parameter information of the target weld and the detection requirements (such as the required image quality, etc.) are input into it. The CIVA non-destructive testing simulation software will simulate the propagation process of the ray in the weld based on the above information and predict the required imaging conditions.
[0128] It should be noted that the integration time of the first imaging parameter is set to be shorter, the exposure time is shorter, the radiation voltage is lower, and the tube current is smaller, while the imaging conditions such as the exposure time, integration time, radiation voltage, and tube current of the second imaging parameter are set in accordance with high-quality imaging standards, and are not operated at low voltage and low current. Therefore, the resources consumed by the first imaging parameter are less than those consumed by the second imaging parameter. The purpose of this is to further reduce the acquisition cost of the digitized image.
[0129] Furthermore, in order to further define and illustrate, Figure 7 As shown, in step 103 of the embodiment, based on the scanning path, a plurality of second images of the target weld are obtained in sections according to a preset length, and the plurality of second images are sequentially connected to generate a digitized image of the target weld. The embodiment method further includes:
[0130] 501. Obtain a digitized image of a preset image quality meter under a second imaging parameter to serve as a defect size reference image.
[0131] The image quality meter is usually a metal sheet with holes or metal wires of known size and arrangement, and its material is the same as that of the target weld, wherein the holes or metal wires are used to simulate possible defects in the weld. In the embodiment of the present application, when the second image of the target weld is acquired, the preset image quality meter can be placed next to the target weld and exposed to the radiation source together with the target weld, and the acquired digital image of the preset image quality meter is used as a defect size reference image.
[0132] 502. Determine whether the detection sensitivity of the digitized image of the target weld is qualified based on the defect size reference image.
[0133] In the embodiment of the present application, for example, the hole carried by the preset image quality meter is 0.2mm, and the detection sensitivity of the digitized image of the target weld is required to be 0.2mm. When the hole in the defect size reference image can be detected, it means that the detection sensitivity of the digitized image of the target weld meets the required 0.2mm. At this time, the detection sensitivity of the digitized image of the target weld is determined to be qualified.
[0134] The present application provides a method for acquiring a digital image of a slender weld. First, in response to an acquisition instruction for a digital image of a weld, a plurality of first images of a target weld are acquired in a segmented manner according to a preset length, and the plurality of first images can completely cover the target weld after being connected in sequence; the centroid position coordinates of the target weld are determined from each of the first images respectively, the centroid position coordinates are fitted to obtain a fitting line segment of the centroid position coordinates, and the plurality of fitting line segments are connected in sequence, and combined with the motion coordinates of a ray source to generate a scanning path for the target weld; based on the scanning path, a plurality of second images of the target weld are acquired in a segmented manner according to a preset length, and the plurality of second images are connected in sequence to generate a digital image of the target weld, and the resources consumed by the imaging parameters used to acquire the second images are higher than the resources consumed by the imaging parameters used to acquire the first images. Compared with the prior art, the embodiment of the present application first uses imaging parameters that consume less resources to perform a first segmented scan on the target weld to obtain a first image; further extracts the centroid position coordinates of the target weld from the first image, and fits to obtain a fitting line segment, which is then combined with the ray source motion coordinates to generate a scanning path for the target weld; finally, uses imaging parameters that consume more resources to perform a second segmented scan on the target weld to obtain a digitized image of the target weld, and fits the scanning path according to the centroid position coordinates in a segmented manner, so that only one formal scan is required to achieve complete coverage of the weld area by the scanning area, thereby reducing the acquisition cost of the digitized image, and the resources consumed by the first scanning imaging parameters used in fitting the scanning path are lower than the resources consumed by the second scanning imaging parameters used in the formal scan, thereby further reducing the acquisition cost of the digitized image.
[0135] Furthermore, as a response to the above Figure 1 In order to realize the method shown in the figure, the embodiment of the present application provides a device for collecting digital images of slender welds, such as Figure 8 As shown, the device comprises:
[0136] A ray source 61, a digital image acquisition control module 62, and a digital flat panel detector 63;
[0137] The ray source is used to emit X-rays;
[0138] The digital flat panel detector is used to move synchronously with the ray source to collect digital images;
[0139] The digital image acquisition control module further includes a first image acquisition unit, which is used to control the digital flat panel detector to acquire a plurality of first images of the target weld in sections according to a preset length in response to an acquisition instruction of a digital image of the weld, wherein the plurality of first images can completely cover the target weld after being connected in sequence;
[0140] a scanning path planning unit, configured to determine the centroid position coordinates of the target weld from each of the first images, fit the centroid position coordinates to obtain a fitting line segment of the centroid position coordinates, and sequentially connect a plurality of the fitting line segments, and combine them with the ray source motion coordinates to generate a scanning path for the target weld;
[0141] A weld digitized image generating unit is used to control the digitized flat-panel detector to acquire a plurality of second images of the target weld in segments according to a preset length based on the scanning path, and to connect the plurality of second images in sequence to generate a digitized image of the target weld. Based on the scanning path, a plurality of second images of the target weld are acquired in segments according to a preset length, and the plurality of second images are connected in sequence to generate a digitized image of the target weld, and the resources consumed by the imaging parameters used to acquire the second images are higher than the resources consumed by the imaging parameters used to acquire the first images.
[0142] In a specific application scenario, the scanning path planning unit includes:
[0143] A binarization subunit, configured to perform binarization processing on the first image based on a preset grayscale threshold to obtain a binarized first image;
[0144] A weld region identification subunit, used to identify the weld region from the binarized first image based on a contour detection algorithm;
[0145] A pixel point position coordinate determination subunit, used to traverse each pixel point included in the weld area to determine the position coordinates of the pixel point;
[0146] The centroid position coordinate calculation subunit is used to respectively accumulate the abscissa and ordinate of each pixel point to obtain an abscissa accumulation result and an ordinate accumulation result, and divide the abscissa accumulation result by the number of pixels included in the weld area to obtain the abscissa of the centroid position, and divide the ordinate accumulation result by the number of pixels to obtain the ordinate of the centroid position, and combine the abscissa of the centroid position and the ordinate of the centroid position to obtain the centroid position coordinate of the target weld;
[0147] The centroid position coordinate fitting subunit is used to fit the centroid position coordinates to obtain the fitting line segment of the centroid position coordinates.
[0148] In a specific application scenario, before the first image acquisition unit, the digital image acquisition control module further includes:
[0149] A starting and ending point positioning unit, used to place a starting positioning block at the starting position of the target weld and an ending point positioning block at the ending position of the target weld, wherein the starting positioning block is used to locate the starting point of the target weld and the ending point positioning block is used to locate the ending point of the target weld;
[0150] The weld digital image generation unit is used for:
[0151] Based on the scanning path, acquiring a plurality of second images of the target weld in sections according to preset lengths;
[0152] Identifying the starting positioning block from the first second image, and identifying the ending positioning block from the last second image;
[0153] The portion before the starting positioning block in the first second image is deleted, and the portion after the starting positioning block is retained to obtain the deleted first second image; and the portion after the ending positioning block in the last second image is deleted, and the portion before the ending positioning block is retained to obtain the deleted last second image;
[0154] The deleted first second image, other second images except the first second image and the last second image, and the deleted last second image are sequentially connected to generate a digitized image of the target weld.
[0155] In a specific application scenario, before the first image acquisition unit, the digital image acquisition control module further includes an imaging parameter determination unit, which is used to:
[0156] Acquiring parameter information of the target weld;
[0157] Based on the basic formula of ray attenuation or CIVA (Computed Imaging for NDT and Evaluation, non-destructive testing simulation software), a first imaging parameter and a second imaging parameter are determined according to the parameter information, and the first image is acquired based on the first imaging parameter, and the second image is acquired based on the second imaging parameter, and resources consumed by the first imaging parameter are less than resources consumed by the second imaging parameter.
[0158] In a specific application scenario, after the weld digital image generation unit, the digital image acquisition control module further includes a detection sensitivity determination unit for:
[0159] Acquire a digitized image of a preset image quality meter under the second imaging parameter as a defect size reference image;
[0160] Whether the detection sensitivity of the digitized image of the target weld is qualified is determined based on the defect size reference image.
[0161] In a specific application scenario, before the binarization subunit, the scanning path planning unit further includes:
[0162] The grayscale reduction subunit is used to perform grayscale reduction processing on the first image to obtain a grayscale-degraded first image, and to perform binarization processing on the grayscale-degraded first image.
[0163] In a specific application scenario, before the weld area identification subunit, the scanning path planning unit further includes:
[0164] The image morphology processing subunit is used to perform image morphology processing on the binarized first image to obtain the first image after image morphology processing, so as to perform a welding seam area recognition operation from the first image after image morphology processing.
[0165] The present application provides a device for collecting digital images of slender welds, comprising: a ray source, a digital image collection control module, and a digital flat-panel detector; the ray source is used to emit X-rays; the digital flat-panel detector is used to collect digital images in synchronization with the ray source; the digital image collection control module is used to respond to a collection instruction for the digital image of the weld, control the digital flat-panel detector to obtain a plurality of first images of the target weld in a segmented manner according to a preset length, and the plurality of first images can completely cover the target weld after being connected in sequence; determine the centroid position coordinates of the target weld from each of the first images, fit the centroid position coordinates, and obtain the centroid position coordinates; A fitting line segment of the center position coordinates of the target weld is obtained, and a plurality of the fitting line segments are connected in sequence, and combined with the ray source motion coordinates to generate a scanning path for the target weld; based on the scanning path, the digital flat-panel detector is controlled to obtain a plurality of second images of the target weld in a segmented manner according to a preset length, and the plurality of second images are connected in sequence to generate a digitized image of the target weld; based on the scanning path, a plurality of second images of the target weld are obtained in a segmented manner according to a preset length, and the plurality of second images are connected in sequence to generate a digitized image of the target weld, and the resources consumed by the imaging parameters used to acquire the second images are higher than the resources consumed by the imaging parameters used to acquire the first images. Compared with the prior art, the embodiment of the present application first uses imaging parameters that consume less resources to perform a first segmented scan on the target weld to obtain a first image; further extracts the centroid position coordinates of the target weld from the first image, and fits to obtain a fitting line segment, which is then combined with the ray source motion coordinates to generate a scanning path for the target weld; finally, uses imaging parameters that consume more resources to perform a second segmented scan on the target weld to obtain a digitized image of the target weld, and fits the scanning path according to the centroid position coordinates in a segmented manner, so that only one formal scan is required to achieve complete coverage of the weld area by the scanning area, thereby reducing the acquisition cost of the digitized image, and the resources consumed by the first scanning imaging parameters used in fitting the scanning path are lower than the resources consumed by the second scanning imaging parameters used in the formal scan, thereby further reducing the acquisition cost of the digitized image.
[0166] According to one embodiment of the present application, a storage medium is provided, wherein the storage medium stores at least one executable instruction, and the computer executable instruction can execute the method for acquiring a digital image of an elongated weld in any of the above method embodiments.
[0167] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each implementation scenario of the present application.
[0168] Fig. 9 A schematic diagram of the structure of a terminal provided according to an embodiment of the present application is shown, and the specific embodiment of the present application does not limit the specific implementation of the terminal.
[0169] like Fig. 9 As shown, the terminal may include: a processor (processor) 702 , a communication interface (Communications Interface) 704 , a memory (memory) 706 , and a communication bus 708 .
[0170] The processor 702 , the communication interface 704 , and the memory 706 communicate with each other via a communication bus 708 .
[0171] The communication interface 704 is used to communicate with other devices such as clients or other servers.
[0172] The processor 702 is used to execute the program 710, and specifically can execute the relevant steps in the embodiment of the method for collecting the digital image of the slender weld.
[0173] Specifically, the program 710 may include program codes, which include computer operation instructions.
[0174] The processor 702 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the computer device may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.
[0175] The memory 706 is used to store the program 710. The memory 406 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0176] The program 710 may be specifically configured to enable the processor 702 to perform the following operations:
[0177] In response to an acquisition instruction of a digitized weld image, a plurality of first images of a target weld are acquired in sections according to a preset length, wherein the plurality of first images can completely cover the target weld after being sequentially connected;
[0178] Determine the centroid position coordinates of the target weld from each of the first images, fit the centroid position coordinates to obtain a fitting line segment of the centroid position coordinates, and sequentially connect a plurality of the fitting line segments and combine them with the ray source motion coordinates to generate a scanning path for the target weld;
[0179] Based on the scanning path, multiple second images of the target weld are acquired in segments according to preset lengths, and the multiple second images are connected in sequence to generate a digitized image of the target weld, and the resources consumed by the imaging parameters used to acquire the second images are higher than the resources consumed by the imaging parameters used to acquire the first images.
[0180] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the physical device of the method for collecting the digital image of the elongated weld, and supports the operation of the information processing program and other software and / or programs. The network communication module is used to realize the communication between the components inside the storage medium, and the communication with other hardware and software in the information processing physical device.
[0181] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0182] The method and system of the present application may be implemented in many ways. For example, the method and system of the present application may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present application are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present application may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present application. Therefore, the present application also covers a recording medium storing a program for executing the method according to the present application.
[0183] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0184] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for collecting digital images of slender welds. It is characterized in that include: In response to an acquisition instruction of a digitized weld image, a plurality of first images of a target weld are acquired in sections according to a preset length, wherein the plurality of first images can completely cover the target weld after being sequentially connected; Determine the centroid position coordinates of the target weld from each of the first images, fit the centroid position coordinates to obtain a fitting line segment of the centroid position coordinates, and sequentially connect a plurality of the fitting line segments to generate a scanning path for the target weld by combining them with the ray source motion coordinates; Based on the scanning path, multiple second images of the target weld are acquired in segments according to preset lengths, and the multiple second images are connected in sequence to generate a digitized image of the target weld, and the resources consumed by the imaging parameters used to acquire the second images are higher than the resources consumed by the imaging parameters used to acquire the first images.
2. The method according to claim 1, It is characterized in that The step of determining the centroid position coordinates of the target weld from the first image and fitting the centroid position coordinates to obtain a fitting line segment of the centroid position coordinates includes: Based on a preset grayscale threshold, binarization is performed on the first image to obtain a binarized first image; Based on a contour detection algorithm, identifying a weld area from the binarized first image; Traversing each pixel point contained in the weld area to determine the position coordinates of the pixel point; Accumulating the abscissa and ordinate of each pixel point respectively to obtain an abscissa accumulation result and an ordinate accumulation result, and dividing the abscissa accumulation result by the number of pixels included in the weld area to obtain the abscissa of the centroid position, and dividing the ordinate accumulation result by the number of pixels to obtain the ordinate of the centroid position, and combining the abscissa of the centroid position and the ordinate of the centroid position to obtain the centroid position coordinate of the target weld; The centroid position coordinates are fitted to obtain a fitting line segment of the centroid position coordinates.
3. The method according to claim 1, It is characterized in that Before the step of acquiring a plurality of first images of the target weld in sections according to a preset length in response to the acquisition instruction of the weld digitized image, the method further comprises: Placing a starting positioning block at the starting position of the target weld and placing an end positioning block at the end position of the target weld, wherein the starting positioning block is used to locate the starting point of the target weld and the end positioning block is used to locate the end point of the target weld; The method of acquiring a plurality of second images of the target weld in sections according to a preset length based on the scanning path, and sequentially connecting the plurality of second images to generate a digitized image of the target weld includes: Based on the scanning path, acquiring a plurality of second images of the target weld in sections according to preset lengths; Identifying the starting positioning block from the first second image, and identifying the ending positioning block from the last second image; The portion before the starting positioning block in the first second image is deleted, and the portion after the starting positioning block is retained to obtain the deleted first second image; and the portion after the ending positioning block in the last second image is deleted, and the portion before the ending positioning block is retained to obtain the deleted last second image; The deleted first second image, other second images except the first second image and the last second image, and the deleted last second image are sequentially connected to generate a digitized image of the target weld.
4. The method according to claim 1, It is characterized in that Before the step of acquiring a plurality of first images of the target weld in sections according to a preset length in response to the acquisition instruction of the weld digitized image, the method further comprises: Acquiring parameter information of the target weld; Based on the basic formula of ray attenuation or CIVA (Computed Imaging for NDT and Evaluation, nondestructive testing simulation software), determining a first imaging parameter and a second imaging parameter according to the parameter information, and acquiring the first image based on the first imaging parameter, and acquiring the second image based on the second imaging parameter, wherein resources consumed by the first imaging parameter are less than resources consumed by the second imaging parameter.
5. The method according to claim 4, It is characterized in that After acquiring a plurality of second images of the target weld in sections according to a preset length based on the scanning path, and sequentially connecting the plurality of second images to generate a digitized image of the target weld, the method further comprises: Acquire a digitized image of a preset image quality meter under the second imaging parameter as a defect size reference image; Whether the detection sensitivity of the digitized image of the target weld is qualified is determined based on the defect size reference image.
6. The method according to claim 2, It is characterized in that Before binarizing the first image based on a preset grayscale threshold to obtain the binarized first image, the method further includes: The first image is subjected to grayscale reduction processing to obtain a grayscale-degraded first image, and the grayscale-degraded first image is subjected to binarization processing.
7. The method according to claim 2, It is characterized in that Before identifying the weld area from the binarized first image based on the contour detection algorithm, the method further includes: The binarized first image is subjected to image morphological processing to obtain the first image subjected to image morphological processing, so as to perform a welding seam area recognition operation from the first image subjected to image morphological processing.
8. A device for collecting digital images of slender welds, It is characterized in that include: Radiation source, digital image acquisition control module, digital flat panel detector; The ray source is used to emit X-rays; The digital flat panel detector is used to move synchronously with the ray source to collect digital images; The digital image acquisition control module further includes a first image acquisition unit, which is used to control the digital flat panel detector to acquire a plurality of first images of the target weld in sections according to a preset length in response to an acquisition instruction of a digital image of the weld, wherein the plurality of first images can completely cover the target weld after being connected in sequence; a scanning path planning unit, configured to determine the centroid position coordinates of the target weld from each of the first images, fit the centroid position coordinates to obtain a fitting line segment of the centroid position coordinates, and sequentially connect a plurality of the fitting line segments, and combine them with the ray source motion coordinates to generate a scanning path for the target weld; A weld digitized image generating unit is used to control the digitized flat-panel detector to acquire a plurality of second images of the target weld in segments according to a preset length based on the scanning path, and to connect the plurality of second images in sequence to generate a digitized image of the target weld. Based on the scanning path, a plurality of second images of the target weld are acquired in segments according to a preset length, and the plurality of second images are connected in sequence to generate a digitized image of the target weld, and the resources consumed by the imaging parameters used to acquire the second images are higher than the resources consumed by the imaging parameters used to acquire the first images.
9. A storage medium, wherein at least one executable instruction is stored in the storage medium. It is characterized in that The executable instructions enable the processor to execute operations corresponding to the method for acquiring a digital image of a slender weld according to any one of claims 1 to 7.
10. A terminal, include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, wherein the executable instruction enables the processor to perform operations corresponding to the method for acquiring a digital image of a slender weld as described in any one of claims 1-7.
