Measurement method, measurement device, method for manufacturing object, method for managing quality of object, equipment for manufacturing object, computation unit, imaging terminal, imaging system, and information processing device

The proposed method and device automate steel pipe shape inspection using machine learning and marker plates, addressing the complexity and accuracy issues in steel pipe shape inspection, ensuring precise and efficient measurements aligned with stringent API5L standards.

WO2024176687A1PCT designated stage expired Publication Date: 2024-08-29JFE STEEL CORP

Patent Information

Application Number
PCT/JP2024/001839
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-20
Filing Date
2024-01-23
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

The shape inspection of steel pipes is labor-intensive and time-consuming, requiring manual procedures on multiple surfaces and directions, leading to inaccuracies due to its complexity and dependence on manual work, especially with the upcoming stricter API5L standards.

Method used

A measuring method and device that utilize a marker plate and machine learning models to convert images into facing images, detect edges, and calculate physical quantities like pipe thickness, offset, and bead height with high precision, enabling rapid and accurate measurements.

Benefits of technology

Enables precise and efficient measurement of steel pipe shapes, improving manufacturing yield and quality control by automating the process and reducing human error, thus aligning with stricter inspection standards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024001839_29082024_PF_FP_ABST
    Figure JP2024001839_29082024_PF_FP_ABST
Patent Text Reader

Abstract

This measurement method includes: a first step for converting an image of an object captured together with a marker plate on which a pattern serving as a length reference for length measurement is drawn into a facing image having a prescribed resolution, using an image of the pattern in the image; a second step for detecting the edge of the object from the facing image; and a third step for calculating a prescribed physical quantity on the basis of the detected edge. The second step includes: a step for selecting, in accordance with the type of edge to be detected, a machine learning model in which input data is a facing image and output data is the edge in the facing image; a step for inputting the facing image obtained in the first step into the selected machine learning model to detect the edge in the facing image; and a step for removing overdetection of an edge and / or interpolating non-detection of an edge, on the basis of the connectivity of the detected edge.
Need to check novelty before this filing date? Find Prior Art

Description

Measurement method, measurement device, object manufacturing method, object quality control method, object manufacturing equipment, calculation unit, imaging terminal, imaging system, and information processing device

[0001] The present invention relates to a measurement method, a measurement device, a method for manufacturing an object, a quality control method for an object, an object manufacturing facility, a computing unit, an imaging terminal, an imaging system, and an information processing device.

[0002] In recent years, the API 5L standard (see Non-Patent Document 1), a standard for steel pipes, has been revised, clarifying the method for inspecting steel pipe shapes. Based on this, it is expected that management of steel pipe shape inspections will become even stricter in the future. Meanwhile, steel pipe shape inspections cover a wide range of items, some of which involve complex procedures. For example, offset (groove deviation of welded joints) must be calculated based on the measured values ​​of a dial gauge placed at multiple positions on the outer surface of the steel pipe. Furthermore, the curvature of a steel pipe must be calculated based on the float of the steel pipe, measured by, for example, stretching a water line along the length of the steel pipe.

[0003] AMERICAN PETROLEUM INSTITUTE, API SPECIFICATION 5L FORTY-SIXTH EDITION, APRIL 2018.

[0004] As described above, the shape inspection of steel pipes involves a wide variety of items and procedures, and therefore the shape inspection is largely performed manually by factory operators. In addition, the shape inspection is performed on multiple surfaces and directions of the steel pipe, such as the outer surface, inner surface, end surface, and length direction. For this reason, the shape inspection takes a lot of time, and it is difficult to perform the shape inspection accurately.

[0005] The present invention has been made to solve the above-mentioned problems, and its object is to provide a measurement method, measurement device, calculation unit, imaging terminal, and imaging system that can measure a predetermined physical quantity at a predetermined position on an object in a short time and with high accuracy. Another object of the present invention is to provide a manufacturing method for an object that can improve the manufacturing yield of the object. Another object of the present invention is to provide a quality control method for an object that can provide high-quality objects. Another object of the present invention is to provide manufacturing equipment for an object that can improve the manufacturing yield of the object. Another object of the present invention is to provide an information processing device that can improve the manufacturing yield of the object and / or provide high-quality objects.

[0006] [1] A measurement method according to the present invention is a measurement method for measuring a predetermined physical quantity at a predetermined position on an object, and includes: a first step of converting an image of the object, which has been photographed together with a marker plate on which a pattern serving as a length reference for length measurement is drawn, into a front-facing image having a predetermined resolution by using an image of the pattern in the image; a second step of detecting edges of the object from the front-facing image; and a third step of calculating the predetermined physical quantity based on the detected edges. The second step includes a step of selecting a machine learning model that uses the front-facing image as input data and the edges in the front-facing image as output data according to the type of edge to be detected; a step of detecting the edges in the front-facing image by inputting the front-facing image obtained by the first step into the selected machine learning model; and an edge identification step of removing overdetected edges and / or interpolating undetected edges based on connectivity of the detected edges.

[0007] [2] The measurement method according to the present invention is the above-mentioned invention [1], further comprising, before the first step, an imaging step of capturing an image of the object together with the marker plate.

[0008] [3] In the measurement method according to the present invention, in the above invention [1] or [2], the edge identification step includes a step of binarizing the image of the edge, a step of dividing the binarized image of the edge into a plurality of processing units to generate a plurality of divided binary images, a step of determining whether the edge in each divided binary image is valid or invalid by taking into account the edges in adjacent divided binary images, and a step of interpolating the edges determined to be invalid based on the edges determined to be valid.

[0009] [4] A measuring device according to the present invention is a measuring device that measures a predetermined physical quantity at a predetermined position on an object, and includes: a marker plate on which a pattern serving as a length reference for length measurement is drawn; an imaging unit that captures an image of the object together with the marker plate; and a calculation unit that performs the following processes: converting the captured image into a front-facing image having a predetermined resolution using an image of the pattern in the captured image; detecting edges of the object from the front-facing image; and calculating the predetermined physical quantity based on the detected edges. In the edge detection process, the calculation unit performs the following processes: selecting a machine learning model that uses the front-facing image as input data and the edges in the front-facing image as output data according to the type of edge to be detected; detecting the edges in the front-facing image by inputting the front-facing image to the selected machine learning model; and removing overdetection of the edges and / or interpolating undetected edges based on the connectivity of the detected edges.

[0010] [5] A method for manufacturing an object according to the present invention includes a manufacturing step of an object, and a measuring step of measuring a predetermined physical quantity at a predetermined position of the object using any one of the above inventions [1] to [3].

[0011] [6] A quality control method for an object according to the present invention includes a measurement step of measuring a predetermined physical quantity at a predetermined position of the object using any one of the above inventions [1] to [3], and a quality control step of performing quality control of the object based on the measurement results of the predetermined physical quantity obtained by the measurement step.

[0012] [7] A manufacturing facility for an object according to the present invention comprises a manufacturing facility for manufacturing an object, and the measuring device of the above invention [4] for measuring a predetermined physical quantity at a predetermined position of the object manufactured by the manufacturing facility.

[0013] [8] A calculation unit according to the present invention is a calculation unit for measuring a predetermined physical quantity at a predetermined position of an object, and executes a process of detecting edges of the object from a front-facing image calculated from an image of the object photographed together with a marker plate on which a pattern serving as a length reference for length measurement is drawn, and a process of calculating the predetermined physical quantity based on the detected edges. In the edge detection process, the calculation unit also executes a process of selecting a machine learning model that uses the front-facing image as input data and the edges in the front-facing image as output data according to the type of edge to be detected, a process of detecting the edges in the front-facing image by inputting the front-facing image to the selected machine learning model, and a process of removing overdetection of the edges and / or interpolating undetected edges based on the connectivity of the detected edges.

[0014] [9] In the invention [8], the calculation unit according to the present invention performs a process of converting an image of the object into a front-facing image having a predetermined resolution using the pattern in the image in order to calculate the front-facing image from the image of the object.

[0015]

[10] The imaging terminal of the present invention is an imaging terminal for measuring a predetermined physical quantity at a predetermined position of an object, and is equipped with an imaging unit that captures an image of the object together with a marker plate on which a pattern that serves as a length reference for length measurement is drawn, and a second calculation unit that performs processing on the captured image, wherein the second calculation unit performs processing to output the captured image to an external first calculation unit that is the calculation unit of the above invention [8] or the above invention [9], and / or is the calculation unit of the above invention [8] or the above invention [9].

[0016]

[11] The imaging system according to the present invention is an imaging system for measuring a predetermined physical quantity at a predetermined position of an object, and comprises a marker plate on which a pattern serving as a length reference for length measurement is drawn, and the imaging terminal of the above invention

[10] that photographs the object on which the marker plate is installed.

[0017]

[12] An information processing device according to the present invention includes a third calculation unit that executes one or more of a process of changing manufacturing conditions for an object and a process of determining the degree of quality of the object, based on a predetermined physical quantity at a predetermined position of the object calculated by an external first or second calculation unit that is the calculation unit of the invention [8] or the invention [9], and a plurality of pieces of information about the object from which the physical quantity has been calculated.

[0018]

[13] An object manufacturing facility according to the present invention comprises a manufacturing facility for manufacturing an object, and an imaging terminal according to the above invention

[10] for measuring a predetermined physical quantity at a predetermined position of the object manufactured by the manufacturing facility.

[0019] The measurement method, measurement device, calculation unit, imaging terminal, and imaging system according to the present invention can measure a predetermined physical quantity at a predetermined position on an object in a short time and with high accuracy. Furthermore, the object manufacturing method according to the present invention can improve the manufacturing yield of objects. Furthermore, the object quality control method according to the present invention can provide high-quality objects. Furthermore, the object manufacturing equipment according to the present invention can improve the manufacturing yield of objects. Furthermore, the information processing device according to the present invention can improve the manufacturing yield of objects and / or provide high-quality objects.

[0020] FIG. 1 is a schematic diagram showing the configuration of a measurement device according to a first embodiment of the present invention. FIG. 2 is a flowchart showing the flow of physical quantity measurement processing according to the first embodiment of the present invention. FIG. 3 is a flowchart showing the flow of imaging processing shown in FIG. 2. FIG. 4 is a flowchart showing the flow of projective transformation processing shown in FIG. 2. FIG. 5 is a schematic diagram showing an example of images of a weld and a marker plate captured by imaging processing. FIG. 6 is a diagram showing an example of dimensions of the marker plate shown in FIG. 5. FIG. 7 is a flowchart showing the flow of detection processing shown in FIG. 2. FIG. 8 is a schematic diagram showing an example of an edge image obtained by the processing of step S32. FIG. 9 is a flowchart showing the flow of edge identification processing shown in FIG. 7. FIG. 10 is a diagram for explaining a specific example of the processing of step S334 shown in FIG. 9. FIG. 11 is a diagram for explaining a specific example of the processing of step S335 shown in FIG. 9. FIG. 12 is a diagram for explaining a specific example of the processing of step S336 shown in FIG. 9. FIG. 13 is a diagram for explaining a specific example of the processing of step S336 shown in FIG. 9. FIG. 14 is a diagram showing an example of an edge image obtained as a result of the processing of steps S334 to S336 shown in FIG. 9. FIG. 15 is a diagram showing an example of an edge image obtained as a result of the processing of step S339. FIG. 16 is a diagram for explaining pipe thickness, offset, bead height, inner surface peaking, outer surface peaking, and bead rise angle. FIG. 17 is a flowchart showing the flow of the measurement process when measuring pipe thickness. FIG. 18 is a flowchart showing the flow of the measurement process when measuring offset and bead height. FIG. 19-1 is a flowchart showing the flow of the measurement process when measuring inner surface peaking. FIG. 19-2 is a flowchart showing the flow of the measurement process when measuring outer surface peaking. FIG. 19-3 is a diagram for explaining the measurement process of outer surface peaking. FIG. 20 is a flowchart showing the flow of the measurement process when measuring bead rise angle. FIG. 21 is a schematic diagram showing the configuration of a measurement device according to a second embodiment of the present invention. FIG. 22 is a block diagram showing the configuration of the main components of the measurement device shown in FIG. 21. FIG. 23 is a block diagram showing the configuration of the main components of a modified example of the measurement device shown in FIG. 21.FIG. 24 is a flowchart showing the flow of processing by the imaging terminal and information processing device implemented by the measurement device shown in FIG. 21 . FIG. 25 is a block diagram showing the main configuration of a measurement device according to a third embodiment of the present invention. FIG. 26 is a flowchart showing the flow of processing by the imaging terminal and information processing device implemented by the measurement device shown in FIG. 25 . FIG. 27 is a block diagram showing the main configuration of a measurement device according to a fourth embodiment of the present invention. FIG. 28 is a flowchart showing the flow of processing by the imaging terminal and information processing device implemented by the measurement device shown in FIG. 27 . FIG. 29 is a block diagram showing the main configuration of a measurement device according to a fifth embodiment of the present invention. FIG. 30 is a flowchart showing the flow of processing by the imaging terminal, first information processing device, and second information processing device implemented by the measurement device shown in FIG. 29 . FIG. 31 is a schematic diagram showing the position where the pipe thickness was measured superimposed on a captured image. FIG. 32 is a diagram showing the pipe thickness measurement results and error range in an example.

