Space information processing device and space information processing method

The spatial information processing device and method effectively classify spaces using voxel-based analysis and threshold detection to identify partitioning bodies, facilitating accurate room extraction and three-dimensional modeling from laser scanner data.

JP2024127147APending Publication Date: 2024-09-20FUJITA CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023036097
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-09
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing technologies face difficulties in extracting spaces such as rooms from point cloud data obtained using a laser scanner, as it is challenging to determine the presence of partitioning bodies like walls, doors, and windows from the data.

Method used

A spatial information processing device and method that utilizes voxel-based analysis to divide a target space into voxels, determines the presence of objects within each voxel, and employs threshold-based detection to identify partitioning bodies like walls and doors, followed by image conversion and interpolation to classify spaces.

Benefits of technology

Enables easy extraction and classification of spaces like rooms from point cloud data, allowing for accurate three-dimensional modeling and comparison with BIM data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024127147000001
    Figure 2024127147000001
Patent Text Reader

Abstract

To provide a space information processing device and a space information processing method capable of easily extracting a space of a room or the like from an object space.SOLUTION: A space information processing device 10 includes an acquisition part 100A for acquiring a point group composed of a plurality of points representing an object existing in an object space to be surveyed by a laser scanner, a detection part 100C for detecting a partition body partitioning the object space on the basis of the point group acquired by the acquisition part, and a classification part 100D for classifying the object space into at least one partition space to be partitioned by the partition body on the basis of the partition body detected by the detection part.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a spatial information processing device and a spatial information processing method. [Background technology]

[0002] 2. Description of the Related Art There is known a technique for stereoscopically measuring three-dimensional data of a construction site using a laser scanner as point cloud data in order to check progress and measure completed form at a construction site or the like (see, for example, Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2007-277813 A Summary of the Invention [Problem to be solved by the invention]

[0004] Point cloud data obtained using a laser scanner is effective for determining the shape of a survey target, but it is difficult to extract spaces such as rooms in a building from such point cloud data.

[0005] The present invention has been made in consideration of the above circumstances, and an object of the present invention is to provide a spatial information processing device and a spatial information processing method that can easily extract a space such as a room from a target space. [Means for solving the problem]

[0006] A spatial information processing device according to one embodiment of the present invention includes an acquisition unit that acquires a point cloud consisting of a plurality of points representing objects present in a target space to be surveyed using a laser scanner; a division unit that divides the target space including the point cloud acquired by the acquisition unit into a plurality of voxels; and a detection unit that determines the presence or absence of an object in each voxel based on the points in each voxel divided by the division unit, and detects that a partitioning body that partitions the target space is located in a first voxel lined up in the first axis direction when the number of first voxels determined to have an object in a first axis direction is equal to or greater than a first threshold value.

[0007] In one embodiment of the present invention, the first axial direction is, for example, a vertical direction, and the partition is, for example, a wall erected in the vertical direction or a closed door.

[0008] In one embodiment of the present invention, the detection unit detects that a second voxel aligned in the first axis direction and determined to have no object is located within a space partitioned by a partition, for example, when the number of first voxels in the first axis direction is less than a first threshold value.

[0009] In one embodiment of the present invention, the detection unit detects that a window or an open door is located in voxels lined up in the first axis direction, for example, when the number of first voxels in the first axis direction is less than a first threshold, but the first voxels are lined up consecutively in the first axis direction for a number equal to or greater than a second threshold and the second voxels are lined up consecutively in the first axis direction for a number equal to or greater than a third threshold.

[0010] In one embodiment of the present invention, the detector determines that a voxel is located in a window if, for example, the voxel in which a window or an open door is detected is located on the outer edge of the target space.

[0011] In one embodiment of the present invention, the detection unit determines that a voxel is located where an open door is located if, for example, the voxel in which a window or open door is detected is located inside the outer edge of the target space.

[0012] In one embodiment of the present invention, the detection unit converts voxel data in the target space into two-dimensional data on a plane perpendicular to the first axis direction, and converts the two-dimensional data into a binary image by assigning a first value to pixels in the two-dimensional data corresponding to voxels in which a partition is detected and a second value to pixels corresponding to voxels in which a partition is not detected.

[0013] In one embodiment of the present invention, the detection unit performs, for example, a noise removal process on the binary image to modify the shapes of the partitions represented by the pixels to which the first value is assigned.

[0014] A spatial information processing device according to one embodiment of the present invention may rotate a voxel coordinate system according to the inclination of a partition represented on a binary image, and then divide the voxels using a division unit and detect the partition using a detection unit.

[0015] A spatial information processing device according to one embodiment of the present invention may further include a classification unit that assigns a different label to each area in a binary image where pixels of a second value are consecutive, and classifies a target space into at least one space partitioned by a partition body based on the labeled binary image.

[0016] A spatial information processing device according to an embodiment of the present invention may subdivide voxels near a boundary between two adjacent spaces partitioned by a partition, and re-label the subdivided voxels.

[0017] The spatial information processing device according to an embodiment of the present invention may further include an addition unit that adds visual information to the spaces so that the spaces classified by the classification unit can be visually distinguished.

[0018] A spatial information processing method according to one embodiment of the present invention is a method that causes a computer to execute the following processes: acquire a point cloud consisting of a plurality of points representing objects present in a target space to be surveyed using a laser scanner; divide the target space containing the acquired point cloud into a plurality of voxels; determine the presence or absence of an object in each voxel based on the points in each divided voxel; and, if the number of first voxels in a first axial direction of the target space that are determined to contain an object is equal to or greater than a first threshold value, detect that a partitioning body that partitions the target space is located in the first voxels lined up in the first axial direction. Effect of the Invention

[0019] According to one embodiment of the present invention, a spatial information processing device and a spatial information processing method are provided that can easily extract a space such as a room from a target space. [Brief description of the drawings]

[0020] [Figure 1] 1 is a schematic diagram for explaining a spatial information processing device and a spatial information processing method according to an embodiment of the present invention; [Diagram 2] 1 is a schematic diagram for explaining a spatial information processing device and a spatial information processing method according to an embodiment of the present invention; [Diagram 3] FIG. 2 is a diagram showing an example of a three-dimensional model of a building which is a target space. [Figure 4] 1 is a diagram illustrating a hardware configuration of a spatial information processing device according to an embodiment of the present invention. [Diagram 5] 1 is a functional block diagram of a spatial information processing device according to an embodiment of the present invention. [Figure 6] 4 is a flowchart showing spatial information processing executed by a processor of the spatial information processing device in one embodiment of the present invention. [Figure 7] FIG. 7 is a diagram showing a subroutine of the voxel process (step S102) in FIG. [Figure 8] FIG. 7 is a diagram showing a subroutine of the partition body detection process (step S103) in FIG. 6. [Figure 9]FIG. 9 is a diagram for explaining the determination process (step S103b) in FIG. 8. [Figure 10] FIG. 9 is a diagram showing an example of a binary image obtained in the image conversion process (step S103f) of FIG. [Figure 11] FIG. 9 is a diagram showing a subroutine of the interpolation process (step S103g) in FIG. 8. [Figure 12] FIG. 9 is a diagram showing an example of a binary image obtained in the image conversion process (step S103f) of FIG. [Figure 13] FIG. 9 is a diagram showing an example of a binary image obtained by the interpolation process (step S103g) in FIG. [Figure 14] FIG. 7 is a diagram showing a subroutine of the partition space classification process (step S104) in FIG. [Figure 15] FIG. 7 is a diagram for explaining the partition space classification process (step S104) in FIG. [Figure 16] FIG. 13 is a diagram for explaining the subdivision of voxels. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0021] A spatial information processing device, a spatial information processing method, and a spatial information processing program according to an embodiment of the present invention will be described in detail with reference to the drawings.

