The present disclosure relates to a device, a method, and a program for creating a three-dimensional model.
A technology for measuring point cloud data of an outdoor structure and three-dimensionally modeling the outdoor structure from the point cloud data by an in-vehicle three-dimensional laser scanner (mobile mapping system: MMS) has been developed (see, for example, Patent Literature 1 and 2).
In the technology of Patent Literature 1, after a point cloud acquired during one rotation of the laser scanner is set as a cluster called a scan line, it is detected that adjacent clusters are in a catenary shape, and thereby, a three-dimensional model of an overhead cable is created. However, in the present technology, there is a problem that it is difficult to create a scan line in a case where the point cloud data cannot be sufficiently acquired. Therefore, in the technology of Patent Literature 1, there is a problem that the point cloud of the cable portion cannot be extracted when the point cloud data cannot be sufficiently acquired due to a small number of point cloud outputs from the laser scanner or an influence of an obstacle or the like.
In the technology of Patent Literature 2, an overhead cable is detected from a point cloud by using traveling track information. However, in the present technology, only the ground level of the cable is obtained from the detected point cloud, and the point cloud of the cable portion cannot be extracted.
An object of the present disclosure is to enable extraction of a point cloud of a linear object such as a cable having a sparse point cloud.
In a device and a method of the present disclosure,
According to the present disclosure, it is possible to enable extraction of a point cloud of a linear object such as a cable having a sparse point cloud.
Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. The present disclosure is not limited to the embodiments to be described below. These embodiments are merely examples, and the present disclosure can be carried out in forms of various modifications and improvements based on knowledge of those skilled in the art. Components assigned the same reference numerals in the present specification and the drawings are the same components.
The present disclosure shows an example in which a cable 92 is stretched between utility poles 91-1 and 91-2 and between utility poles 91-2 and 91-3. Then, the vehicle on which the MMS 20 is mounted travels under the cable 92 stretched between the utility poles 91-1 and 91-2. Although the present disclosure shows an example in which a vehicle travels, the moving means may be any moving means capable of traveling on a road such as a motorcycle, and the traveling track may be a movement track of any moving means. In the present embodiment, an example of extracting the point cloud of the cable 92 is illustrated, but the point cloud is not limited to the point cloud of the cable 92 that is an overhead cable stretched in the air, and may be any linear object. Hereinafter, when there is no need to distinguish the utility poles 91-1 to 91-3, they are referred to as utility poles 91.
Here, the point d2 is a point at which xy coordinates parallel to a ground surface among three-dimensional coordinates match xy coordinates of the traveling track of the vehicle on which the MMS 20 is mounted. The xy coordinates of the point d2 may completely match the xy coordinates of the traveling track, but may be within a predetermined range determined in advance from the xy coordinates of the traveling track.
In the MMS 20, one connected line of the cable 92 is measured as a plurality of points. The interval between the plurality of points varies depending on the traveling speed of the vehicle and the distance from the vehicle. Therefore, as illustrated in
Since the cable 92 is thin, many point clouds are not measured in the cable 92. Therefore, when the second point cloud M is equal to or less than a predetermined number, it is determined that the first point cloud N is the point cloud of the cable possibility. When it is determined that the first point cloud N is the point cloud of the cable possibility, each of the second point clouds M is regarded as the first point cloud N. Then, by repeating the detection of the second point cloud M for each of the first point clouds N, a point cloud group of cable possibilities is created (S2). In the present embodiment, a point cloud group of cable possibilities of the points d1 to d6 illustrated in
Next, the straight line detection is performed on the point cloud included in the point cloud group of the cable possibility, and the point cloud group is divided for each detected straight line to create the point cloud group in units of cables (S3). For example, as illustrated in
Next, the approximate line obtained by fitting is extended for each point cloud group of the cable unit, and a point cloud placed on the extended approximate line is included in the same point cloud group (S4). For example, as illustrated in
The external data reading unit 11 has a function of reading the point cloud data and the traveling track data from the MMS 20.
The setting value storage unit 15 has a function of storing parameters used in the processing of the point cloud determination unit 12. The parameter is, for example, a search range value that defines a range of the point cloud data to be searched for the point d2 in step S2, a distance from the traveling track when the point d2 is detected in step S2, an inter-point-cloud distance that defines the “fixed distance DN” used in step S2, an upper limit of the number of point clouds that defines the “predetermined number” used in step S2, and an approximation method used when obtaining an approximate line in step S4.
The point cloud determination unit 12 has functions of detecting a point cloud on the traveling track (S1), creating a point cloud group of cable possibilities (S2), dividing the cable unit into point cloud groups (S3), and generating an approximate line and detecting a point cloud on the approximate line (S4).
The parameter calculation unit 13 has a function of calculating a cable ground height, a slackness, and a span length.
The calculation result storage unit 14 has a function of storing values calculated by the point cloud determination unit 12 and the parameter calculation unit 13.
The external data reading unit 11, the setting value storage unit 15, the parameter calculation unit 13, and the calculation result storage unit 14 can be achieved by known ones.
The external data reading unit 11 reads the point cloud data and the traveling track data from the MMS 20 (S01), and the point cloud determination unit 12 reads the setting value from the setting value storage unit 15 (S02).
In step S1, the detection range is set on the traveling track on the basis of the traveling track information and the search range value (S11), and the point cloud N existing in the point cloud search range is searched (S12). As a result, a point cloud on the traveling track is detected.
In step S2, the point cloud determination unit 12 performs the following steps S21 to S25. A point cloud within a certain distance DN from the detected point cloud is detected, and the number of the detected point clouds is counted (S21). When the number of counts is larger than the set value, the point cloud is not determined as the point cloud of the cable possibility. When the count number is equal to or less than the upper limit of the number of point clouds, the point cloud N and the point cloud M are set as a point cloud group G (S22). Also for the point cloud M, the number of point clouds L within the inter-point-cloud distance is counted (S23). When the count number is equal to or less than the upper limit of the number of point clouds, the point cloud L is set as a point cloud group G (S24). The detection and counting of the point cloud within the inter-point-cloud distance are repeated to create the point cloud group G (S25).
Depending on the wiring of the cable, the point cloud group may be a T-shaped point cloud group. In step S3, the point cloud determination unit 12 performs straight line detection (S31), and divides each straight line into point cloud groups in units of cables (S32).
In step S4, the point cloud determination unit 12 approximates the point cloud group in units of cables with, for example, a primary straight line, a secondary curve, a catenary curve, or the like (S41), and extends the point cloud group (S42). The point cloud existing on the extension is also put into the point cloud group in units of cables (S43) to be used as the cable model (S44).
Finally, the parameter calculation unit 13 calculates the cable ground height, the slackness, the span length, and the like from the cable model (S5). The calculation result storage unit 14 stores the cable model created by the point cloud determination unit 12 and the calculation result of the parameter calculation unit 13.
Since the utility pole 91 is not disposed on the road on which the vehicle travels, the cable 92 crosses the road. Therefore, the approximate line obtained in step S4 may be extended to the width of the road in order for the cable 92 to cross the road.
An approximate expression is created from the point cloud coordinates for each point cloud group in units of cables on the basis of the approximation method (S41).
Coordinates c11 to c16 of the traveling track are acquired (S421). The intervals of the coordinates c11 to c16 are arbitrary, and may be equal intervals, for example, every 1 m.
Coordinates c21 to c23 of the utility pole 91 are acquired (S422). Here, the coordinates c21 to c23 of the utility pole 91 may be acquired from a facility DB that stores the geographical position of the utility pole 91, or may be acquired from coordinates of a utility pole model created using a measured point cloud (white circle illustrated in
The coordinates c11 and c16 of the utility poles 91-1 and 91-2 closest to the coordinates c21 to c22 of each traveling track acquired in step S421 are searched (S423).
A distance D91 between the coordinates c11 to c16 of the traveling track and the coordinates c21 and c22 of the utility poles 91-1 and 91-2 is calculated as a road width (S424).
As illustrated in
When the point cloud existing on the approximate line FL1 exists, the point cloud is put into the point cloud group of the points d1, d2, and d3 (S43). In the present embodiment, the approximate line FL2 exists on the extended approximate line FL1. In this case, the approximate line FL1 and the approximate line FL2 are connected.
The point cloud group coordinates of the point cloud group of in units of cables are stored as cable model information (S44). At this time, the approximate lines FL1 and FL2 are stored in the calculation result storage unit 14 as a cable model connected in a T shape.
As described above, in the present disclosure, the point cloud N of the cable 92 existing on the traveling track is detected using the traveling track data that is the coordinates of the vehicle on which the MMS 20 is mounted, the point cloud group of the cable possibility is determined on the basis of the distance DN from the point cloud N and the number, and the point cloud of the cable portion is extracted on the basis of the point cloud included in the point cloud group of the cable possibility.
According to the present disclosure, a linear object is extracted with a point cloud existing on a traveling track as a starting point. Therefore, even when the number of point clouds is sparse, a point cloud group of a cable portion can be extracted, and a slackness or the like can be calculated from cable model information. In the specific example of the cable model of
The present disclosure can be applied to the information and communications industry.
| Filing Document | Filing Date | Country | Kind |
|---|---|---|---|
| PCT/JP2021/045241 | 12/9/2021 | WO |