[0021] Measurement devices and methods according to first to fifth embodiments of the present invention will be described below with reference to the drawings. In these embodiments, the measurement device measures physical quantities related to the cross-sectional shape of a welded steel pipe. However, the present invention is not limited to these embodiments and can be applied to general processes for measuring physical quantities at predetermined positions on objects that are prone to edge formation. Examples of physical quantities related to the cross-sectional shape of a welded steel pipe include pipe thickness, offset, bead height, inner surface peaking, outer surface peaking, and bead rise angle, which will be described in more detail below.

[0022] [First embodiment] [Configuration] First, the configuration of a measurement device according to a first embodiment of the present invention will be described with reference to Fig. 1. Fig. 1 is a schematic diagram showing the configuration of a measurement device according to a first embodiment of the present invention. In this embodiment, the measurement object will be described as a cross section of a welded portion 1c of a welded steel pipe 1. As shown in Fig. 1, a measurement device 20 according to the first embodiment of the present invention is a device that measures physical quantities related to the cross-sectional shape of a welded portion 1c of a welded steel pipe 1, and includes an imaging unit 2, a calculation unit 3, a display unit 4, a memory unit 5, and a marker plate 10.

[0023] The imaging unit 2 is an imaging means for capturing an image of the cross section of the welded steel pipe 1, and is composed of a monochrome camera or a color camera. It is preferable to use a color camera as the imaging unit 2. The imaging unit 2 is preferably designed to ensure a predetermined resolution when capturing an image of the cross section of the welded steel pipe 1. If the installation position of the imaging unit 2 can be changed within a predetermined range, it is preferably designed to ensure the predetermined resolution at all positions within that predetermined range. Furthermore, the imaging unit 2 captures an image of the cross section of the welded steel pipe 1 so that it includes predetermined positions for measuring predetermined physical quantities.

[0024] The calculation unit 3 is a calculation means that performs image processing such as projective transformation on the image data of the cross section of the welded steel pipe 1 captured by the imaging unit 2, and calculates physical quantities related to the cross-sectional shape of the welded portion 1c. The calculation unit 3 is configured by a computer equipped with a CPU (Central Processing Unit), etc.

[0025] The display unit 4 is a display means for displaying information including physical quantities related to the cross-sectional shape of the welded portion 1c calculated by the calculation unit 3. The display unit 4 is configured with a liquid crystal display or the like. In addition to the physical quantities calculated by the calculation unit 3, the display unit 4 may simultaneously display image data of the cross section of the welded steel pipe 1 captured by the imaging unit 2, image data resulting from image processing by the calculation unit 3, and the like.

[0026] The memory unit 5 is a storage means for storing information including physical quantities related to the cross-sectional shape of the welded portion 1c calculated by the calculation unit 3. The memory unit 5 is configured with a hard disk drive or the like. The memory unit 5 may store image data of the cross section of the welded steel pipe 1 photographed by the imaging unit 2, image data resulting from image processing by the calculation unit 3, etc.

[0027] When an image of the cross section of the welded steel pipe 1 is captured by the imaging unit 2, a marker plate 10 is placed on the cross section of the welded steel pipe 1. The marker plate 10 is used to measure the length of the cross section of the welded steel pipe 1, and has a pattern 10a drawn on its surface, the pattern 10a having a known length that serves as a length reference for length measurement. As the pattern 10a, it is preferable to use a square pattern with one or more sides having a known length, or one or more AR markers (e.g., Arucco) that are markers for three-dimensional surveying.

[0028] The marker plate 10 is preferably attached to the cross section or surface of the welded steel pipe 1 with a magnet or the like so that it can be easily attached and detached. In order to improve the accuracy of the projective transformation described below, it is preferable to have as many patterns 10a as possible. It is preferable to arrange the weld 1c and the patterns 10a so that they are on the same plane as much as possible. Under normal operating methods, it is preferable to make the marker plate 10 small so that the entire marker plate 10 can be captured when an image of the cross section of the welded steel pipe 1 is captured from the location where the imaging unit 2 is installed.

[0029] In order to realize simple measurement of physical quantities, the imaging unit 2, the calculation unit 3, and the display unit 4 may be replaced with an imaging terminal 6 having equivalent functions, as will be described in the second embodiment, etc., which will be described later.

[0030] 2 to 20, a flow of the physical quantity measurement process according to the first embodiment of the present invention using the measuring device 20 will be described. Fig. 2 is a flowchart showing the flow of the physical quantity measurement process according to the first embodiment of the present invention. The flowchart shown in Fig. 2 starts when an execution command for the physical quantity measurement process is input to the measuring device 20, and the physical quantity measurement process proceeds to step S1.

[0031] In the processing of step S1, an operator operates the imaging unit 2 to capture an image of the welded portion 1c, including the bead portion 1a, of the welded steel pipe 1 on which the marker plate 10 is installed (photographing step). The imaging unit 2 inputs image data including the captured images of the welded portion 1c and the marker plate 10 to the calculation unit 3 (photographing process). Details of this photographing process will be described later with reference to FIG. 3. This completes the processing of step S1, and the physical quantity measurement process proceeds to the processing of step S2.

[0032] In the process of step S2, the calculation unit 3 performs projective transformation on the image data input from the imaging unit 2 into front-facing image data having a predetermined resolution (projective transformation process). Details of this projective transformation process will be described later with reference to Figures 4 to 6. This completes the process of step S2, and the physical quantity measurement process proceeds to the process of step S3.

[0033] In the process of step S3, the calculation unit 3 detects the edge position of the cross section of the welded steel pipe 1 from the front-view image data obtained by the process of step S2 (detection process). Details of this detection process will be described later with reference to Figures 7 to 15. This completes the process of step S3, and the physical quantity measurement process proceeds to the process of step S4.

[0034] In the process of step S4, the calculation unit 3 calculates physical quantities related to the cross-sectional shape of the welded portion 1c based on the edge positions detected in the process of step S3 (measurement process). Details of this measurement process will be described later with reference to Figures 16 to 20. This completes the process of step S4, and the physical quantity measurement process proceeds to the process of step S5.

[0035] In the process of step S5, the display unit 4 displays information including the physical quantities related to the cross-sectional shape of the welded portion 1c calculated in the process of step S4. The operator can change the photographing conditions for the image of the welded portion 1c based on the information displayed on the display unit 4. This completes the process of step S5, and the series of physical quantity measurement processes ends.

[0036] <Image Capture Processing> Next, the flow of the image capture processing in step S1 will be described with reference to Fig. 3. Fig. 3 is a flowchart showing the flow of the image capture processing shown in Fig. 2. The flowchart shown in Fig. 3 starts when an instruction to execute a physical quantity measurement processing is input to the measurement device 20, and the image capture processing proceeds to step S11.

[0037] In the process of step S11, the operator places the marker plate 10 near the weld 1c, including the bead 1a, of the welded steel pipe 1. At this time, it is preferable that the operator places the marker plate 10 so that the weld 1c and the pattern 10a of the marker plate 10 are positioned on the same plane as much as possible. This completes the process of step S11, and the imaging process proceeds to the process of step S12.

[0038] In the process of step S12, the operator operates the imaging unit 2 to capture an image of the weld 1c, including the bead portion 1a, of the welded steel pipe 1 on which the marker plate 10 is installed. At this time, the image of the weld 1c is captured so that a predetermined position for measuring a predetermined physical quantity is included in the image. The predetermined physical quantity is a physical quantity that will be measured in the subsequent measurement process (step S4). Furthermore, it is preferable that the weld 1c and all of the patterns 10a drawn on the marker plate 10 are captured at once. The imaging unit 2 inputs image data including the captured images of the weld 1c and the marker plate 10 to the calculation unit 3. This completes the process of step S12, and the series of imaging processes ends.

[0039] <Projective Transformation Processing> Next, the flow of the projective transformation processing in step S2 will be described with reference to Figures 4 to 6. Figure 4 is a flowchart showing the flow of the projective transformation processing shown in Figure 2. The flowchart shown in Figure 4 starts when the imaging processing is completed, and the projective transformation processing proceeds to step S21.

[0040] In step S21, the calculation unit 3 detects the positions of the patterns 10a of the marker plate 10 from the image data input from the imaging unit 2, and detects the coordinates of the patterns 10a on the image (hereinafter referred to as image coordinates). Here, the calculation unit 3 detects the positions of as many patterns 10a as possible from the image data, and lists the image coordinates of the positions (center positions or vertices) of the patterns 10a that have been successfully detected.

[0041] Fig. 5 is a schematic diagram showing an example of an image of the welded portion 1c and the marker plate 10 captured by the imaging process. In the example shown in Fig. 5, the marker plate 10 is configured as a rectangular flat plate having a rectangular opening 10b in the center. A plurality of patterns 10a are respectively arranged near the four corners of the marker plate 10. The shape of the marker plate 10 and the positions of the patterns 10a are not limited to the shape and positions shown in Fig. 5.

[0042] The image coordinates of pattern 10a are expressed by the number of pixels along each axis, with the upper left vertex of the image as the origin, the positive x-axis direction as the rightward direction of the image, and the positive y-axis direction as the downward direction of the image. For example, if the upper left vertex P11 of pattern 10a in the upper left of FIG. 5 is successfully detected, its image coordinates are determined as follows: That is, starting from the origin in the upper left of the image, moving x11 pixels along the x-axis and y11 pixels along the y-axis, the upper left vertex P11 is reached. Therefore, the calculation unit 3 determines the image coordinates of the upper left vertex P11 to be (x11, y11). Similarly, the calculation unit 3 lists the image coordinates (xkn, ykn) of all successfully detected center positions or vertices Pkn (n=1, 2, ..., Nk) for each of all successfully detected patterns k=1, 2, ..., K.

[0043] When it is desired to acquire many image coordinates from a small number of patterns 10a, the shape of the patterns 10a is preferably a shape with vertices, such as a rectangle. On the other hand, when pursuing ease of the pattern 10a detection process and image coordinate acquisition process, it is preferable that the shape of the patterns 10a be a point-symmetric shape, such as a circle, and that the image coordinates of the center position be detected. Patterns 10a for which detection methods and image coordinate acquisition methods have already been established may be used. This completes the process of step S21, and the projective transformation process proceeds to step S22.

[0044] Returning to FIG. 4 , in step S22, the calculation unit 3 counts the number of vertices Pkn detected in step S21 and determines whether projective transformation is possible. Generally, projective transformation requires that four or more points correspond to each other between image coordinates and coordinates in actual three-dimensional space. Therefore, if the number of detected vertices Pkn is less than four (step S22: No), the calculation unit 3 determines that projective transformation is impossible and sets a flag indicating that the image transformation has failed, after which the series of projective transformation processes ends. If projective transformation is impossible in the projective transformation process, the physical quantity measurement process skips the detection process and proceeds to the measurement process. On the other hand, if the number of detected vertices Pkn is four or more (step S22: Yes), the calculation unit 3 determines that projective transformation is possible and proceeds to step S23.