[0022] 1 to 3 are schematic diagrams for explaining a spatial information processing device and a spatial information processing method according to an embodiment of the present invention. Reference symbol BL indicates a building. Reference symbols RM1 to RM5 indicate rooms provided in the building BL, which is a target space. Figures 1 and 2 show schematic plan views of the building BL including the rooms RM1 to RM5.

[0023] In this embodiment, for convenience, the vertical direction is defined as the z-axis direction, and two axial directions (horizontal directions) that are perpendicular to the z-axis direction and perpendicular to each other are defined as the x-axis direction and the y-axis direction, respectively. The mutually perpendicular x-axis direction, y-axis direction, and z-axis direction form a right-handed system.

[0024] Reference symbol LS denotes a laser scanner that surveys spatial information. The laser scanner LS is, for example, a terrestrial laser scanner (TLS). The laser scanner LS scans in almost all directions (a hemispherical range) centered on the laser scanner LS using laser light L emitted from a laser emission port of a main body that can rotate horizontally and vertically. This allows, for example, the entire room in which the laser scanner LS is installed to be scanned (and in some cases, rooms behind an open door, etc.), and three-dimensional data of the space inside the building BL is obtained as point cloud data.

[0025] Data of the laser light 1 reflected by the obstruction is displayed in space as point cloud data. Therefore, it is not possible to determine what the obstruction is from each point cloud data. For example, in FIG. 1 and FIG. 2, the thick frame indicated by the symbol BL imitates the outer wall of the building BL, but this cannot be determined from the point cloud data. Similarly, five thick frames drawn within the thick frame imitating the outer wall of the building BL imitate walls (more specifically, wall surfaces) that divide the rooms RM1 to RM5, but this cannot be determined from the point cloud data. In other words, there is a problem that it is difficult to easily compare the point cloud data with drawings of CAD (Computer-Aided Design) and BIM (Building Information Modeling) (BIM will be mainly described in this embodiment). Furthermore, there are cases where the missing parts in the thick frames are, for example, open doors or transparent windows (i.e., windows that do not reflect the laser light L), and there is a problem that this cannot be determined from the point cloud data.

[0026] When the laser scanner LS placed in the building BL scans the inside of the building BL, the walls that separate the rooms RM1 to RM5 block the laser light L, and it is not possible to scan all of the rooms RM1 to RM5 in one survey. In order to scan all of the rooms RM1 to RM5, the laser scanner LS is used to perform surveying at multiple locations in the building BL.

[0027] The laser scanner LS is wirelessly connected to the spatial information processing device 10. The laser scanner LS may be wired to the spatial information processing device 10. The laser scanner LS transmits point cloud data of each survey location to the spatial information processing device 10.

[0028] The spatial information processing device 10 receives point cloud data of each measurement location from the laser scanner LS. The spatial information processing device 10 registers the point cloud data of each measurement location. As a result, point cloud data of the inside of the building BL including all of the rooms RM1 to RM5 is obtained.

[0029] The spatial information processing device 10 detects walls (an example of a partition) that partition the building BL, which is the target space, based on point cloud data within the building BL, and classifies the interior of the building BL into at least one partitioned space (here, a room) based on the detected walls.

[0030] In this embodiment, voxel processing is used to detect the walls that divide the building BL. By extracting two-dimensional data from the point cloud data, it is possible to easily compare it with BIM data.

