The present invention relates to a processing device, a processing method, and a computer-readable medium.
When a reinforced concrete structure is built, it is necessary to perform a bar arrangement inspection to check where and what thickness of reinforcing steel bars are arranged. With regard to the bar arrangement inspection, the development of techniques of detecting the shapes of reinforcing steel bars has proceeded. For example, Patent Literature 1 discloses a technique of acquiring point cloud data about reinforcing steel bars using a three-dimensional laser scanner to detect the shapes of the reinforcing steel bars based on the acquired point cloud data.
In order to detect the shapes of arranged reinforcing steel bars, acquired point cloud data about a plurality of reinforcing steel bars needs to be clustered based on position information of the point clouds. Clustering is a process for classifying point clouds considered to be the same structure as a cluster. However, since a large number of reinforcing steel bars are assembled vertically and horizontally in bar arrangement, the same reinforcing steel bar is classified as a plurality of clusters or different reinforcing steel bars are classified as the same cluster unintentionally in clustering. If the accuracy of clustering is not good as described above, there is a concern that a bar arrangement inspection cannot be conducted accurately.
The present invention has been made in view of the above, and a purpose of the present invention is to provide a processing device capable of processing point cloud data acquired from a plurality of reinforcing steel bars to accurately perform a bar arrangement inspection.
A processing device according to a first aspect of the present invention includes a classification means for classifying three-dimensional point cloud data acquired based on reflected light from a plurality of reinforcing steel bars irradiated with light in a bar arrangement inspection into clusters, the clusters being shape units corresponding to the plurality of reinforcing steel bars, based on position information at each point in the three-dimensional point cloud data, a smoothing means for smoothing contours of the classified clusters, and a cluster association means for determining whether a first cluster and a second cluster contained in the smoothed clusters correspond to the same reinforcing steel bar based on positional relation between the smoothed clusters.
A processing method according to a second aspect of the present invention includes the steps of classifying three-dimensional point cloud data acquired based on reflected light from a plurality of reinforcing steel bars irradiated with light in a bar arrangement inspection into clusters, the clusters being shape units corresponding to the plurality of reinforcing steel bars, based on position information at each point in the three-dimensional point cloud data, smoothing contours of the classified clusters, and determining whether a first cluster and a second cluster contained in the classified clusters correspond to the same reinforcing steel bar based on positional relation between the smoothed clusters.
A non-transitory computer-readable medium according to a third aspect of the present invention stores a program causing a computer to execute the steps of classifying three-dimensional point cloud data acquired based on reflected light from a plurality of reinforcing steel bars irradiated with light in a bar arrangement inspection into clusters, the clusters being shape units corresponding to the plurality of reinforcing steel bars, based on position information at each point in the three-dimensional point cloud data, smoothing contours of the classified clusters, and determining whether a first cluster and a second cluster contained in the classified clusters correspond to the same reinforcing steel bar based on positional relation between the smoothed clusters.
According to the present invention, it is possible to process point cloud data acquired from a plurality of reinforcing steel bars to accurately perform a bar arrangement inspection.
Hereinafter, example embodiments of the present invention will be described with reference to the drawings. The following description and the drawings are appropriately omitted or simplified to clarify the explanation. In the drawings, the same elements are denoted by the same reference signs, and duplicated descriptions are omitted as necessary. Note that, right-handed-system XYZ coordinates shown in the drawings are for convenience to explain the positional relation of constituent elements.
A first example embodiment is described below.
The classification means 12 classifies three-dimensional point cloud data acquired based on reflected light from a plurality of reinforcing steel bars irradiated with light in a bar arrangement inspection into clusters, which are shape units corresponding to the plurality of reinforcing steel bars, based on position information at each point in the three-dimensional point cloud data. The smoothing means 13 smooths the contours of the classified clusters. The cluster association means 14 determines whether a first cluster and a second cluster contained in the classified clusters correspond to the same reinforcing steel bar based on positional relation between the smoothed clusters.
With the processing device 10 having the above configuration, it is possible to process point cloud data acquired from a plurality of reinforcing steel bars to accurately perform a bar arrangement inspection.
A second example embodiment is described below.
First, a configuration example of a processing device according to the second example embodiment is described.
The classification means 112 classifies point cloud data (three-dimensional point cloud data) acquired based on reflected light from a plurality of reinforcing steel bars irradiated with light in a bar arrangement inspection into clusters, which are shape units corresponding to the plurality of reinforcing steel bars, based on position information at each point in the point cloud data.
The plurality of reinforcing steel bars is irradiated with light by a three-dimensional sensor 111. The three-dimensional sensor 111 is capable of measuring a distance based at least on light amplitude information and irradiates a plurality of arranged reinforcing steel bars with light to acquire point cloud data. The three-dimensional sensor 111 is, for example, a 3D light detection and ranging (LiDAR) sensor.
Reinforcing steel bars arranged when a reinforced concrete structure is built are called deformed steel bars (deformed reinforcing steel bars).
Referring to
The cluster association means 114 determines whether a first cluster and a second cluster contained in the clusters smoothed by the smoothing means 113 correspond to the same reinforcing steel bar based on positional relation between the smoothed clusters. The cluster association means 114 includes a direction detection means 114a, a projected-cluster generation means 114b, a contour-line extraction means 114c, a contour-line matching-number calculation means 114d, and a determination means 114e.
The direction detection means 114a detects the direction of a cluster. For example, the direction detection means 114a detects the shortest direction in which the smallest number of points in a cluster are lined or the longest direction in which the largest number of points are lined. Here, the lining of the smallest number of points does not include the case where the number of points is zero. The projected-cluster generation means 114b generates a first projected cluster by projecting the first cluster on a plane perpendicular to the shortest direction of the first cluster and a second projected cluster by projecting the second cluster on a plane perpendicular to the shortest direction of the second cluster.
The contour-line extraction means 114c extracts the contour lines of the first cluster and the second cluster. The contour-line matching-number calculation means 114d calculates the number of contour lines that match between the first cluster and the second cluster. The determination means 114e determines whether to associate the first cluster and the second cluster as the same reinforcing steel bar based on the positional relation between the smoothed clusters.
When the cluster association means 114 determines that the first cluster and the second cluster are to be associated, the point-cloud complementation means 115 complements a point cloud between the first cluster and the second cluster.
Next, a procedure of processing point cloud data acquired from a plurality of reinforcing steel bars in the processing device 110 shown in
As described with reference to
Next, the method for determining whether to associate the first cluster and the second cluster as the same reinforcing steel bar in step S3 of
Following step S102, the contour-line extraction means 114c extracts the contour lines of the first projected cluster and the second projected cluster (step S103). Then, the contour-line matching-number calculation means 114d compares a first contour-line group, which is a plurality of contour lines extracted from the first projected cluster, with a second contour-line group, which is a plurality of contour lines extracted from the second projected cluster, and calculates the number of contour lines that match between the first contour-line group and the second contour-line group (step S104).
Following step S104, the determination means 114e determines whether the number of contour lines that match between the first projected cluster and the second projected cluster is equal to or greater than a threshold (step S105). Here, in the case of reinforcing steel bars, the threshold is two. When the number of contour lines that match between the first projected cluster and the second projected cluster is equal to or greater than the threshold in step S105, the determination means 114e associates the first cluster and the second cluster as the same reinforcing steel bar (step S106). When the number of contour lines that match between the first cluster and the second cluster is less than the threshold in step S105, the determination means 114e does not associate the first cluster and the second cluster as the same reinforcing steel bar (step S107).
In step S101, as the method for detecting the shortest direction from the classified clusters, principle component analysis (PCA) can be applied. In principle component analysis, the eigenvalues of principle components (eigenvectors) are the variances. In principle component analysis, eigenvalues are referred to as a first principle component, a second principle component, and so on in descending order. A cluster consists of three parameters (x, y, z), and three principle components of a first principle component, a second principle component, and third principle component are obtained.
As described above, the shortest direction is the direction in which the smallest number of points detected from a cluster are lined. The shortest direction of a cluster C13 is detected by, for example, principle component analysis. In principle component analysis, the eigenvalue of the principle component corresponding to the variance of points is the smallest in the shortest direction. In other words, the third principle component having the smallest eigenvalue of the principle component is the shortest direction. Thus, by detecting the third principle component by principle component analysis, the shortest direction can be detected.
Note that, the longest direction in which the largest number of points in a cluster are lined can also be detected by principle component analysis. In the longest direction, the eigenvalue of the principle component corresponding to the variance of points is the largest. In other words, the first principle component having the largest eigenvalue of the principle component is the longest direction.
Next, an example of the method for extracting the contour lines by the processes from steps S102 to S104 is described. Since the contour of a cluster acquired from a reinforcing steel bar has curved parts, a projected cluster is generated by projecting the cluster on a plane perpendicular to the shortest direction to extract the contour lines from the projected cluster.
As shown in
First, it is assumed that the first cluster is the cluster C21 and that the second cluster is the cluster C22. The first contour-line group includes the contour lines L21a, L21b, L21c, and L21d extracted from the projected cluster 21 of the cluster C21. The second contour-line group includes the contour lines L22a, L22b, L22c, and L22d extracted from the projected cluster SC22 of the cluster C22. Between the first contour-line group and the second contour-line group, the contour line L21a matches the contour line L22a, and the contour line L21b matches the contour line L22b. In other words, the number of contour lines that match between the first contour-line group and the second contour-line group is two and is equal to or greater than the threshold. Thus, the cluster C21 and the cluster C22 are associated as the same reinforcing steel bar.
Next, it is assumed that the first cluster is the cluster C21 and that the second cluster is a cluster C23. The first contour-line group includes the contour lines L21a, L21b, L21c, and L21d extracted from the projected cluster C21 of the cluster C21. The second contour-line group includes the contour lines L23a, L23b, L23c, and L23d extracted from the projected cluster SC23 of the cluster C23. Between the first contour-line group and the second contour-line group, no contour lines match. In other words, the number of contour lines that match between the first contour-line group and the second contour-line group is less than the threshold. Thus, the cluster C21 and the cluster C23 are not associated as the same reinforcing steel bar.
Next, a case where the first cluster and the second cluster are not associated although it is determined that the first contour-line group matches the second contour-line group in step S105 of
As shown in
When viewed from the three-dimensional sensor 111, the reinforcing steel bar B3 is located at the position in front of the reinforcing steel bar B1. For this reason, an area T1 of the reinforcing steel bar B1 is in the shadow of the reinforcing steel bar B3 and not irradiated with light from the three-dimensional sensor 111, and no point cloud is acquired from the area T1. When viewed from the three-dimensional sensor 111, the reinforcing steel bar B3 is located at the position in front of the area T1, and the point cloud is acquired from that position.
The reinforcing steel bar B1 and the reinforcing steel bar B2 are different reinforcing steel bars. For this reason, no point cloud is acquired from an area T2 between the reinforcing steel bar B1 and the reinforcing steel bar B2. When viewed from the three-dimensional sensor 111, no reinforcing steel bar is located at the position in front of the area T2, and no point cloud is acquired from that position either.
It can be possible that projected clusters generated from two clusters acquired from different reinforcing steel bars match accidentally like the cluster C2 and the cluster C3. Thus, the cluster association means 114 determines whether a third cluster containing a predetermined number of points or more is located at a position between and in front of the first cluster and the second cluster when viewed from the three-dimensional sensor. Then, the first cluster and the second cluster are associated when the third cluster is located, and the first cluster and the second cluster are not associated when the third cluster is not located.
That is, the cluster C4 is located at the position between and in front of the cluster C1 and the cluster C2 when viewed from the three-dimensional sensor 111, the cluster C1 and the cluster C2 are associated. On the other hand, no cluster containing the predetermined number of points or more is located at the position between and in front of the cluster C2 and the cluster C3 when viewed from the three-dimensional sensor 111, the cluster C2 and the cluster C3 are not associated. Then, the point-cloud complementation means 115 (see
Next, the method for complementing a point cloud between the first cluster and the second cluster in step S4 of
Next, a problem of determining whether to associate clusters acquired from reinforcing steel bars as the same reinforcing steel bar without leveling is described.
A projected cluster SC31 is obtained by projecting the cluster C31 on a plane perpendicular to the shortest direction, and a projected cluster SC32 is obtained by projecting the cluster C32 on a plane perpendicular to the shortest direction. Contour lines L31a, L31b, L31c, and L31d are extracted from the projected cluster SC31. Contour lines L32a, L32b, L32c, and L32d are extracted from the projected cluster SC32.
A reinforcing steel bar has uneven protrusions such as lugs and ribs (see
In the processing device 110 according to the present example embodiment, the smoothing means 13 smooths the contours of the classified clusters. Then, the cluster association means 14 determines whether a first cluster and a second cluster contained in the smoothed clusters correspond to the same reinforcing steel bar based on the positional relation between the smoothed clusters. With these processes, it is possible to reduce the possibility that the same reinforcing steel bar is classified into a plurality of clusters or that different reinforcing steel bars are classified as the same cluster. Accordingly, it is possible to process point cloud data acquired from a plurality of reinforcing steel bars to accurately perform a bar arrangement inspection.
Next, an example of the subroutine in step S3 of
In the subroutine according to a first modified example, the only difference from the subroutine in
The reference-cluster extraction means 114f extracts clusters whose longest directions each have a length equal to or longer than a predetermined length as reference clusters from among the smoothed clusters. Note that, an arbitrary cluster among the reference clusters is used to as a first cluster. The comparing-cluster extraction means 114g extracts clusters whose the longest directions coincide with the longest direction of the first cluster as comparing clusters from among the smoothed clusters. Note that, an arbitrary cluster among the comparing clusters is used to as a second cluster.
The arranged reinforcing steel bars each have a bar-like long thin shape. For this reason, if there is coupling relation between the clusters acquired from the reinforcing steel bars, that relation is in the longest direction. Thus, it is necessary to consider whether to associate with the first cluster only for clusters whose longest directions coincide with the longest direction of the first cluster. This can greatly reduce the calculation load. Note that, the reason that the clusters whose lengths in the longest direction equal to or longer than the predetermined length are used as reference clusters is that if the length in the longest direction of a cluster is shorter than the predetermined length, the longest direction of the cluster can be deviated from the longitudinal direction of the corresponding reinforcing steel bar due to errors.
An example of the procedure of processing point cloud data acquired from a plurality of reinforcing steel bars in the processing device 110, which is different from
Following step S301, the cluster extraction means 116 extracts, from the classified clusters, clusters corresponding to reinforcing steel bars located at a position where there is no obstruction in front of the three-dimensional sensor 111 (step S302). Then, the direction detection means 114a detects the longest direction of each of the clusters extracted in step S302 (step S303). Then, the cluster extraction means 116 extracts, as a plane decision cluster, clusters having the same longest direction from the clusters extracted in step S303 (step S304).
Following step S304, the Reference-plane decision means 117 decides a first reference plane, a second reference plane, and a third reference plane (step S305). Here, the first reference plane is the plane containing the plane decision cluster, the second reference plane is the plane perpendicular to the first reference plane and horizontal to the longest direction of the plane decision cluster, and the third reference plane is the plane perpendicular to the first reference plane and the second reference plane.
Following step S305, the smoothing means 113 smooths the contours of the clusters whose longest directions are horizontal to any of the first reference plane, the second reference plane, and the third reference plane (step S306). Then, the cluster association means 114 determines whether a first cluster and a second cluster contained in the clusters whose contours have been smoothed correspond to the same reinforcing steel bar based on positional relation between the smoothed clusters (step S307). Note that, to the process in step S307, the processes in the subroutine shown in
As shown in the lower part of
In bar arrangement, there are a number of auxiliary reinforcing steel bars (reinforcement bars) for width retention in addition to main reinforcing steel bars that contribute to the design. The reinforcement bars do not contribute to the design and do not need to be detected in a bar arrangement inspection. The longest directions of the main reinforcing steel bars are horizontal to any of the first reference plane, the second reference plane, and the third reference plane, but the longest directions of the reinforcement bars are not horizontal to any of the first reference plane, the second reference plane, and the third reference plane in many cases. As described above, by limiting clusters to be smoothed to clusters whose longest directions are horizontal to any of the first reference plane, the second reference plane, and the third reference plane, it is possible to exclude reinforcement bars from estimation of coupling relation between clusters. Accordingly, it is possible to reduce the calculation load and to improve the estimation accuracy of coupling relation of clusters.
An example of a procedure of processing point cloud data acquired from a plurality of reinforcing steel bars in the processing device 110, which is different from
Following step S401, the direction detection means 114a detects the longest direction of each of the classified clusters (step S402). Then, the reference-direction decision means 118 decides a first reference direction having the highest frequency of the longest direction detected in step S402 and a second reference direction having the next highest frequency after the first reference direction (step S403). Then, the reference-direction decision means 118 decides a third reference direction that is the direction of the outer product of the first reference direction and the second reference direction (step S404).
Following step S404, the smoothing means 113 smooths the contours of clusters whose shortest directions are parallel to any of the first reference direction, the second reference direction, and the third reference direction (step S405). Then, the cluster association means 114 determines whether a first cluster and a second cluster contained in the clusters whose contours have been smoothed correspond to the same reinforcing steel bar based on positional relation between the smoothed clusters (step S406). Note that, to the process in step S406, the processes in the subroutine shown in
In bar arrangement, there are a number of auxiliary reinforcing steel bars (reinforcement bars) for width retention in addition to main reinforcing steel bars that contribute to the design. The reinforcement bars do not contribute to the design and do not need to be detected in a bar arrangement inspection. The longest directions of the reinforcing steel bars are horizontal to any of the two directions and the outer product direction, but the longest directions of the reinforcement bars are not parallel to any of the two directions and the outer product direction in many cases. As described above, by limiting clusters to be smoothed to clusters whose longest directions are horizontal to any of the two directions and the outer product direction, it is possible to exclude reinforcement bars from estimation of coupling relation between clusters. Accordingly, it is possible to reduce the calculation load and to improve the estimation accuracy of coupling relation of clusters.
In the above example embodiments, the present invention is described as a hardware configuration, but the present invention is not limited thereto. The present invention can be achieved by a central processing unit (CPU) executing a program.
The program for performing the above processes can be stored by various types of non-transitory computer-readable media and provided to a computer. Non-transitory computer-readable media include any type of tangible storage media. Examples of non-transitory computer-readable media include magnetic storage media (such as flexible disks, magnetic tapes, hard disk drives, etc.), optical magnetic storage media (such as magneto-optical disks), Compact Disc Read Only Memory (CD-ROM), CD-R, CD-R/W, and semiconductor memories (such as mask ROM, Programmable ROM (PROM), Erasable PROM (EPROM), flash ROM, an Random Access Memory (RAM)). The program may be provided to a computer using any type of transitory computer-readable media. Examples of transitory computer readable media include electric signals, optical signals, and electromagnetic waves. Transitory computer-readable media can provide the program to a computer via a wired communication line (such as electric wires, and optical fibers) or a wireless communication line.
The present invention has been described above with reference to the example embodiments but is not limited by the above. Various modifications that can be understood by those skilled in the art can be made to the configurations and the details of the present invention without departing from the scope of the invention.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2019/036988 | 9/20/2019 | WO |