[0045] In the processing of step S23, the calculation unit 3 estimates projective transformation parameters of the captured image data using the image coordinates of the vertices Pkn detected in the processing of step S21, and performs projective transformation on the image data. Specifically, first, before estimating the projective transformation parameters, the calculation unit 3 sets the resolution r of the image data after projective transformation as a parameter. Furthermore, when performing projective transformation, the calculation unit 3 sets in advance the actual coordinates (hereinafter referred to as "object coordinates") of the vertices Pkn of the pattern 10a. Figure 6 is a diagram showing an example of the dimensions of the marker plate 10 shown in Figure 5. The shape of the marker plate 10 and the position of the pattern 10a are not limited to the shape and position shown in Figure 6.

[0046] As shown in FIG. 6 , the object coordinates of pattern 10a are expressed as lengths (e.g., in units of mm) along each axis, with the upper left corner of marker plate 10 as the origin, the rightward direction of marker plate 10 as the positive X-axis direction, and the downward direction of marker plate 10 as the positive Y-axis direction. For example, the object coordinates of the upper left vertex P11 of pattern 10a in the upper left corner of FIG. 6 are determined as follows. That is, starting from the origin at the upper left corner of marker plate 10, moving X11 [mm] along the X-axis direction and Y11 [mm] along the Y-axis direction, the upper left vertex P11 is reached. Therefore, calculation unit 3 determines the object coordinates of the upper left vertex P11 to be (X11, Y11). Similarly, calculation unit 3 lists the object coordinates (Xkn, Ykn) of all successfully detected center positions or vertices Pkn (n = 1, 2, ..., Nk) for each of all successfully detected patterns k = 1, 2, ..., K.

[0047] From the above, the correspondence between the object coordinates (Xkn, Ykn) and the image coordinates (xkn, ykn) has been clarified for all vertices Pkn that have been successfully detected. Next, the calculation unit 3 calculates the parameters of the projective transformation from these correspondences. The projective transformation is one of the image deformation processes. The projective transformation transforms the image data by moving the image coordinates (x, y) to other image coordinates (x', y') using the following formulas (1) and (2). In formulas (1) and (2), A, B, C, D, E, F, G, and H are the parameters of the projective transformation.

[0048]

[0049]

[0050] By performing projective transformation using appropriate parameters on the captured image data, it is possible to arbitrarily determine the correspondence between one pixel of the projectively transformed image data and the actual length, i.e., the resolution r of the projectively transformed image data. By utilizing this, by performing projective transformation on the image data of the weld 1c of the welded steel pipe 1, it is possible to measure physical quantities related to the cross-sectional shape of the weld on the image.

[0051] To calculate the projective transformation parameters, at least four or more "points" arranged on the same plane are photographed, and the correspondence between their object coordinates (X, Y) and image coordinates (x, y) is obtained. In this embodiment, the correspondence between the object coordinates and the image coordinates is obtained by predetermining the positions of the center positions and vertices of the pattern 10a. Therefore, when photographing the marker plate 10 using the imaging unit 2 shown in FIG. 1 or the imaging terminal 6 shown in FIG. 21 (described later), it is preferable to photograph not only the welded portion 1c but also four or more center positions or vertices Pkn of the pattern 10a so that they are included in the image data.

[0052] The parameters of the projective transformation are calculated as follows. First, the calculation unit 3 performs linear transformation on the object coordinates (Xkn, Ykn) of all vertices Pkn using an appropriate coefficient a and constants b and c, and determines the coordinates (xkn', ykn') (units are, for example, [pix]) where the vertices Pkn should be in the image data after projective transformation. The linear transformation is performed using the following formulas (3) and (4).

[0053]

[0054]

[0055] The coefficient a is the reciprocal of the resolution r of the image data after projective transformation. Therefore, it is preferable to determine the resolution r of the image data after projective transformation in advance and then set the value of the coefficient a to the reciprocal of r. The constants b and c are the x-coordinate and y-coordinate, respectively, of the origin of the object coordinate system in the image data after projective transformation. Therefore, it is preferable to determine in advance the coordinates (x0, y0) that should be taken by the origin of the object coordinates in the image data after projective transformation and then set the values ​​of the constants b and c to b=x0 and c=y0, respectively.

[0056] For example, consider a case where the resolution r of the image data after projective transformation is 0.5 [mm / pix] and the position of the origin of the object coordinates in the image data after projective transformation is (0 [pix], 100 [pix]). In this case, the coefficient a is set to a = 1 / r = 1 / 0.5 [mm / pix] = 2 [pix / mm], and the constants b and c are set to 0 [pix] and 100 [pix], respectively.

[0057] Next, the calculation unit 3 calculates the values ​​of parameters A, B, C, D, E, F, G, and H of formulas (1) and (2). The calculation unit 3 determines the values ​​of each parameter so that the image coordinates (x, y) of the vertex P in the captured image data are transformed into the coordinates (x′, y′) where the vertex P should be in the image data after projective transformation, using formulas (1) and (2).

[0058] There are several specific methods for calculating each parameter. For example, if the number of vertices Pkn is exactly four, substituting the above-mentioned coordinate values ​​into Equation (1) and Equation (2) results in the number of equations and the number of unknowns matching, and therefore, the parameters A, B, C, D, E, F, G, and H can be solved as simultaneous equations. Furthermore, if the number of vertices Pkn is more than four, the values ​​of the parameters A, B, C, D, E, F, G, and H can be determined using a known mathematical technique such as the least squares method. The specific method of projective transformation is not limited to the method shown here. This completes the processing of step S23, and the projective transformation process proceeds to step S24.

[0059] Returning to FIG. 4 , in the process of step S24, the calculation unit 3 performs projective transformation on the image data captured in the imaging process using the projective transformation parameters estimated in the process of step S23. The projective transformation parameters are a combination of parameters A, B, C, D, E, F, G, and H determined in the process of step S23. The image data after projective transformation is generated by replacing the coordinates (x, y) in the image data before transformation with coordinates (x', y') calculated using Equation (1) and the above-mentioned Equation (2), while leaving the luminance values ​​or RGB values ​​in the image data before transformation unchanged. This completes the process of step S24, and the series of projective transformation processes ends.

[0060] In the present invention, it is assumed that the weld 1c of the welded steel pipe 1, which is the object of measurement, and the marker plate 10 are on the same plane. This assumption is satisfied when the object of measurement is a plane or a curved surface that can be considered to be a plane. Specifically, it is preferable that the curved surface has a variation of approximately 2 mm or less relative to a plane parallel to the surface of the marker plate 10. Generally, variation in a direction parallel to the direction perpendicular to the image plane (the x-y plane shown in FIG. 5 ) (the z direction shown in FIG. 5 ) cannot be measured from a two-dimensional image. Therefore, when performing three-dimensional measurement of the object of measurement, it is preferable to photograph the object of measurement from multiple directions and acquire multiple images. On the other hand, in the present invention, under the assumption that the object of measurement can be considered to be a plane, measurement in a direction perpendicular to the image plane is omitted. This enables image correction by projective transformation and simple measurement from two-dimensional images. Depending on the object of measurement, even simpler measurement from a single two-dimensional image is possible.

[0061] <Detection Process> Next, the flow of the detection process in step S3 will be described with reference to Figures 7 to 15. Figure 7 is a flowchart showing the flow of the detection process shown in Figure 2. The flowchart shown in Figure 7 starts when information regarding the type of boundary line (edge) to be detected is input after the image conversion process in step S24 is completed, and the detection process proceeds to step S31. In this embodiment, the boundary line to be detected is specified from among the boundary line between the cross section and the outer surface of the welded steel pipe 1, the boundary line between the cross section and the inner surface of the welded steel pipe 1, and the boundary line of the chamfered portion in the cross section of the welded steel pipe 1, depending on the physical quantity calculated in the subsequent measurement process.

[0062] In the processing of step S31, the calculation unit 3 selects one edge detection model to be used in subsequent processing from the trained edge detection models shown in (1) to (3) below, in accordance with the physical quantities to be calculated in subsequent measurement processing. The edge detection model is a machine learning model in which image data after projective transformation generated by projective transformation processing is used as input data, and image data of an edge image in which the edge portion of the welded steel pipe 1 in the image data after projective transformation is emphasized is used as output data. An edge image is, for example, a binary image in which non-edge portions are white and portions estimated to be edges are black. Alternatively, an edge image is, for example, a monochrome image with 256 gradations in which the value of the probability or reliability of each pixel of the input image being an edge is normalized in the range of 0 to 255, and the pixel value of each pixel of the input image is replaced with the value of the probability or reliability.

[0063] (1) A model for detecting the boundary line between the cross section and the outer surface of the welded steel pipe 1. (2) A model for detecting the boundary line between the cross section and the inner surface of the welded steel pipe 1. (3) A model for detecting the boundary line of the chamfered part (the line indicating the boundary between the processed surface and the non-processed surface) in the cross section of the welded steel pipe 1.

[0064] The edge detection model is generated by machine learning using multiple sets of training data consisting of image data after projective transformation and image data of edge images extracted from that image data. The edge detection model is an edge detection method using image processing, deep learning, etc., and parameter information related to the edge detection process (e.g., weight information obtained as a result of learning), and is preferably specialized for detecting the edge position of the cross section of the welded steel pipe 1. In particular, when deep learning is used, it is preferable to use a network structure specialized for edge detection (e.g., see Non-Patent Document 2).

[0065] Depending on the physical quantities calculated in the subsequent measurement processes, some edges may not need to be detected. Therefore, the calculation unit 3 may use only a portion of the edge detection models to detect a predetermined minimum number of edges. For example, when calculating the pipe thickness in the measurement process, all of the edge detection models (1) to (3) above are used. On the other hand, when calculating the offset, bead height, outer surface peaking, etc. in the measurement process, it is sufficient to use only the edge detection model (1) above. Furthermore, when calculating the inner surface peaking, it is sufficient to use only the edge detection model (2) above. The edge detection model to be used is determined based on the information regarding the edge type input at the start of the detection process. This completes the process of step S31, and the detection process proceeds to step S32.

[0066] In the process of step S32, the calculation unit 3 inputs the projectively transformed image data obtained by the image transformation process of step S24 into the edge detection model selected in the process of step S31, thereby extracting edge images from the projectively transformed image data. The processes of steps S31 and S32 are repeated the same number of times as the number of types of boundary lines to be detected. This completes the process of step S32, and the detection process proceeds to the process of step S33.

[0067] In the process of step S33, the calculation unit 3 extracts edge positions from the edge image extracted in the process of step S32 (edge ​​identification process). Details of this edge identification process will be described later with reference to Figures 8 to 15. This completes the process of step S33, and the detection process proceeds to the process of step S34.

[0068] In the process of step S34, the calculation unit 3 determines whether or not all pre-specified edges have been detected. If the result of the determination is that all pre-specified edges have been detected (step S34: Yes), the calculation unit 3 ends the series of detection processes. On the other hand, if all pre-specified edges have not been detected (step S34: No), the calculation unit 3 returns the detection process to the process of step S31.

[0069] (Edge Identification Processing) Next, the edge identification processing of step S33 will be described in detail with reference to FIGS. 8 to 15. FIG. 8 shows an example of an edge image obtained by the processing of step S32. In FIG. 8, dashed lines 100 indicate actual edge positions, and lines 101 indicate locations detected as edges in the processing of step S32. In the processing of step S32, overdetection and underdetection of edges may occur depending on the properties of the outer surface of the welded steel pipe 1 and the state of the background. Therefore, in the edge identification processing, the calculation unit 3 removes overdetection of edges and interpolates underdetected edges based on the connectivity of the detected edges. In the following description, it is assumed that the processing of step S24 is performed by projective transformation so that edges traverse the image in the x-axis direction. However, projective transformation may also be performed so that edges traverse the image in the y-axis direction. If projective transformation is performed so that edges traverse the image in the y-axis direction, the edge positions can be extracted by swapping the x-axis and y-axis in the following description.