[0031] The spatial information processing device 10 divides the building BL, which is the target space, into multiple voxels. The grid shown in Fig. 2 represents the voxels. The voxels mean that the building BL, which is the target space, is measured by the laser scanner LS and the target space is divided into arbitrary sizes. By converting the target space into voxels, the point cloud data can be easily handled.

[0032] The spatial information processing device 10 assigns a status of "busy" or "free" to each voxel based on the points contained in each voxel. The above "points contained in each voxel" refer to each point constituting the point cloud data. For convenience, these points are referred to as "point P."

[0033] A "busy" status indicates that an object is present in the voxel. A "free" status indicates that no object is present in the voxel. For convenience, in Figure 2, voxels with a "busy" status are shown as squares with diagonal hatching. Voxels with a "free" status are shown as white squares with no hatching. Squares with diagonal hatching are referred to as "hatched squares," and white squares with no hatching are referred to as "white squares."

[0034] The spatial information processing device 10 acquires information that extracts the contours of the walls, which are partitions, based on the voxels to which the statuses have been assigned. This information is, for example, a binary two-dimensional image that represents the shape of the walls.

[0035] For ease of explanation, each square in FIG. 2 is taken as a pixel forming a binary image. Also, the hatched squares and the white squares are taken as pixels with values ​​of 1 and 0, respectively. The spatial information processing device 10 detects pixels represented with a value of 1 as wall parts, and classifies areas roughly surrounded by the detected pixels with a value of 1 as rooms. In FIG. 2, areas indicated by pixels with a value of 0 indicated by symbols RM1 to RM5 surrounded by pixels (wall parts) represented with a value of 1 are extracted and classified as rooms RM1 to RM5, respectively.

[0036] In this way, according to this embodiment, rooms included in the building BL, which is the target space, are easily extracted and classified based on the point cloud data of the building BL.

[0037] The spatial information processing device 10 can create a three-dimensional model of the building BL based on the point cloud data or voxels of the building BL.

[0038] Fig. 3 shows an example of a three-dimensional model of a building BL to which color information has been added. As shown in Fig. 3, the spatial information processing device 10 can add different colors to the classified rooms RM1 to RM5 on the three-dimensional model. By checking such a three-dimensional model, for example, each room included in the target space can be easily identified, and it can be used as support information because it is easy to compare with BIM.

[0039] The spatial information processing device, the spatial information processing method, and the spatial information processing program according to this embodiment will be described in more detail.

[0040] FIG. 4 is a diagram showing a hardware configuration of the spatial information processing device 10. As shown in FIG.

[0041] The spatial information processing device 10 is, for example, a general-purpose PC (Personal Computer). As shown in Fig. 4, the spatial information processing device 10 includes a bus 100. A processor 111, a memory 112, an auxiliary storage device 113, a communication interface 114, an input device 115, and an output device 116 are connected to the bus 100. Note that the spatial information processing device 10 may include other configurations not shown in Fig. 4. That is, the aspect of the spatial information processing device 10 has a degree of freedom, and various design changes are possible.

[0042] The processor 111 executes a program deployed on the memory 112. The programs executed by the processor 111 include a spatial information processing program 113A according to an embodiment of the present invention.

[0043] The processor 111 is, for example, a single processor or a multiprocessor, and includes at least one processor. When multiple processors are included, the processor 111 may be packaged as a single device, or may be configured as multiple devices that are physically separated within the spatial information processing device 10.

[0044] The memory 112 is, for example, a RAM (Random Access Memory), and provides a work area.

[0045] The auxiliary storage device 113 is a storage device that stores various information, such as a hard disk drive or a semiconductor memory. Various programs including a spatial information processing program 113A are stored in the auxiliary storage device 113. The processor 111 loads the program in a work area secured in the memory 112, and controls the spatial information processing device 10 according to the loaded program.

[0046] A spatial information processing device 10, which is an example of a computer, executes a spatial information processing method according to an embodiment of the present invention by a spatial information processing program 113A.

[0047] For example, the spatial information processing device 10 executes a series of processes, such as acquiring a point cloud consisting of a plurality of points P representing objects present in a target space (e.g., a building BL) to be surveyed by a laser scanner LS, dividing the target space including the acquired point cloud into a plurality of voxels, determining the presence or absence of an object in each voxel based on the points P in each divided voxel, and detecting that a partitioning body (e.g., a wall) that partitions the target space is located in the first voxel lined up in the first axis direction (e.g., vertical direction) if the number of first voxels determined to have an object in the first axis direction is equal to or greater than a first threshold value.

[0048] By executing the spatial information processing program 113A by the spatial information processing device 10, it becomes possible to easily extract and classify, for example, rooms in a target space from the point cloud data. The spatial information processing program 113A will be described in detail later.

[0049] The communication interface 114 connects the laser scanner LS and the spatial information processing device 10 so that they can communicate with each other. The communication interface 114 may also connect the spatial information processing device 10 to cloud computing via an external network, for example. In this case, the cloud computing may include the spatial information processing program 113A. That is, the processing by the spatial information processing program 113A may be executed by the cloud computing instead of the spatial information processing device 10.

[0050] The input device 115 is a keyboard, a pointing device, a touch panel, or the like, and receives input from, for example, an operator.

[0051] The output device 116 includes a display device, an audio output device, a printer, etc. The output device 116 outputs, for example, a processing result by the spatial information processing program 113A.

[0052] Fig. 5 is a functional block diagram of the spatial information processing device 10. As shown in Fig. 5, the spatial information processing device 10 includes, as functional blocks, a point cloud acquisition unit 100A, a voxel division unit 100B, a partition detection unit 100C, a space classification unit 100D, and a visual information addition unit 100E. Each functional block is realized by a spatial information processing program 113A executed by the spatial information processing device 10, which is an example of a computer. Each functional block may be realized in part or in whole by hardware such as a dedicated logic circuit.