[0070] Fig. 9 is a flowchart showing the flow of the edge identification process shown in Fig. 7. The flowchart shown in Fig. 9 starts when the process of step S32 ends, and the edge identification process proceeds to the process of step S331.

[0071] In the process of step S331, the calculation unit 3 binarizes the edge image generated by the process of step S32. If the edge image is a binary image, this process is unnecessary. If the edge image is a monochrome image with gradation, the calculation unit 3 binarizes the edge image using an appropriate gradation threshold. The binarized image obtained by this process is, for example, an image in which non-edge portions are white and portions estimated to be edges are black. This completes the process of step S331, and the edge identification process proceeds to the process of step S332.

[0072] In step S332, the calculation unit 3 initializes a flag array indicating whether an edge is valid or invalid. Specifically, in the image after projective transformation generated in step S24, the edge is photographed so as to traverse the x-axis direction of the image. Therefore, the calculation unit 3 prepares and initializes an array for storing the y-coordinate of the edge and an array of flags indicating whether the edge is valid or invalid for each x-coordinate. The array for storing the y-coordinate of the edge is an array that stores the same number of values ​​as the image width, and records the y-coordinate of the edge calculated in the process described below for each x-coordinate. The array for storing the y-coordinate of the edge is initialized with missing values. The flag array indicating whether the edge is valid or invalid is an array that stores the same number of true / false values ​​as the image width, indicating whether the y-coordinate value of the edge for each x-coordinate is correct. If the calculated y-coordinate value of the edge can be determined to be correct, the flag is set to valid (true); if it cannot be determined to be correct, the flag is set to invalid (false). The flag array indicating whether the edge is valid or invalid is initialized with a value indicating invalid (false). This completes the process of step S332, and the edge identification process proceeds to step S333.

[0073] In the process of step S333, the calculation unit 3 generates a plurality of divided binary images by dividing the binary image (width W, height h) obtained in the process of step S331 into strip-shaped images with a width of 1 and a height of h. This completes the process of step S333, and the edge identification process proceeds to the process of step S334.

[0074] Hereinafter, the calculation unit 3 executes the processes of steps S334 to S336 in ascending order of x-coordinates of the divided binary images generated by the process of step S333. When the execution of the processes of steps S334 to S336 for one divided binary image is completed, the calculation unit 3 extracts a divided binary image from the x-coordinate position obtained by incrementing the x-coordinate of the divided binary image for which the processing has been completed by 1, and again repeats the execution of the processes of steps S334 to S336. From the way the x-axis of the image coordinate system is defined, this process means that the generation of rectangular divided binary images is repeated starting from the left end of the original binary image and continuing until the right end is reached.

[0075] In step S334, the calculation unit 3 extracts pixels that can be edges from the divided binary image and determines whether there are one or more edge candidates in the divided binary image based on the extracted pixels. Specifically, the calculation unit 3 first lists the y coordinates of pixels determined to be edges within the divided binary image and generates an edge candidate point y coordinate array {yn} (n = 1, 2, ..., Nx). Nx is the number of pixels determined to be edges in the divided binary image extracted from a certain x coordinate. The calculation unit 3 then calculates the difference Δy between the maximum and minimum values ​​of the edge candidate point y coordinate array {yn} and compares it with a preset threshold TΔy. This process makes it possible to easily determine whether the entire edge candidate point y coordinate array {yn} constitutes a single edge.

[0076] Specific examples of the processing in step S334 are shown in FIGS. 10(a) and 10(b). In the example shown in FIGS. 10(a) and 10(b), the divided binary image extracted from the position x = x1 has only one black edge candidate (edge ​​candidate E1). In this case, the y coordinates of the pixels determined to be edges are likely to be close to each other. On the other hand, the divided binary image extracted from the position x = x2 has two edge candidates (edge ​​candidates E2 and E3). In this case, the y coordinates of the pixels determined to be edges are likely to be scattered over a wide range. Therefore, by setting the upper limit of the y coordinate width of one edge in the divided binary image as the threshold TΔy, it is possible to determine whether one or multiple edge candidates exist in the divided binary image. This completes the processing in step S334, and the edge identification processing proceeds to step S335.

[0077] Returning to FIG. 9 , in the process of step S335, the calculation unit 3 calculates the y-coordinate of an edge in the divided binary image based on the edge candidate point y-coordinate array {yn} obtained in the process of step S334. The y-coordinate of an edge represents the y-coordinate of the edge at a certain x-coordinate in the original binary image, and is hereinafter referred to as yx (x = 1, 2, ..., W). In the process of step S335, the process is performed separately depending on whether there is a single edge candidate in the divided binary image or multiple edge candidates. If there is a single edge candidate in the divided binary image, the calculation unit 3 sets the average value ynm of the edge candidate point y-coordinate array {yn} as the y-coordinate yx of the edge in the divided binary image. On the other hand, if there are multiple edge candidates in the divided binary image, the calculation unit 3 sets the edge candidate point y-coordinate array {yn} that is closest to the y-coordinate y(x-1) of the edge in the left-adjacent divided binary image, i.e., the divided binary image processed immediately before, as the y-coordinate yx of the edge. If the y-coordinate y(x-1) of the edge in the left adjacent divided binary image is a missing value, the calculation unit 3 also sets the y-coordinate yn of the edge in the divided binary image to be processed as a missing value.

[0078] 11(a) and 11(b) show a specific example of processing when multiple edge candidates exist in a divided binary image. In the example shown in FIGS. 11(a) and 11(b), multiple edge candidate points P1 to P3 exist in the divided binary image extracted from the x = x3 position. Of these, edge candidate point P2, which is closest to the y coordinate of the edge obtained from the x coordinate position of the adjacent edge to the left, x = x3-1, is determined to be the true edge, and its y coordinate is saved as the edge's y coordinate yn. On the other hand, edge candidate points P1 and P3 are determined not to be true edges. The pixels corresponding to edge candidate points P1 and P3 in the figure are indicated by an "x." This processing allows the position of that edge to be selected if a single edge candidate exists in the divided binary image, or the position of the edge that is considered to be closest to the adjacent edge to the left if multiple edges exist. This completes the processing of step S335, and the edge identification processing proceeds to step S336.

[0079] Returning to FIG. 9 , in the processing of step S336, the calculation unit 3 determines whether the y-coordinate yx of the edge calculated in the processing of step S335 is plausible. Like the processing of step S335, the processing of step S336 is performed by distinguishing between whether there is a single edge candidate or multiple edge candidates in the divided binary image. If there is a single edge candidate in the divided binary image, the calculation unit 3 compares the difference Δys (=|yx−y(x−1)|) between the y-coordinate yx of the edge at the current x-coordinate position and the y-coordinate y(x−1) of the adjacent edge to the left with a preset threshold TΔys. If Δys<TΔys, the calculation unit 3 determines that the y-coordinate yx of the edge at the current x-coordinate position is valid. On the other hand, if Δys<TΔys is not true, the calculation unit 3 determines that the y-coordinate yx of the edge at the current x-coordinate position is invalid. Specifically, as shown in Figures 12(a) and 12(b), there is only one edge candidate extracted from positions x = x4 and x = x5. However, at position x = x4, where the difference Δys in the y coordinate from the edge to the left is smaller than TΔys, the edge is determined to be connected and valid. On the other hand, at position x = x5, where the difference Δys in the y coordinate from the edge to the left is equal to or greater than TΔys, the edge is determined to be disconnected and invalid. Invalid pixels are indicated by diagonal lines in the figures.

[0080] On the other hand, if there are multiple edge candidates in the divided binary image, the calculation unit 3 compares the difference Δym (=|yx-y(x-1)|) between the y-coordinate yx of the edge at the current x-coordinate position and the y-coordinate y(x-1) of the adjacent edge to the left with a predetermined threshold TΔym. If Δym<TΔym and the y-coordinate y(x-1) of the adjacent edge to the left is valid, the calculation unit 3 determines that the y-coordinate yx of the edge at the current x-coordinate position is valid. On the other hand, if this is not the case, the calculation unit 3 determines that the y-coordinate yx of the edge at the current x-coordinate position is invalid. Specifically, as shown in FIGS. 13(a) and 13(b), there are multiple edge candidates in the divided binary image extracted from the positions x=x6 and x=x7. However, at the position x=x6 where the y-coordinate difference Δys from the adjacent edge to the left is smaller than TΔys, the edge is determined to be connected and valid. On the other hand, at the position x=x7, where the difference Δys in the y-coordinate with the adjacent edge to the left is equal to or greater than TΔys, the edge is determined to be disconnected and invalid. Invalid pixels are indicated by diagonal lines in the figure. Furthermore, for the edge x=x7+1, which is adjacent to the right of x=x7, the difference Δys in the y-coordinate with the adjacent edge to the left is smaller than TΔys, but it is also determined to be invalid because the edge at x=x7 is determined to be invalid.

[0081] Returning to FIG. 9 , the processing of step S336 has the effect of detecting a sudden change in the y-coordinate of an edge during the processing and presuming that this is due to an erroneous detection in the processing of step S32 and eliminating the change. Therefore, the thresholds TΔys and TΔym may both be set to the maximum y-coordinate fluctuations allowed for connected edges. The reason for not determining whether the edge to the left is valid when there is a single edge candidate is that if no edge is detected in the divided binary image at a certain x-coordinate and a single edge appears in the divided binary image to the right, the former edge is necessarily invalid. Conversely, the reason for determining whether the edge to the left is valid when there are multiple edge candidates is that if no edge is detected in the divided binary image at a certain x-coordinate and multiple edges appear in the divided binary image to the right, it is impossible to determine which edge to select, so the determination is postponed until a single edge candidate appears. This process is intended to anticipate that a single correct edge candidate will appear in the divided binary image with a fairly high probability, even if the edges detected in step S32 include erroneous detections. This completes step S336, and the edge identification process proceeds to step S337.

[0082] When the above processing of steps S334 to S336 is completed for all divided binary images, the processing results are stored in both the edge y-coordinate array and the flag array indicating the valid / invalid determination. FIG. 14 shows a conceptual diagram of the processing results. First, the image is divided into valid and invalid sections based on the flag array indicating the valid / invalid determination. When the values ​​of the edge y-coordinate array included in the valid section are plotted, the result is edge 101a in the figure. Edge 101a is an edge that was determined to have been correctly detected among the edges detected by the processing of step S32. On the other hand, the invalid section is a section where no edge was detected in the processing of step S32, or where a detected edge was detected but the correct edge could not be determined.

[0083] Returning to FIG. 9 , in the process of step S337, the calculation unit 3 determines whether or not the processes of steps S334 to S336 have been completed for all divided binary images. If the result of the determination is that the processes of steps S334 to S336 have been completed for all divided binary images (step S337: Yes), the calculation unit 3 proceeds with the edge identification process to the process of step S339. On the other hand, if the processes of steps S334 to S336 have not been completed for all divided binary images (step S337: No), the calculation unit 3 increments the x-coordinate of the divided binary image to be processed by 1 in the process of step S338, and then returns the edge identification process to the process of step S333.

[0084] In step S339, the calculation unit 3 interpolates the edges of each invalid section based on the edge y-coordinate array {yxn} of the valid section adjacent to the invalid section and the corresponding x-coordinate array {xn}. n is the number of edge coordinates in the valid section used in the interpolation process. A specific interpolation method may be to assume that the edge shape in the invalid section can be modeled by the quadratic function shown in Equation (5) below, and apply a known fitting method (such as the least squares method) to {xn} and {yxn}.

[0085]

[0086] If the interpolation process results in an edge discontinuity between an invalid section and its adjacent valid section, the calculation unit 3 may further convert the y coordinate of the edge by linear transformation to eliminate the edge discontinuity. Specifically, for an invalid section having a range of xL≦x≦xR, the interpolation process using Equation (5) results in the coordinates of the left end of the invalid section being (xL, yL) and the coordinates of the right end being (xR, yR). In this case, the coordinates of the right end of the adjacent valid section to the left are (xL−1, yL′), the coordinates of the left end of the adjacent valid section to the right are (xR+1, yR′), and further, yL≠yL′ or yR≠yR′. In this case, the calculation unit 3 can eliminate the edge discontinuity between the invalid section and the valid section by linearly transforming the y coordinate of the invalid section using Equation (6) below. This is equivalent to subtracting a straight line connecting the endpoints of the valid sections adjacent to both sides of the invalid section from the edge shape formed by the y coordinate of the invalid section calculated by Equation (5).

[0087]

[0088] Before the interpolation process, preprocessing may be performed, such as changing an extremely short valid section to an invalid section, or changing an extremely short invalid section to a valid section and changing its y coordinate to an appropriate value (for example, by replacing it with the average value of the edge y coordinates of nearby valid sections). Figure 15 shows an example of an edge image obtained as a result of the process of step S339. By combining the interpolated edge 101b with the edge 101a obtained by the process up to that point, it is possible to eliminate erroneous detections (overdetection and non-detection) and correctly detect edges. This completes the process of step S339, and the series of edge identification processes ends.

[0089] <Measurement Processing> Next, the flow of the measurement processing in step S4 above will be described in detail with reference to Figures 16 to 20. In the measurement processing, the calculation unit 3 calculates physical quantities of the measurement target by image processing. As described above, the image data obtained by photographing the weld 1c, including the bead 1a, of the welded steel pipe 1 has been subjected to projective transformation, so the calculation unit 3 can calculate physical quantities related to the cross-sectional shape of the weld from the image. Below, we will explain the operation of the calculation unit 3 when measuring the pipe thickness, offset, bead height, inner surface peaking, outer surface peaking, and bead rise angle.

[0090] As shown in Figure 16(a), the pipe thickness refers to the thickness of the base material 1b of the welded steel pipe at a predetermined circumferential distance from the center of the bead 1a. As shown in Figure 16(b), the offset refers to the difference in height between one circumferential end of the bead 1a and the other circumferential end of the bead 1a (the deviation in the height of the groove). As shown in Figure 16(c), the bead height refers to the difference in height between the circumferential end of the bead 1a and the center of the bead 1a (the height of the weld). As shown in Figures 16(d) and 16(e), peaking is an indicator of the sharpness of the butt joint. As shown in Figure 16(d), the inner surface peaking refers to the size of the gap between the template K in contact with the inner surface of the welded steel pipe and the inner surface of the welded steel pipe. As shown in Figure 16(e), the outer surface peaking refers to the amount of unevenness of the actual outer surface relative to a virtual circle (dotted line) along the outer surface of the welded steel pipe. As shown in FIG. 16(f), the bead rise angle refers to the rise angle of the circumferential end of the bead portion 1a (the angle of the end of the weld reinforcement) relative to the surface of the base metal 1b of the welded steel pipe.

[0091] When measuring the pipe wall thickness shown in Fig. 16(a), as shown in Fig. 17, first, the circumferential position of the welded steel pipe where the pipe wall thickness is to be measured is determined (step S411). Next, the calculation unit 3 identifies the thickness direction of the welded steel pipe at the position determined in step S411 on the image and calculates the pipe wall thickness (step S412). The calculation unit 3 then applies a correction to the calculated pipe wall thickness (step S413). This allows the pipe wall thickness to be measured.

[0092] 16(b) and 16(c), when measuring the offset and bead height, as shown in FIG. 18, first, the circumferential position of the welded steel pipe where the offset and bead height are to be measured is determined (step S421). Next, the calculation unit 3 calculates the offset and bead height on the image at the position determined by the processing of step S421 (step S422). The calculation unit 3 then applies corrections to the calculated offset and bead height (step S423). This makes it possible to measure the offset and bead height.

[0093] When measuring the inner surface peaking shown in FIG. 16(d), as shown in FIG. 19-1, the calculation unit 3 first reproduces the shape of the template K used to measure the inner surface peaking in the image (step S431). At this time, the calculation unit 3 may correct the cross-sectional inclination of the template K taking into account the direction in which the image was captured. Next, the calculation unit 3 calculates the position of the template K when it is applied to the edge of the inner surface of the welded steel pipe detected by the detection process (step S432). Then, the calculation unit 3 calculates the gap between the edge of the inner surface of the welded steel pipe and the template K on the image to calculate the inner surface peaking value (step S433). This allows the inner surface peaking to be measured.

[0094] When measuring the outer surface peaking shown in FIG. 16(e), as shown in FIG. 19-2, the calculation unit 3 first determines the circumferential position (measurement position) of the welded steel pipe where the outer surface peaking is measured (step S431-2). At this time, as shown in FIG. 19-3, measurement position 19C is determined so as to avoid the bead portion 1a. That is, measurement position 19C is determined so that measurement position 19C is not located on the bead portion 1a. Next, as shown in FIG. 19-2, the calculation unit 3 places a virtual circle within the image (step S432-2). The virtual circle is a circle that corresponds to the outer surface edge position when the steel pipe is assumed to be a perfect circle. As shown in FIG. 19-3, virtual circle L is placed so as to pass through points 19A and 19B. These points 19A and 19B are points that are a predetermined distance d away from a radial line Lc of the steel pipe that passes through measurement position 19C, and are points on the edge of the outer surface of the welded steel pipe detected by the detection process. At this time, the calculation unit 3 may apply a correction for the cross-sectional inclination of the virtual circle L taking into account the direction in which the image was taken. Next, the calculation unit 3 measures the distance p between the virtual circle L and the measurement position 19C, i.e., the outer surface peaking, for the edge of the outer surface of the welded steel pipe detected by the detection process (step S433-2). For example, if the steel pipe is a perfect circle, the outer surface edge of the welded steel pipe detected by the detection process will coincide with the virtual circle except for the bead portion, so the outer surface peaking will be zero. This makes it possible to measure the outer surface peaking.

[0095] When measuring the bead rise angle shown in Figure 16(f), as shown in Figure 20, the operator first determines the circumferential position of the welded steel pipe where the bead rise angle is to be measured (step S441). Next, the calculation unit 3 searches for tangents that contact the outer surface of the welded steel pipe and the edge of the bead portion, starting from the position where the bead rise angle is to be measured (step S442). The calculation unit 3 then calculates the angle between the searched tangents on the image (step S443). This allows the bead rise angle to be measured.

[0096] As is clear from the above description, in the measuring device 20 according to the first embodiment of the present invention, the calculation unit 3 captures an image of the cross section of the welded steel pipe 1 including the marker plate 10, converts the image of the cross section into a front-view image having a predetermined resolution using the image of the marker plate 10, detects edges of the cross section from the front-view image, and calculates a predetermined physical quantity based on the detected edges. The calculation unit 3 also selects a machine learning model that uses the front-view image as input data and the edges of the cross section in the front-view image as output data, corresponding to the type of edge to be detected. The calculation unit 3 then inputs the front-view image into the selected machine learning model to detect the edges of the cross section in the front-view image, and eliminates overdetected edges and interpolates undetected edges based on the connectivity of the detected edges. This allows the predetermined physical quantity of the cross section of the welded steel pipe 1 to be measured accurately in a short time.

[0097] [Second embodiment] Fig. 21 is a schematic diagram showing the configuration of a measurement device according to a second embodiment of the present invention. Fig. 22 is a block diagram showing the configuration of the main parts of the measurement device shown in Fig. 21. As shown in Fig. 21, a measurement device 20 according to the second embodiment of the present invention includes an imaging terminal 6, an information processing device 7, and a marker plate 10. In this embodiment, the imaging terminal 6 is configured by a computer including an imaging unit 61, a second display unit 62, a second input unit 63, a second calculation unit 64, a second communication unit 65, and a second storage unit 66.

[0098] Specifically, the imaging terminal 6 is configured by a smartphone, a tablet terminal, a digital camera with a communication function, or the like. In this embodiment, a description will be given of a case where the imaging terminal 6 is a smartphone. The imaging unit 61 is configured by a camera or the like built into the smartphone. The second display unit 62 is configured by a display or the like built into the smartphone. The second input unit 63 is configured by a touch panel or the like built into the smartphone. The second calculation unit 64 is configured by a CPU, GPU, or the like built into the smartphone. The second communication unit 65 is provided in the second calculation unit 64 and is configured by a communication interface or the like built into the smartphone. The second storage unit 66 is configured by a memory or the like built into the smartphone.

[0099] The imaging unit 61, second display unit 62, second calculation unit 64, and second memory unit 66 provided in the imaging terminal 6 have functions equivalent to those of the imaging unit 2, calculation unit 3, display unit 4, and memory unit 5 provided in the measuring device 20 of the first embodiment. Since the imaging terminal 6 has the imaging unit 61, it is not possible to set up a virtual device (such as a cloud) on a network. The imaging terminal 6, together with the marker plate 10, constitutes a measuring device that measures the physical quantities of the welded portion 1c.

[0100] The information processing device 7 is configured by a computer. An example of the computer is an all-in-one personal computer including a first display unit 71, a first input unit 72, a first calculation unit 73, a first communication unit 74, and a first storage unit 75.

[0101] The first display unit 71 is configured with a monitor or the like. The first input unit 72 is configured with a keyboard, mouse, microphone, or the like. The first calculation unit 73 is configured with a CPU, GPU, or the like, and also has a first communication unit 74. The first communication unit 74 is provided in the first calculation unit 73 and is configured with a communication interface, or the like. The first storage unit 75 is configured with a hard disk, solid state drive, or the like. A virtual device (such as a cloud) on a network may be used as the information processing device 7.

[0102] The imaging terminal 6 and the information processing device 7 are capable of communicating with each other via a network 8 using a second communication unit 65 and a first communication unit 74 provided therein, respectively. Known network technologies can be used as the network 8. Examples include the Internet, a local area network, or a combination of the Internet and a local area network. Wired, wireless, or a combination of wired and wireless communication methods can be used. The imaging terminal 6 and the information processing device 7 may also be configured to communicate directly via the second communication unit 65 and the first communication unit 74 without using the network 8. In this case, wired, wireless, or a combination of wired and wireless communication methods can also be used. More specific examples of wired communication methods include a predetermined communication signal via a signal line connecting the communication units and a Universal Serial Bus (hereinafter abbreviated as USB). On the other hand, examples of wireless communication methods include Bluetooth (registered trademark).

[0103] In the measuring device 20 of this embodiment, when measuring the physical quantities of the welded portion 1c, the imaging terminal 6 and the information processing device 7 are not limited to being located within the same facility. For example, the imaging terminal 6 and the information processing device 7 may be located within different facilities of the same company. The imaging terminal 6 may be located within the company's facility, and the information processing device 7 may be located within another company's facility. The imaging terminal 6 may be located within another company's facility, and the information processing device 7 may be located within the company's facility. In other words, as long as the imaging terminal 6 and the information processing device 7 can communicate with each other, the respective positions of the imaging terminal 6 and the information processing device 7 when measuring the physical quantities of the welded portion 1c are not particularly limited.

[0104] In the measuring device 20 of this embodiment, the image data captured by the imaging unit 61 and information related to the measured physical quantities may be stored not only in the second storage unit 66 of the imaging terminal 6 but also in the first storage unit 75 of the information processing device 7. That is, the imaging terminal 6 may transmit information including the measured physical quantities from the second communication unit 65 to the first communication unit 74 of the information processing device 7, and record the information in the first storage unit 75 having a larger storage area than the second storage unit 66.

[0105] The information transmitted from the imaging terminal 6 to the information processing device 7 is predetermined information determined in advance according to the purpose of measurement, etc. Examples of the predetermined information include image data captured by the imaging unit 61. The predetermined information includes parameters for processing in the imaging terminal 6. These parameters include, for example, information about the pattern 10a arranged on the marker plate 10, such as type, position, angle, size, and identifier. Furthermore, the parameters include the resolution in the projective transformation processing described above. It is preferable that the operator can specify these processing parameters by operating the second input unit 63 of the imaging terminal 6.