[0053] The point cloud acquisition unit 100A acquires a point cloud consisting of a plurality of points P representing objects existing in a target space to be surveyed by the laser scanner LS. The voxel division unit 100B divides the target space (here, a building BL) including the point cloud acquired by the point cloud acquisition unit 100A into a plurality of voxels. The partition body detection unit 100C judges the presence or absence of an object in each voxel based on the points P in each voxel divided by the voxel division unit 100B, and assigns a status (such as "busy" or "free"). When the number of voxels with the status "busy" in the vertical direction of the building BL is equal to or greater than a first threshold, the partition body detection unit 100C detects that partition bodies (e.g., walls) that partition the building BL are located in these voxels. The space classification unit 100D classifies the building BL into at least one space (e.g., a room) partitioned by walls based on the walls detected by the partition body detection unit 100C. The visual information adding section 100E adds visual information to the rooms so that the rooms classified by the space classification section 100D can be visually distinguished.

[0054] By the operation of these function blocks, for example, as described above, rooms in a building BL can be easily extracted and classified from point cloud data. In addition, an operator can use the information obtained by the classification process to add color to the 3D model so that each room can be visually distinguished on the 3D model, or use it as support information for comparison with BIM.

[0055] The laser scanner LS scans a space within a certain range centered on the laser scanner LS. The target space surveyed by the laser scanner LS is a three-dimensional space defined by three axes, the x-axis, the y-axis, and the z-axis. The laser scanner LS outputs a point cloud of the target space obtained by scanning to the spatial information processing device 10.

[0056] As described above, it is not possible to scan all of the rooms RM1 to RM5 in one survey. Therefore, in order to scan all of the rooms RM1 to RM5, surveying is performed at multiple locations in the building BL using the laser scanner LS.

[0057] Fig. 6 is a flowchart showing spatial information processing executed by the processor 111 of the spatial information processing device 10. For example, after surveying at a plurality of locations is completed, execution of the spatial information processing shown in Fig. 6 is started.

[0058] The spatial information processing device 10 registers the point cloud data of each measurement point. As a result, the spatial information processing device 10 acquires a point cloud in the building BL including all rooms RM1 to RM5 (step S101). The point cloud acquired here may have color information (e.g., RGB), or may not have color information in order to reduce the processing load.

[0059] Thus, in step S101, the spatial information processing device 10 operates as an acquisition unit (that is, point cloud acquisition unit 100A) that acquires a point cloud made up of a plurality of points P that represent objects existing in a target space to be surveyed by the laser scanner LS.

[0060] The spatial information processing apparatus 10 executes voxel processing (step S102). Fig. 7 shows a subroutine of the voxel processing (step S102).

[0061] The spatial information processing device 10 divides the target space into a plurality of voxels (step S102a). For example, the spatial information processing device 10 creates a rectangular parallelepiped that encloses all points P using the maximum and minimum values ​​of the xyz coordinates of the point cloud acquired in step S101. The spatial information processing device 10 divides the space (target space) within the created rectangular parallelepiped into a plurality of voxels. As an example, the spatial information processing device 10 divides the target space into cubic voxels with each side being 10 cm long. The size of the voxels can be changed arbitrarily.

[0062] In this manner, in step S102a, the spatial information processing apparatus 10 operates as a division section (that is, the voxel division section 100B) that divides the target space including the point cloud into a plurality of voxels.

[0063] The spatial information processing apparatus 10 counts the number of points P included in the voxels divided in step S102a (step S102b).

[0064] If the number of points P included in a voxel is equal to or greater than the threshold value TH0 (step S102c: YES), the spatial information processing device 10 assigns a status of "busy" to this voxel (step S102d). If the number of points P included in a voxel is less than the threshold value TH0 (step S102c: NO), the spatial information processing device 10 assigns a status of "free" to this voxel (step S102e). In this embodiment, a threshold value appropriate for determining the presence or absence of an object is set in advance. This threshold value can be changed arbitrarily.

[0065] In this way, in steps S102b to S102e, the spatial information processing device 10 operating as the partition detection unit 100C determines the presence or absence of an object in each voxel based on the point P in each voxel divided by the voxel division unit 100B, and assigns a status to the object.