[0106] The predetermined information includes the processing results in the imaging terminal 6. This processing result includes text data related to the parameters of the projective transformation. The predetermined information includes basic information such as the date and time of the image capture, the location, the photographer, information related to the imaging terminal 6, and information related to the welded steel pipe 1. The information related to the imaging terminal 6 includes, for example, information such as the identifier and IP address of the imaging terminal 6. The information related to the welded steel pipe 1 includes information that can identify the welded steel pipe 1, such as the object number, object name, lot number, and specification, as well as information that characterizes the welded steel pipe 1. The information related to the welded steel pipe 1 is input by the operator, for example, using the second input unit 63 of the imaging terminal 6.

[0107] 23 , the measurement device 20 of this embodiment may include an external storage device 9, which is a data recording means that uses a large-scale database, separate from the imaging terminal 6 and the information processing device 7. The external storage device 9 is provided in a facility different from the imaging terminal 6 and the information processing device 7. In the measurement device 20 of this embodiment, predetermined information and the like may be recorded in the external storage device 9. A virtual device on a network (such as a cloud) may be used as the external storage device 9.

[0108] Fig. 24 is a flowchart showing the flow of processing by the imaging terminal 6 and the information processing device 7 performed by the measurement device 20 shown in Fig. 21. The imaging process S101, the projection transformation process S102, the detection process S103, the measurement process S104, and the display process S105 shown in Fig. 21 are the same as the imaging process S1, the projection transformation process S2, the detection process S3, the measurement process S4, and the display process S5 shown in Fig. 2.

[0109] In the measuring device 20 of this embodiment, first, the imaging unit 61 of the imaging terminal 6 captures an image of the welded portion 1c including the bead portion 1a and the marker plate 10 at a predetermined position (imaging process S101). Next, the second calculation unit 64 of the imaging terminal 6 performs projective transformation on the captured image data (projective transformation process S102). Next, the second calculation unit 64 of the imaging terminal 6 detects the edge positions of the cross section of the welded steel pipe 1 using the image data after projective transformation (detection process S103). Next, the second calculation unit 64 of the imaging terminal 6 measures predetermined physical quantities related to the cross-sectional shape of the welded portion 1c based on the detected edge positions (measurement process S104). Next, the second display unit 62 of the imaging terminal 6 displays information on the measured predetermined physical quantities, etc. (display process S105). Then, the second communication unit 65 of the imaging terminal 6 transmits predetermined information, such as information on the measured physical quantities, to the first communication unit 74 of the information processing device 7 (transmission process S106).

[0110] Next, the first communication unit 74 of the information processing device 7 receives predetermined information from the second communication unit 65 of the imaging terminal 6 (reception process S201). After that, the information processing device 7 records the predetermined information using the first storage unit 75 (recording process S202).

[0111] In the measuring device 20 of this embodiment, the use of the imaging terminal 6 enables it to function not only as a simple measurement system but also as a measurement support system for operators on-site. For example, the high portability of the imaging terminal 6 and the image conversion process using the marker plate 10 allow the operator to measure predetermined physical quantities of the welded portion 1c from any position. In this case, the simplified user interface makes it possible to measure physical quantities without requiring the operator to undergo special training for physical quantity measurement. Furthermore, by displaying processing results and the like in real time on the second display unit 62 of the imaging terminal 6, the operator can search for the orientation of the imaging unit 61 suitable for photographing the cross section of the welded steel pipe 1 and perform photography using the imaging unit 61 under optimal conditions, resulting in a more desirable state.

[0112] In the measuring device 20 of this embodiment, when measuring physical quantities using the imaging terminal 6, the operator can change the imaging conditions of the image data of the weld 1c on which the marker plate 10 is provided, captured together with the marker plate 10, based on information including the displayed physical quantities, and use this information as a clue to search for the optimal imaging position. Therefore, this is useful as a measurement support system for on-site operators. In particular, the above-mentioned usefulness is further enhanced when an imaging terminal 6 equipped with the second display unit 62 is used. At this time, when the above-mentioned imaging process S101 is executed, the imaging conditions in this imaging process S101 can be changed.

[0113] Third Embodiment FIG. 25 is a block diagram showing the essential components of a measuring device 20 according to a third embodiment of the present invention. As shown in FIG. 25 , the measuring device 20 of this embodiment includes an imaging terminal 6, an information processing device 7, and a marker plate 10. The imaging terminal 6 is configured by a computer including an imaging unit 61, a second display unit 62, a second input unit 63, a second calculation unit 64, a second communication unit 65, and a second storage unit 66. In this embodiment, a smartphone is used as the imaging terminal 6. The imaging terminal 6, together with the marker plate 10, constitutes a measuring device for measuring the physical quantities of the welded portion 1c. The information processing device 7 is configured by a computer including at least a first calculation unit 73, a first communication unit 74, and a first storage unit 75. The imaging terminal 6 and the information processing device 7 can communicate with each other via a network 8 using the second communication unit 65 and the first communication unit 74, respectively. The network 8 can use the same technology as the network 8 of the second embodiment described above. Furthermore, the imaging terminal 6 and the information processing device 7 may be configured to be able to communicate directly between the second communication unit 65 and the first communication unit 74, without going through the network 8. In this case, the same technique as in the case of direct communication in the second embodiment described above can be used.

[0114] In the measuring device 20 of this embodiment, when measuring physical quantities, the imaging terminal 6 and the information processing device 7 are not limited to being located within the same facility. For example, the imaging terminal 6 and the information processing device 7 may be located in different facilities of the same company. The imaging terminal 6 may be located in the company's facility and the information processing device 7 may be located in another company's facility. The imaging terminal 6 may be located in another company's facility and the information processing device 7 may be located in the company's facility. In other words, as long as the imaging terminal 6 and the information processing device 7 can communicate with each other, there are no particular limitations on their respective locations when measuring physical quantities.

[0115] Fig. 26 is a flowchart showing the flow of processing by the imaging terminal 6 and the information processing device 7 performed by the measurement device shown in Fig. 24. The imaging process S111, the projection transformation process S212, the detection process S213, the measurement process S214, and the display process S114 shown in Fig. 26 are the same as the imaging process S1, the projection transformation process S2, the detection process S3, the measurement process S4, and the display process S5 shown in Fig. 3.

[0116] In the measuring device 20 of this embodiment, first, the imaging unit 61 of the imaging terminal 6 captures an image of the welded portion 1c and the marker plate 10 at a predetermined position (imaging process S111). Next, the second communication unit 65 of the imaging terminal 6 transmits information for projective transformation of the image data and measurement of physical quantities to the first communication unit 74 of the information processing device 7 (transmission process S112).

[0117] The information transmitted from the imaging terminal 6 to the information processing device 7 is predetermined information determined in advance in accordance with the processing to be performed by the information processing device 7. The predetermined information for projective transformation of image data and measurement of physical quantities includes image data captured by the imaging unit 61. The predetermined information includes parameters for processing in the information processing device 7. These parameters include type, position, angle, size, and identifier, which are information about the pattern 10a arranged on the marker plate 10. The parameters include the resolution in the projective transformation processing S212, etc. It is preferable that the operator can specify these processing parameters by operating the second input unit 63 of the imaging terminal 6.

[0118] The predetermined information includes basic information such as the date and time of the photograph, the location, the photographer, information about the equipment used for the photograph, and information about the welded steel pipe 1. Information about the equipment used for the photograph includes, for example, the equipment identifier and IP address. Information about the welded steel pipe 1 includes, for example, information that can identify the welded steel pipe 1, such as the object number, object name, lot number, and specifications, as well as information that characterizes the welded steel pipe 1.

[0119] Next, the information processing device 7 receives predetermined information from the second communication unit 65 of the imaging terminal 6 via the first communication unit 74. Next, the first calculation unit 73 of the information processing device 7 performs projective transformation on the captured image data (projective transformation process S212). Next, the first calculation unit 73 of the information processing device 7 detects the edge positions of the cross section of the welded steel pipe 1 using the image data after projective transformation (detection process S213). Next, the first calculation unit 73 of the information processing device 7 measures predetermined physical quantities related to the cross-sectional shape of the welded portion 1c based on the detected edge positions (measurement process S214). Next, the first communication unit 74 of the information processing device 7 transmits information related to the measured predetermined physical quantities to the second communication unit 65 of the imaging terminal 6 (transmission process S215). Thereafter, the information processing device 7 records the information received from the imaging terminal 6 and the information calculated by the information processing device 7 in the first storage unit 75 (recording process S216).

[0120] Next, the second communication unit 65 of the imaging terminal 6 receives the information on the measured physical quantity from the first communication unit 74 of the information processing device 7 (reception process S113). Next, after the second calculation unit 64 of the imaging terminal 6 receives the information, the second display unit 62 of the imaging terminal 6 displays the information on the measured physical quantity on the second display unit 62 (display process S114).

[0121] The information on the measured physical quantities transmitted from the information processing device 7 to the imaging terminal 6 includes the following. For example, the information on the measured physical quantities includes processed image data. This processed image data includes values ​​of physical quantities for image data captured by the imaging unit 61 of the imaging terminal 6 or image data obtained by projectively transforming the image data. In this case, the imaging terminal 6 can display the received image data as is on the second display unit 62. Furthermore, the information on the measured physical quantities includes text data on parameters of the projective transformation. In this case, the imaging terminal 6 can display information obtained by analyzing the received text data on the second display unit 62. Furthermore, it is preferable that the imaging terminal 6 processes the image data previously transmitted to the information processing device 7 to create image data to which values ​​of the measured physical quantities have been added, and display the image data on the second display unit 62.

[0122] [Fourth Embodiment] FIG. 27 is a block diagram showing the essential components of a measuring device 20 according to a fourth embodiment of the present invention. As shown in FIG. 27, the measuring device 20 of this embodiment includes an imaging terminal 6, an information processing device 7, and a marker plate 10. The imaging terminal 6 is configured by a computer including an imaging unit 61, a second calculation unit 64, a second communication unit 65, and a second storage unit 66. In this embodiment, a digital camera equipped with a communication function is used as the imaging terminal 6. The imaging terminal 6, together with the marker plate 10, constitutes an imaging device for measuring the physical quantities of the welded portion 1c. The information processing device 7 is configured by a computer including at least a first display unit 71, a first calculation unit 73, a first communication unit 74, and a first storage unit 75. The imaging terminal 6 and the information processing device 7 can communicate with each other via a network 8 using the second communication unit 65 and the first communication unit 74, respectively. The network 8 can use the same technology as the network 8 of the second embodiment described above. Furthermore, the imaging terminal 6 and the information processing device 7 may be configured to be able to communicate directly between the second communication unit 65 and the first communication unit 74, without going through the network 8. In this case, the same technique as in the case of direct communication in the second embodiment described above can be used.

[0123] The measuring device 20 of this embodiment is not limited to the imaging terminal 6 and the information processing device 7 being located within the same facility when measuring a predetermined physical quantity. For example, the imaging terminal 6 and the information processing device 7 may be located within different facilities of the same company. The imaging terminal 6 may be located within the company's facility, and the information processing device 7 may be located within another company's facility. Furthermore, the imaging terminal 6 may be located within another company's facility, and the information processing device 7 may be located within the company's facility. In other words, as long as the imaging terminal 6 and the information processing device 7 can communicate with each other, there are no particular limitations on their respective locations when measuring a physical quantity.

[0124] Fig. 28 is a flowchart showing the flow of processing by the imaging terminal 6 and the information processing device 7 performed by the measurement device 20 shown in Fig. 27. The imaging process S121, the projection transformation process S222, the detection process S223, the measurement process S224, and the display process S225 shown in Fig. 28 are the same as the imaging process S1, the projection transformation process S2, the detection process S3, the measurement process S4, and the display process S5 shown in Fig. 3.

[0125] In the measuring device 20 of this embodiment, first, the imaging unit 61 of the imaging terminal 6 captures an image of the welded portion 1c including the bead portion 1a and the marker plate 10 at a predetermined position (imaging process S121). Next, the second communication unit 65 of the imaging terminal 6 transmits information to the first communication unit 74 of the information processing device 7 (transmission process S122). The information transmitted from the imaging terminal 6 to the information processing device 7 includes image data captured by the imaging unit 61.

[0126] Next, the first communication unit 74 of the information processing device 7 receives information including image data from the second communication unit 65 of the imaging terminal 6 (reception process S221). Next, the first calculation unit 73 of the information processing device 7 performs projective transformation on the received image data (projective transformation process S222). Next, the first calculation unit 73 of the information processing device 7 detects the edge positions of the cross section of the welded steel pipe 1 from the image data after projective transformation (detection process S223). Next, the first calculation unit 73 of the information processing device 7 measures a predetermined physical quantity related to the cross-sectional shape of the welded portion 1c based on the detected edge positions (measurement process S224). Next, the first display unit 71 of the information processing device 7 displays information related to the measured predetermined physical quantity (display process S225). Thereafter, the information processing device 7 records the information received from the imaging terminal 6 and the information calculated by the first calculation unit 73 in the first storage unit 75 (recording process S226).

[0127] It is preferable to set the parameters for processing in the information processing device 7 in advance. Specifically, the parameters can be determined in advance as one parameter, selected from multiple options, or set to a predetermined value for each process. The parameters include information about the pattern 10a arranged on the marker plate 10, such as type, position, angle, size, and identifier. The parameters also include the resolution in the projective transformation process S222.

[0128] The information processing device 7 is input with basic information when each image is taken by the imaging terminal 6. The basic information includes basic information such as the date and time of the image capture, the location, the photographer, information about the imaging terminal 6, and information about the welded steel pipe 1. The information about the imaging terminal 6 includes information such as the identifier and IP address of the imaging terminal 6. The information about the imaging terminal 6 is stored, for example, in the second memory unit 66 of the imaging terminal 6, and is transmitted from the second communication unit 65 to the first communication unit 74 of the information processing device 7 together with the image data captured by the imaging unit 61. The information about the welded steel pipe 1 includes information that can identify the welded steel pipe 1, such as the object number, object name, lot number, and specifications, as well as information that characterizes the welded steel pipe 1. The information about the welded steel pipe 1 is transmitted to the information processing device 7 from an external device via communication.

[0129] 29 is a block diagram showing the main configuration of a measuring device according to a fifth embodiment of the present invention. The measuring device 20 of this embodiment includes an imaging terminal 6, a first information processing device 107, a second information processing device 207, and a marker plate 10. Below, the pass / fail judgment of a welded steel pipe 1 will be described as an example of the process performed by the second information processing device 207 to judge the level of quality of an object.

[0130] The imaging terminal 6 is configured by a computer including an imaging unit 61, a second display unit 62, a second input unit 63, a second calculation unit 64, a second communication unit 65, and a second storage unit 66. In this embodiment, a smartphone will be described as the imaging terminal 6. The imaging terminal 6, together with the marker plate 10, configures a measuring device for measuring the physical quantities of the welded portion 1c.

[0131] The first information processing device 107 is configured by a computer including at least a first display unit 171, a first input unit 172, a first calculation unit 173, a first communication unit 174, and a first storage unit 175. The first information processing device 107 corresponds to the information processing device 7 included in the measurement device 20 of the second embodiment.

[0132] The second information processing device 207 is configured by a computer including at least a third display unit 271, a third input unit 272, a third calculation unit 273, a third communication unit 274, and a third storage unit 275. The third display unit 271, the third input unit 272, the third calculation unit 273, the third communication unit 274, and the third storage unit 275 have functions equivalent to those of the first display unit 71, the first input unit 172, the first calculation unit 173, the first communication unit 174, and the first storage unit 175.

[0133] The imaging terminal 6, the first information processing device 107, and the second information processing device 207 are capable of communicating with each other via the network 8 by the second communication unit 65, the first communication unit 174, and the third communication unit 274 that are provided in each of them. The network 8 can use the same technology as the network 8 in the second embodiment described above. Furthermore, the imaging terminal 6, the first information processing device 107, and the second information processing device 207 may be configured to be able to communicate directly by the second communication unit 65, the first communication unit 174, and the third communication unit 274 without going through the network 8. In this case, the same technology as that used in the case of direct communication in the second embodiment described above can be used.

[0134] When measuring physical quantities, the measuring device 20 of this embodiment is not limited to the imaging terminal 6, the first information processing device 107, and the second information processing device 207 being located within the same facility. For example, the imaging terminal 6, the first information processing device 107, and the second information processing device 207 may each be located within different facilities of the same company. The imaging terminal 6 and the first information processing device 107 may be located within different facilities of the same company, and the second information processing device 207 may be located within a facility of another company. The imaging terminal 6 and the second information processing device 207 may be located within a facility of the same company, and the first information processing device 107 may be located within a facility of another company. The imaging terminal 6 and the first information processing device 107 may be located within a facility of another company, and the second information processing device 207 may be located within the same company's facility. The imaging terminal 6 and the second information processing device 207 may be located within a facility of another company, and the first information processing device 107 may be located within a facility of the same company. The imaging terminal 6 may be located in a facility of another company, and the first information processing device 107 and the second information processing device 207 may be located in a facility of the same company. In other words, as long as the imaging terminal 6, the first information processing device 107, and the second information processing device 207 can communicate with each other, their respective positions when measuring physical quantities are not particularly limited.

[0135] Fig. 30 is a flowchart showing an example of processing of the imaging terminal 6, the first information processing device 107, and the second information processing device 207 performed by the measurement device 20 shown in Fig. 29. The imaging process S131, the projection transformation process S232, the detection process S233, the measurement process S234, and the display process S134 shown in Fig. 30 are similar to the imaging process S1, the projection transformation process S2, the detection process S3, the measurement process S4, and the display process S5 shown in Fig. 3.

[0136] In the measuring device 20 of this embodiment, first, the imaging unit 61 of the imaging terminal 6 captures an image of the welded portion 1c including the bead portion 1a and the marker plate 10 at a predetermined position (imaging process S131). Next, the second communication unit 65 of the imaging terminal 6 transmits information to the first communication unit 174 of the first information processing device 107 and the third communication unit 274 of the second information processing device 207 (transmission process S132). The first communication unit 174 of the first information processing device 107 receives information from the second communication unit 65 of the imaging terminal 6 (reception process S231). The third communication unit 274 of the second information processing device 207 receives information from the second communication unit 65 of the imaging terminal 6 (reception process S331).

[0137] The information transmitted from the imaging terminal 6 to the first information processing device 107 includes image data captured by the imaging unit 61. The information transmitted from the imaging terminal 6 to the first information processing device 107 includes parameters for processing in the imaging terminal 6. These parameters include type, position, angle, size, and identifier, which are information about the pattern 10a arranged on the marker plate 10. The parameters include the resolution in the projection transformation process S232, etc. It is preferable that the operator can specify these processing parameters by operating the second input unit 63 of the imaging terminal 6.

[0138] The information transmitted from the imaging terminal 6 to the second information processing device 207 includes basic information when each image was captured by the imaging terminal 6. The basic information includes basic information such as the date and time of the image capture, the location, the photographer, information about the imaging terminal 6, and information about the welded steel pipe 1. The information about the imaging terminal 6 includes information such as the identifier and IP address of the imaging terminal 6 stored in the second memory unit 66. The information about the welded steel pipe 1 includes information that can identify the welded steel pipe 1, such as the object number, object name, lot number, and specification, as well as information that characterizes the welded steel pipe 1. The information about the welded steel pipe 1 is input by an operator using, for example, the second input unit 63 of the imaging terminal 6. The information transmitted from the imaging terminal 6 to the second information processing device 207 includes, for example, the ID of the image data captured by the imaging terminal 6.

[0139] Next, the first calculation unit 173 of the first information processing device 107 performs projective transformation on the received image data (projective transformation process S232). Next, the first calculation unit 173 of the first information processing device 107 detects the edge positions of the cross section of the welded steel pipe 1 from the image data after projective transformation (detection process S233). Next, the first calculation unit 173 of the first information processing device 107 measures a predetermined physical quantity related to the cross-sectional shape of the welded portion 1c based on the detected edge positions (measurement process S234). The first communication unit 174 of the first information processing device 107 transmits information related to the measured predetermined physical quantity to the third communication unit 274 of the second information processing device 207 (transmission process S235). Thereafter, the first information processing device 107 records information related to the measured physical quantity in the first storage unit 175 (recording process S236). The information related to the measured physical quantity includes text data related to projective transformation parameters.

[0140] Next, the third communication unit 274 of the second information processing device 207 receives information related to the measured physical quantities from the first communication unit 174 of the first information processing device 107 (receiving process S332). Next, the third calculation unit 273 of the second information processing device 207 performs a process of determining the quality level of the welded steel pipe 1 having the welded portion 1c photographed by the imaging terminal 6 and a process of changing the manufacturing conditions based on the information related to the measured physical quantities and multiple pieces of information related to the welded steel pipe 1 (determination process S333). The multiple pieces of information related to the welded steel pipe 1 include information related to the design drawings and the shape of the welded steel pipe 1 after manufacturing, information related to the impact of changes in manufacturing conditions on the measured physical quantities, information related to the method for determining the operating parameters of the manufacturing equipment operating procedures, and combinations thereof, all of which are previously stored in the second information processing device 207. The multiple pieces of information related to the welded steel pipe 1 also include the judgment criteria described below. It is preferable that the multiple pieces of information related to the welded steel pipe 1 be stored in a third storage unit 275 provided in the second information processing device 207.

[0141] An example of the process for determining the quality level of the welded steel pipe 1 is a process for comparing information about measured physical quantities with a judgment standard and judging whether the welded steel pipe 1 passes or fails. As a result of this process, information about the quality level of the welded steel pipe 1 is obtained. More specifically, information related to the pass / fail judgment of the welded steel pipe 1 is obtained. Furthermore, an example of the process for changing the manufacturing conditions is a process for determining whether or not the manufacturing conditions of the manufacturing equipment that manufactures the welded steel pipe 1 need to be changed based on information about measured physical quantities, and a process for calculating specific method for changing the conditions and operation amounts. Furthermore, an example of the process for changing the manufacturing conditions is a process for determining commands related to shipping, moving, discarding, and other operations for the welded steel pipe 1 in inventory. As a result of these processes, information related to changes in the manufacturing conditions of the object (welded steel pipe 1) is obtained.

[0142] Next, the third communication unit 274 of the second information processing device 207 transmits management information for the welded steel pipe 1 based on the measured physical quantities, including one or more of information regarding the pass / fail judgment of the welded steel pipe 1 and information regarding changes in the manufacturing conditions, to the second communication unit 65 of the imaging terminal 6 and a control unit of the manufacturing facility (not shown) (transmission process S334). Thereafter, the second information processing device 207 records the information regarding the pass / fail judgment of the welded steel pipe 1 in the third storage unit 275 (recording process S335).

[0143] The control unit of the manufacturing equipment (not shown) receives, from the third communication unit 274 of the second information processing device 207, management information for the welded steel pipe 1 based on the measured physical quantities, including information regarding the pass / fail judgment of the welded steel pipe 1. Furthermore, based on the received management information for the welded steel pipe 1, the control unit of the manufacturing equipment (not shown) executes commands related to changes in the manufacturing equipment, and to shipping, moving, discarding, and other operations for the welded steel pipe 1 in stock.

[0144] The management information of the welded steel pipe 1 based on the measured physical quantities includes information on the processing of the welded steel pipe 1 in stock, as information on changes in the manufacturing conditions of the welded steel pipe 1. The information on the processing of the welded steel pipe 1 in stock includes information on the number, name, lot number, warehouse where the welded steel pipe 1 is stored, location, scheduled shipping date, scheduled shipping destination, etc. Furthermore, the information on the processing of the welded steel pipe 1 in stock includes information on warehouse specifications, the grade, scheduled shipping date, storage location, etc. of each welded steel pipe 1 stored in the warehouse. And / or, the management information of the welded steel pipe 1 based on the measured physical quantities includes information on changes in the manufacturing conditions of the object, as information on changes in the manufacturing conditions of the welded steel pipe 1. Information on changes in the manufacturing conditions of the object includes information on the manufacturing process and its conditions, the date each process was performed, other measurement results during manufacturing, the number, name, lot number, etc. of the welded steel pipe 1 manufactured. Furthermore, information on changes in the manufacturing conditions of the object includes information including predetermined physical quantities and information characterizing the welded steel pipe 1, as well as information on criteria for changing the conditions of each process.