[0066] Note that the spatial information processing device 10 may assign a provisional status of "error" to voxels located outside the building BL, which is the target space, in order to improve processing efficiency, for example. Specifically, the spatial information processing device 10 assigns a status of "error" to voxels in which the number of points P is less than a threshold TH0 (or a threshold TH0' different from the threshold TH0) and which are estimated to be located outside the building BL in the inside / outside determination. An algorithm such as WNA (Winding Number Algorithm) is used for this inside / outside determination.

[0067] The spatial information processing device 10 judges whether or not a status has been assigned to all voxels divided in step S102a (step S102f). If unprocessed voxels remain (step S102f: NO), the spatial information processing device 10 returns to step S102b and assigns a status to the unprocessed voxels. When the spatial information processing device 10 assigns a status to all voxels (step S102f: YES), it ends this subroutine.

[0068] The spatial information processing apparatus 10 executes a partition object detection process (step S103). Fig. 8 shows a subroutine of the partition object detection process (step S103).

[0069] The spatial information processing apparatus 10 counts how many voxels in the z-axis direction (vertical direction) have a status of "busy" for each voxel position on the xy plane (horizontal plane) (step S103a).

[0070] The spatial information processing apparatus 10 determines whether or not a partition (here, a wall) is present at the voxel position to be determined based on the number of voxels counted in step S103a (step S103b).

[0071] Fig. 9 is a diagram for explaining the determination process in step S103b. In Fig. 9, voxels with a status of "busy" are indicated by hatched blocks with diagonal lines, and voxels with a status of "free" are indicated by white blocks with no hatching.

[0072] In FIG. 9, the black parts represent partitions (walls, ceilings, floors, etc.) of the building BL and objects (furniture, etc.) placed in the room. In Example 1 of FIG. 9, the black parts mimic a wall part standing from floor to ceiling or a closed door. In Example 2 of FIG. 9, the black parts mimic the ceiling, floor, objects placed in the room, etc. In Example 2 of FIG. 9, the white parts represent the space within the room. In Example 3 of FIG. 9, the white parts represent an open door. In Example 4 of FIG. 9, the white parts represent a window. For convenience, a closed door will be abbreviated as a "closed door". An open door will be abbreviated as an "open door".

[0073] Usually, the walls and doors of a room are erected vertically. Therefore, at a voxel position where there is a wall or a closed door on the xy plane (horizontal plane), the status "busy" is given to all voxels in the z-axis direction (vertical direction) as shown in Example 1 of Figure 9. For convenience, a voxel position where there is a wall on the xy plane is referred to as a "wall-equipped voxel position WWP."

[0074] In contrast, at voxel positions without walls on the xy plane (horizontal plane), there are relatively many voxels with the status "free" among the voxels in the z-axis direction (vertical direction), as shown in Example 2 of Figure 9. For convenience, we refer to voxel positions without walls on the xy plane as "wall-less voxel positions NWP."

[0075] Therefore, if the number of voxels with the status "busy" counted in step S103a is equal to or greater than a threshold value TH1 (an example of a first threshold value) (step S103b: YES), the spatial information processing device 10 determines that there is a wall or a closed door at the voxel position being determined (step S103c).

[0076] In addition, if the number of voxels with the status "busy" counted in step S103a is less than the threshold value TH1 (step S103b: NO), the spatial information processing device 10 determines that there is no wall or closed door at the voxel position to be determined (in other words, it is a space (indoors)) (step S103d).

[0077] For example, consider a case where the size of a voxel is 10 cubic centimeters and the height from the floor to the ceiling is 200 centimeters. In this case, 20 voxels are arranged in the z-axis direction (vertical direction). Therefore, referring to examples 1 and 2 in FIG. 9, the threshold value TH1 is 20.

[0078] However, for example, if a small window is provided in a wall, the voxel where the small window is located may be given the status "free". Also, due to the influence of noise, the status "free" may be mistakenly given to a voxel. In other words, even if a walled voxel position WWP is a walled voxel, the status "busy" may not be given to all voxels in the z-axis direction.

[0079] As an example, at a walled voxel position WWP, the number of voxels given the status "busy" is usually 15 or more, and at a non-walled voxel position NWP, the number of voxels given the status "busy" is usually 5 or less. Therefore, the threshold value TH1 is set to, for example, an intermediate value between these values ​​(such as 10). Note that this threshold value can be changed arbitrarily.

[0080] If there remains a voxel position for which the presence or absence of a wall has not been determined (step S103e: NO), the spatial information processing apparatus 10 returns to step S103a and determines the presence or absence of a wall for the unprocessed voxel position.

[0081] In another embodiment, the spatial information processing device 10 may determine that a voxel position is in space (indoors) if there are a certain number of consecutive voxels with the status "free" from below to above in the vertical direction, regardless of the number of voxels with the status "busy".

[0082] In this way, in the partition detection process (step S103), it is determined whether the voxel position to be determined corresponds to a wall (and a closed door) or a space (room). By introducing a more accurate determination algorithm, it is possible to further determine whether the voxel position to be determined corresponds to an open door or a window.

[0083] In examples 3 and 4 of Fig. 9, the number of voxels given the status "busy" is less than the threshold value TH1, but these voxels are consecutively arranged in the z-axis direction (vertical direction) for a number equal to or greater than a threshold value TH2 (an example of a second threshold value). Also, voxels given the status "free" are consecutively arranged in the z-axis direction for a number equal to or greater than a threshold value TH3 (an example of a third threshold value). In this case, the spatial information processing device 10 detects that an open door (example 3 of Fig. 9) or a window (example 4 of Fig. 9) is located at the position of this voxel.

[0084] When a voxel position detected as an open door or window is located on the outer edge of the target space, the spatial information processing device 10 determines that a window is located at this voxel position. On the other hand, when a voxel position detected as an open door or window is located inside the outer edge of the target space, the spatial information processing device 10 determines that an open door is located at this voxel position.

[0085] For example, in a binary image BIa (see FIG. 10) described later, the position indicated by the symbol WD is determined to be where a window is located, and the position indicated by the symbol DR is determined to be where an open door is located.

[0086] When the spatial information processing device 10 has finished determining the presence or absence of walls for all voxel positions on the xy plane (horizontal plane) (step S103e: YES), it performs image conversion based on the wall-containing voxel positions WWP and the non-wall-containing voxel positions NWP (step S103f).

[0087] Specifically, the spatial information processing device 10 converts the three-dimensional voxel data into two-dimensional data on an xy plane (a plane perpendicular to the z-axis direction, which is the first axis direction). Based on the determination results of steps S103c and S103d, the spatial information processing device 10 assigns information on a walled voxel position WWP and a wallless voxel position NWP to each voxel position arranged on the xy plane in the two-dimensional data.

[0088] The spatial information processing device 10 converts the two-dimensional data on the xy plane, to which information on the walled voxel positions WWP and the non-walled voxel positions NWP has been assigned, into a two-dimensional binary image. More specifically, the spatial information processing device 10 assigns a value of 0 (white) to pixels on the binary image corresponding to the walled voxel positions WWP, and assigns a value of 1 (black) to pixels on the binary image corresponding to the non-walled voxel positions NWP.

[0089] That is, the spatial information processing apparatus 10 converts the three-dimensional voxel data into a binary image in which positions where there are walls are represented in white and positions where there are no walls are represented in black. For convenience, the binary image obtained by the conversion process in step S103f is denoted by the symbol BIa.

[0090] Here, Fig. 10 shows an example of a binary image BIa obtained by the image conversion process of step S103f. In Fig. 10, the white parts indicate pixels corresponding to the walled voxel positions WWP, and the black parts indicate pixels corresponding to the no-walled voxel positions NWP. In this way, the binary image BIa is obtained by detecting the walls, which are partitions within the building BL, as white (information with a value of 0).

[0091] The spatial information processing apparatus 10 may assign information other than the value 0 or the value 1, for example, Null, to pixels in the binary image BIa corresponding to the voxel position to which the provisional status "error" has been assigned.

[0092] In this way, the spatial information processing device 10 operates as a detection unit (i.e., partition detection unit 100C) that detects partitions (here, walls) that partition the building BL, which is the target space, based on the point cloud acquired in step S101 of Figure 6.

[0093] More specifically, the spatial information processing device 10 operating as the partition detection unit 100C determines the presence or absence of an object in each voxel based on point P in each voxel divided by the voxel division unit 100B, and detects partitions that divide the target space based on a first voxel determined to have an object (i.e., a voxel assigned the status "busy") and a second voxel determined to have no object (i.e., a voxel assigned the status "free").

[0094] In addition, the spatial information processing device 10 operating as the partition detection unit 100C detects that a wall, which is a partition, is located in the first voxel aligned in the z-axis direction when the first voxel (i.e., voxel with the status "busy") in the z-axis direction (vertical direction, an example of the first axis direction) of the target space is included at a threshold value TH1 (an example of the first threshold value) or more.

[0095] The symbol WD in FIG. 10 indicates a window in room RM1. The symbol DR in FIG. 10 indicates an open door in each room. As shown in FIG. 10, partitions are not detected in the areas where such windows and doors are located. Therefore, the partitions surrounding the rooms are missing in these areas on the binary image BIa. These missing areas become a factor that reduces the accuracy when classifying the rooms RM1 to RM5.

[0096] Therefore, the spatial information processing device 10 performs an interpolation process on the binary image BIa to interpolate the shape of white (in other words, the partition represented by the first voxel to which the status "busy" is assigned) (step S103g).

[0097] As described with reference to Example 3 in Fig. 9, if the position indicated by the code DR is determined to be an open door, symbol data indicating an open door may be added to the binary image BIa. Also, as described with reference to Example 4 in Fig. 9, if the position indicated by the code WD is determined to be a window, symbol data indicating a window may be added to the binary image BIa.

[0098] 11 shows a subroutine of the interpolation process (step S103g). In the interpolation process (step S103g), the spatial information processing device 10 performs morphological transformation on the binary image BIa. In this embodiment, missing portions of line segments in the binary image BIa that represent partitions are filled in by the morphological transformation. For this reason, the morphological transformation, which is a type of noise removal process, is referred to as "interpolation process" for convenience.

[0099] 12 shows a case where a line segment (i.e., a white line segment) representing a partition body is significantly inclined obliquely in the binary image BIa. When a line segment is inclined obliquely like this, the accuracy of interpolation by morphological transformation deteriorates.

[0100] Therefore, the spatial information processing apparatus 10 detects line segments included in the binary image BIa (step S103gA). For example, a Hough transform is used to detect the line segments.

[0101] The spatial information processing device 10 judges whether the longest line segment among the line segments detected in step S103gA is aligned with the x-axis direction or the y-axis direction of the binary image coordinate system (step S103gB). Note that some deviation (for example, a tilt of 10 degrees or less) may be permitted as being substantially aligned with the above-mentioned axis direction. The permitted deviation in tilt may be determined according to the size of the voxel.

[0102] If the longest line segment among the line segments detected in step S103gA does not extend along the x-axis or y-axis direction of the binary image coordinate system (step S103gB: NO), the spatial information processing device 10 performs preprocessing to improve the accuracy of interpolation by morphological transformation (step S103gC).

[0103] Specifically, as a pre-processing step, the spatial information processing device 10 rotates the xyz coordinate system of the voxel data so that the longest line segment among the line segments detected in step S103gA is aligned with the x-axis direction or the y-axis direction of the binary image coordinate system. The example in Fig. 12 shows a state in which the rotation transformation is performed so that the longest line segment LS1 is aligned with the x-axis direction.

[0104] After the preprocessing, the spatial information processing device 10 returns to the voxel processing (step S102 in FIG. 6) and executes the processing from step S102 in FIG. 6 using the voxel data after the xyz coordinate system rotation. By performing such preprocessing, for example, as shown in FIG. 10, a binary image BIa in which line segments representing partitions are aligned along the axial direction is obtained.

[0105] The spatial information processing device 10 performs morphological transformation on the binary image BIa (step S103gD).

[0106] Specifically, the spatial information processing device 10 performs opening or closing on the binary image BIa. Opening is a process of performing dilation on the binary image BIa multiple times, and then performing erosion multiple times. Closing is a process of performing erosion on the binary image BIa multiple times, and then performing expansion multiple times.

[0107] Here, "dilation" is the process of adding pixels to the boundaries of objects in the binary image BIa (e.g., walls that are represented in white in the binary image BIa), and "erosion" is the process of removing pixels from the boundaries of objects in the binary image BIa.

[0108] When dilation and erosion are performed once or twice in the morphological transformation, noise in the binary image BIa can be effectively removed. However, when the number of dilation and erosion is increased, the area of ​​the object that increases due to dilation differs from the area of ​​the object that decreases due to erosion, and therefore the object may change significantly into an unintended shape before and after the morphological transformation.

[0109] Therefore, the spatial information processing device 10 sets a neighborhood coefficient when performing morphological transformation. The spatial information processing device 10 checks the neighborhood coefficient of a pixel of interest, and if there are pixels with a value of 1 around the pixel of interest equal to or greater than the neighborhood coefficient, it performs expansion or contraction on the pixel of interest.

[0110] In this way, the number of times expansion and contraction are performed in opening and closing is dynamically set based on the neighborhood coefficient. As an example, the neighborhood coefficient for expansion is set to 1, and the neighborhood coefficient for contraction is set to 0. In this case, the influence of image interpolation in the x-axis direction and the y-axis direction is large. Therefore, for example, the white line segments indicating partitions extending in the x-axis direction and the y-axis direction in the binary image BIa are well interpolated.

[0111] The neighborhood coefficient can be set arbitrarily.

[0112] Fig. 13 shows an example of a binary image BIb after morphological transformation. As shown in Fig. 13, by performing morphological transformation, the missing parts (e.g., an open door DR) before the morphological transformation (see the binary image BIa in Fig. 10) are interpolated. As a result, the rooms RM1 to RM5 are clearly partitioned on the binary image BIb by white line segments indicating partitions.

[0113] In this way, the spatial information processing device 10 operating as the partition detection unit 100C creates a binary image Bia by assigning a first value (e.g., value 0) to pixels corresponding to first voxels (i.e., voxels with the status "busy") and a second value (e.g., value 1) to pixels corresponding to second voxels (i.e., voxels with the status "free"), and performs an interpolation process on the created binary image Bia to interpolate white line segments indicating partitions (in other words, the shapes of the partitions represented by the pixels with the first value). As a result, a binary image BIb is obtained in which, for example, each of the rooms RM1 to RM5 is clearly partitioned.

[0114] The spatial information processing apparatus 10 executes a block spatial classification process (step S104). Fig. 14 shows a subroutine of the block spatial classification process (step S104). Fig. 15 is a diagram for explaining the block spatial classification process (step S104).

[0115] The spatial information processing apparatus 10 performs labeling on the binary image BIb obtained by the morphological transformation (step S104a).

[0116] In this embodiment, labels are assigned on a pixel-by-pixel basis. Labeling is performed with 4-linkage. In 4-linkage, the same label is assigned to pixels with the same value that are consecutive vertically and horizontally. Labeling may be performed with 8-linkage instead of 4-linkage. In 8-linkage, the same label is assigned to pixels with the same value that are consecutive vertically, horizontally, and diagonally.

[0117] In this embodiment, as shown in Fig. 15, in a region in which pixels of value 1 (i.e., pixels estimated to have no partition body) are consecutive in the binary image BIb, a label LB1 is assigned to each of the pixels corresponding to the room RM1. Similarly, in a region in which pixels of value 1 are consecutive in the binary image BIb, labels LB2 to LB5 are assigned to each of the pixels corresponding to the rooms RM2 to RM5.

[0118] 15, the hatched area is a pixel area corresponding to a voxel that has been assigned a provisional status of "error." This pixel area is assigned information other than a value of 0 or 1, such as Null. Therefore, this pixel area is not subject to the labeling process.

[0119] The binary image BIb is created based on voxels that roughly divide the target space, and has coarse information compared to point cloud data because fine information has been removed by morphological transformation. Therefore, if the labels of each pixel are directly applied to the point cloud to classify the partitioned space, the classification accuracy will decrease near the boundaries of adjacent partitioned spaces.

[0120] Therefore, the spatial information processing apparatus 10 subdivides voxels near the boundary between adjacent partitioned spaces and performs re-labeling (step S104b).

[0121] Fig. 16 is a diagram for explaining the subdivision of voxels. In Fig. 16, the symbol BX1 indicates a voxel corresponding to room RM1. The symbol BX2 indicates a voxel corresponding to room RM2. The symbol BX3 indicates a voxel that is subdivided near the boundary between rooms RM1 and RM2.

[0122] 16, the spatial information processing apparatus 10 finely divides voxels into quarters near the boundary between adjacent partitioned spaces (see symbol BX3). Next, the spatial information processing apparatus 10 executes the processes of steps S102b to 102f, S103, and S104a, limited to the vicinity of this boundary.

[0123] In this way, by subdividing voxels near the boundary between adjacent partitioned spaces and then labeling them, the accuracy of the labeling process is improved.

[0124] The spatial information processing device 10 converts each voxel aligned in the z-axis direction into a binary image BIb, and labels each pixel of the converted binary image BIb with the same label as that of the initially created binary image BIb (step S104c). This provides label information in which labeled pixels are aligned in the three axes directions of x, y, and z.

[0125] The spatial information processing device 10 classifies the target space into at least one partitioned space based on the label information obtained in step S104c (step S104d). That is, the spatial information processing device 10 classifies the target space into partitioned spaces in which pixel groups with the same label are located. As a result, five partitioned sections (rooms RM1 to RM5) that partition the building BL, which is the target space, are obtained as information. According to this embodiment, it is possible to easily classify spaces such as rooms from the target space.

[0126] In this way, the spatial information processing device 10 operates as a classification unit (i.e., space classification unit 100D) that classifies the target space into at least one partitioned space partitioned by the partitions, based on the partitions detected by the partition detection unit 100C. In addition, the spatial information processing device 10 operating as the space classification unit 100D assigns a different label (e.g., labels LB1 to LB5) to each region in which pixels of a second value (e.g., value 1) are continuous in the binary image BIb, and classifies the target space into at least one partitioned space partitioned by the partitions (e.g., rooms RM1 to RM5) based on the labeled binary image BIb.

[0127] The spatial information processing device 10 adds different color information to each of the partitioned spaces (for example, rooms RM1 to RM5) classified in step S104 (step S105).

[0128] The three-dimensional model shown in Fig. 3 is an example of a building BL to which different color information is added for each of the rooms RM1 to RM5. As an example, the spatial information processing device 10 adds color information of red, blue, green, yellow, and purple to each of the rooms RM1 to RM5. By checking such a three-dimensional model, an operator can easily identify, for example, each room included in the target space, and can also use it as support information for BIM.

[0129] Symbol data indicating open doors and windows added to the binary image BIb can also be used as support information when comparing with BIM.

[0130] In this way, the spatial information processing device 10 operates as an addition unit (that is, visual information addition unit 100E) that adds visual information to the partitioned spaces so that the partitioned spaces classified by the space classification unit 100D can be visually distinguished.

[0131] The above is a description of exemplary embodiments of the present invention. The embodiments of the present invention are not limited to those described above, and various modifications are possible within the scope of the technical idea of ​​the present invention. For example, the embodiments of the present invention also include contents obtained by appropriately combining the embodiments, etc., which are exemplified in the specification, or the obvious embodiments, etc. [Explanation of symbols]

[0132] 10: Spatial information processing device 100: Bus 100A: Point cloud acquisition section 100B: Voxel division section 100C: Partition detection unit 100D: Spatial classification section 100E: Visual information addition section 111: Processor 112: Memory 113: Auxiliary storage device 113A: Spatial information processing program 114: Communication interface 115: Input device 116: Output device

Claims

1. an acquisition unit that acquires a point cloud consisting of a plurality of points representing an object existing in a target space to be surveyed by a laser scanner; A division unit that divides the target space including the point cloud acquired by the acquisition unit into a plurality of voxels; a detection unit that determines the presence or absence of an object in each of the voxels based on the points in each of the voxels divided by the division unit, and detects that a partitioning body that partitions the object space is located in the first voxels aligned in the first axis direction when the number of first voxels determined to have an object in the first axis direction of the object space is equal to or greater than a first threshold value. Spatial information processing device.

2. The first axial direction is a vertical direction, The partition is a wall or a closed door erected in the vertical direction. The spatial information processing device according to claim 1 .

3. When the number of the first voxels in the first axis direction is less than a first threshold value, the detection unit detects that the second voxels, which are arranged in the first axis direction and have been determined to have no object, are located within a space partitioned by the partition. The spatial information processing device according to claim 1 or 2.

4. The detection unit detects that a window or an open door is located in the voxels lined up in the first axis direction, even if the number of the first voxels in the first axis direction is less than a first threshold, when the first voxels are lined up consecutively in the first axis direction for a number equal to or greater than a second threshold and the second voxels are lined up consecutively in the first axis direction for a number equal to or greater than a third threshold. The spatial information processing device according to claim 3 .

5. When a voxel in which the window or the open door is detected to be located is located at an outer edge of the target space, the detection unit determines that the window is located in the voxel. The spatial information processing device according to claim 4 .

6. When a voxel in which the window or the open door is detected to be located is located inside an outer edge of the target space, the detection unit determines that the voxel is located in an open door. The spatial information processing device according to claim 4 .

7. The detection unit is converting the voxel data in the object space into two-dimensional data on a plane perpendicular to the first axis direction; converting the two-dimensional data into a binary image by assigning a first value to pixels in the two-dimensional data corresponding to voxels in which the partition is detected and assigning a second value to pixels in the two-dimensional data corresponding to voxels in which the partition is not detected; The spatial information processing device according to claim 1 .

8. the detection unit performs a noise removal process on the binary image to modify a shape of the partition body represented by the pixel to which the first value is assigned; The spatial information processing device according to claim 7 .

9. a coordinate system of the voxels is rotated in accordance with an inclination of the partitioning body represented on the binary image, and then the division unit divides the voxels and the detection unit detects the partitioning body. The spatial information processing device according to claim 8 .

10. A classification unit that assigns a different label to each region in which the pixels of the second value are continuous in the binary image, and classifies the object space into at least one space partitioned by the partition body based on the labeled binary image. The spatial information processing device according to claim 7 .

11. subdividing voxels near the boundary between the two adjacent spaces partitioned by the partition body, and re-labeling the subdivided voxels; The spatial information processing device according to claim 10 .

12. An addition unit that adds visual information to the space so that the space classified by the classification unit can be visually distinguished. The spatial information processing device according to claim 10 .

13. A point cloud is obtained by a laser scanner, the point cloud being made up of a plurality of points representing objects existing in a target space to be surveyed; Dividing the object space containing the acquired point cloud into a plurality of voxels; determining whether or not an object is present in each of the divided voxels based on the points in each of the divided voxels, and detecting that a partitioning body that partitions the target space is located in the first voxels aligned in the first axis direction when the number of first voxels determined to have an object in the first axis direction of the target space is equal to or greater than a first threshold value; Spatial information processing methods.

Citation Information

Patent Citations

  • Method and device for changing construction plan using three-dimensional laser scanner

    JP2007277813A