[0145] The use of management information will be explained using examples of inventory management and changes in manufacturing conditions. First, the third calculation unit 273 extracts management information from the third storage unit 275 using some or all of the information about the welded steel pipe 1 as a key. Next, the third calculation unit 273 compares the extracted management information with the predetermined physical quantity measured in the measurement process S234 and information characterizing the welded steel pipe 1. If the comparison results in a satisfaction of the judgment criteria, the third calculation unit 273 determines not to perform operations such as inventory transfers or changes to manufacturing equipment conditions. On the other hand, if the judgment criteria are not met, the third calculation unit 273 determines to perform some operation on the welded steel pipe 1. For example, in the case of inventory management, the third calculation unit 273 determines to move the position of the welded steel pipe 1 in accordance with predetermined rules obtained from the information characterizing the welded steel pipe 1. Specific methods of moving the welded steel pipe 1 include moving it to a location indicating an appropriate grade or moving it to a location scheduled for disposal. Furthermore, for example, in the case of controlling manufacturing equipment, the third calculation unit 273 extracts conditions of the manufacturing equipment that affect specified physical quantities from information characterizing the welded steel pipe 1, and determines the operating procedures and operating quantities of the manufacturing equipment.

[0146] Next, if information regarding the pass / fail judgment of the welded steel pipe 1 is included in the management information for the welded steel pipe 1, the second communication unit 65 of the imaging terminal 6 receives the information regarding the pass / fail judgment of the welded steel pipe 1 from the third communication unit 274 of the second information processing device 207 (reception process S133). Then, the second display unit 62 of the imaging terminal 6 displays the information regarding the pass / fail judgment of the welded steel pipe 1 (display process S134). The measuring device 20 of this embodiment is not limited to transmitting the information regarding the pass / fail judgment of the welded steel pipe 1 judged by the second information processing device 207 to the imaging terminal 6 in real time after the pass / fail judgment is made. The operator operates the second input unit of the imaging terminal 6 to send information such as the ID of image data corresponding to the welded steel pipe 1 for which the operator wants to know the pass / fail judgment result to the second information processing device 207, requesting information regarding the pass / fail judgment of the welded steel pipe 1. Then, the second information processing device 207 transmits information regarding the pass / fail judgment of the welded steel pipe 1 corresponding to the ID of the image data recorded in the third storage unit 275 to the imaging terminal 6 based on the information such as the ID of the received image data. This allows the operator to use the imaging terminal 6 to measure the physical quantities of the welded steel pipe 1, and then perform inspections such as determining whether the welded steel pipe 1 is pass or fail, inventory management, and changes to manufacturing conditions at any time up until the welded steel pipe 1 is shipped as an object, thereby managing quality and manufacturing.

[0147] Furthermore, the present invention can be applied as a measurement step included in a manufacturing method of an object, and physical quantities related to the cross-sectional shape of the object may be measured in a known or existing manufacturing step. Such a manufacturing method of an object can improve the manufacturing yield of the object.

[0148] Furthermore, the present invention can be applied to a quality control method for an object, and the quality of the object may be controlled by measuring a physical quantity related to the cross-sectional shape of the object. Specifically, the present invention measures a physical quantity related to the cross-sectional shape of the object, and the quality of the object can be controlled based on the measurement results. In the quality control step, based on the measurement results, it is determined whether the physical quantity satisfies a predetermined control standard, and the quality of the object is controlled. According to such a quality control method for an object, a high-quality welded steel pipe can be provided.

[0149] [Example] Finally, an example of the present invention will be described. In this example, the cross section of a welded steel pipe was selected as the object of physical quantity measurement. A marker plate 10 with four AR markers was used. A smartphone was used as the imaging terminal 6, and a laptop PC equipped with a graphics board was used as the information processing device 7. Communication between the imaging terminal 6 and the information processing device 7 was achieved by data transfer via a hard disk via a USB port. In the physical quantity measurement process, 10 different cross sections of the welded steel pipe were photographed to measure the pipe thickness. Measurements were performed at one location on each side of the welded metal bead. Figure 31 is a schematic diagram showing the position where the pipe thickness was measured superimposed on the photographed image. In Figure 31, 11 indicates the outer surface of the welded steel pipe, 12 indicates the inner surface of the welded steel pipe, 13 indicates the cross section of the welded steel pipe, and 14 indicates the welded metal bead. Dashed lines 15L and 15R indicate the pipe thickness obtained as a result of measurement using the measurement method of the present invention and are aligned with the pipe thickness direction. Figure 32 shows the pipe thickness measurement results and the error range. To evaluate the error of the measured value of the present invention compared to the manually measured value of pipe thickness, the average absolute value of the error was calculated and found to be 0.5 mm. This confirmed that the present invention can accurately measure physical quantities such as pipe thickness.

[0150] Although the present invention has been described above as an embodiment, the present invention is not limited to the descriptions and drawings that form part of the disclosure of the present invention. In other words, other embodiments, examples, and operational techniques that can be made by those skilled in the art based on the present invention are all included in the scope of the present invention.

[0151] According to the present invention, it is possible to provide a measurement method, a measurement device, a calculation unit, an imaging terminal, and an imaging system that can measure a predetermined physical quantity at a predetermined position on an object in a short time and with high accuracy. Also, according to the present invention, it is possible to provide a manufacturing method for an object that can improve the manufacturing yield of the object. Also, according to the present invention, it is possible to provide a quality control method for an object that can provide high-quality objects. Also, according to the present invention, it is possible to provide manufacturing equipment for an object that can improve the manufacturing yield of the object. Also, according to the present invention, it is possible to provide an information processing device that can improve the manufacturing yield of the object and / or provide high-quality objects.

[0152] REFERENCE SIGNS LIST 1 Welded steel pipe 1a Bead portion 1b Base material 1c Weld portion 2 Imaging unit 3 Calculation unit 4 Display unit 5 Memory unit 6 Imaging terminal 7 Information processing device 8 Network 9 External storage device 10 Marker plate 10a Pattern 10b Opening 11 Outer surface 12 Inner surface 13 Cross section 14 Weld overburden 19C Measurement position 20 Measurement device 61 Imaging unit 62 Second display unit 63 Second input unit 64 Second calculation unit 65 Second communication unit 66 Second memory unit 71 First display unit 72 First input unit 73 First calculation unit 74 First communication unit 75 First memory unit 101a Edge 107 First information processing device 171 First display unit 172 First input unit 173 First calculation unit 174 First communication unit 175 First storage unit 207 Second information processing device 271 Third display unit 272 Third input unit 273 Third calculation unit 274 Third communication unit 275 Third storage unit L Virtual circle

Claims

1. A method for measuring a predetermined physical quantity at a predetermined position on an object, comprising: a first step of converting an image of the object, taken together with a marker plate on which a pattern serving as a length reference for length measurement is drawn, into a front-facing image having a predetermined resolution by using an image of the pattern in the image; a second step of detecting edges of the object from the front-facing image; and a third step of calculating the predetermined physical quantity based on the detected edges, wherein the second step comprises: a step of selecting a machine learning model that uses the front-facing image as input data and the edges in the front-facing image as output data according to the type of edge to be detected; a step of detecting the edges in the front-facing image by inputting the front-facing image obtained by the first step into the selected machine learning model; and an edge identification step of removing overdetection of the edges and / or interpolating undetected edges based on connectivity of the detected edges.

2. The measurement method according to claim 1, further comprising an imaging step of capturing an image of the object together with the marker plate prior to the first step.

3. The measurement method of claim 1 or 2, wherein the edge identification step includes the steps of: binarizing the edge image; dividing the binarized edge image into a plurality of processing units to generate a plurality of divided binary images; determining whether the edges in each divided binary image are valid or invalid by taking into account the edges in adjacent divided binary images; and interpolating the edges determined to be invalid based on the edges determined to be valid.

4. A measuring device for measuring a predetermined physical quantity at a predetermined position of an object, comprising: a marker plate on which a pattern serving as a length reference for length measurement is drawn; an imaging unit for capturing an image of the object together with the marker plate; and a calculation unit for executing the following processes: a process for converting the image into a front-facing image having a predetermined resolution using an image of the pattern in the captured image, a process for detecting edges of the object from the front-facing image, and a process for calculating the predetermined physical quantity based on the detected edges; wherein, in the process of detecting edges, the calculation unit executes the following processes: a process for selecting a machine learning model that uses the front-facing image as input data and the edges in the front-facing image as output data according to the type of edge to be detected; a process for detecting the edges in the front-facing image by inputting the front-facing image into the selected machine learning model; and a process for removing overdetection of the edges and / or interpolating undetected edges based on connectivity of the detected edges.

5. A method for manufacturing an object, comprising: a manufacturing step of the object; and a measuring step of measuring a predetermined physical quantity at a predetermined position of the object using the measurement method according to any one of claims 1 to 3.

6. A quality control method for an object, comprising: a measurement step of measuring a predetermined physical quantity at a predetermined position of the object using a measurement method according to any one of claims 1 to 3; and a quality control step of controlling the quality of the object based on the measurement results of the predetermined physical quantity obtained by the measurement step.

7. A manufacturing facility for manufacturing an object, comprising: a manufacturing facility for manufacturing an object; and a measuring device according to claim 4 for measuring a predetermined physical quantity at a predetermined position of the object manufactured by the manufacturing facility.

8. A calculation unit for measuring a predetermined physical quantity at a predetermined position of an object, the calculation unit executing a process of detecting edges of the object from a front-facing image calculated from an image of the object taken together with a marker plate on which a pattern serving as a length reference for length measurement is drawn, and a process of calculating the predetermined physical quantity based on the detected edges, and in the edge detection process, a process of selecting a machine learning model that uses the front-facing image as input data and the edges in the front-facing image as output data according to the type of edge to be detected, a process of detecting the edges in the front-facing image by inputting the front-facing image to the selected machine learning model, and a process of removing overdetection of the edges and / or interpolating undetected edges based on connectivity of the detected edges.

9. The computing unit according to claim 8, further comprising a processing step of converting an image of the object into a front-facing image having a predetermined resolution using the pattern in the image in order to calculate the front-facing image from the image of the object.

10. An imaging terminal for measuring a predetermined physical quantity at a predetermined position of an object, comprising: an imaging unit that captures an image of the object together with a marker plate on which a pattern serving as a length reference for length measurement is drawn; and a second calculation unit that performs processing on the captured image, wherein the second calculation unit performs processing to output the captured image to an external first calculation unit which is the calculation unit described in claim 8 or 9, and / or is the calculation unit described in claim 8 or 9.

11. An imaging system for measuring a predetermined physical quantity at a predetermined position of an object, comprising: a marker plate on which a pattern serving as a length reference for length measurement is drawn; and an imaging terminal according to claim 10, which images the object on which the marker plate is placed.

12. An information processing device comprising a third calculation unit that executes one or more of a process of changing the manufacturing conditions of the object and a process of determining the degree of quality of the object, based on a predetermined physical quantity at a predetermined position of the object calculated by an external first or second calculation unit which is the calculation unit described in claim 8 or 9, and a plurality of pieces of information related to the object from which the physical quantity was calculated.

13. A manufacturing facility for manufacturing an object, comprising: a manufacturing facility for manufacturing an object; and an imaging terminal according to claim 10 for measuring a predetermined physical quantity at a predetermined position of the object manufactured by the manufacturing facility.

Citation Information

Patent Citations

  • JP1981099401U

  • Wheel shape measuring device

    JP1999351842A

  • Manufacturing method of metallic product by liquid phase diffusion joining method

    JP2008119711A

  • Dimension inspection apparatus and component to be imaged used for apparatus

    JP2010249650A

  • Image processing apparatus for photogrammetry, on-site recording system using the same, baggage recording system, and laser beam machining system

    JP2010266202A

Cited By

  • Compensation system and compensation method for thickness measurement

    TWI892917B