JP5566353B2 - Data analysis apparatus, data analysis method, and program - Google Patents

Data analysis apparatus, data analysis method, and program Download PDF

Info

Publication number
JP5566353B2
JP5566353B2 JP2011191967A JP2011191967A JP5566353B2 JP 5566353 B2 JP5566353 B2 JP 5566353B2 JP 2011191967 A JP2011191967 A JP 2011191967A JP 2011191967 A JP2011191967 A JP 2011191967A JP 5566353 B2 JP5566353 B2 JP 5566353B2
Authority
JP
Japan
Prior art keywords
wall surface
horizontal plane
space
vertical
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2011191967A
Other languages
Japanese (ja)
Other versions
JP2013053915A (en
Inventor
鎮男 真鍋
育夫 北川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pasco Corp
Original Assignee
Pasco Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pasco Corp filed Critical Pasco Corp
Priority to JP2011191967A priority Critical patent/JP5566353B2/en
Publication of JP2013053915A publication Critical patent/JP2013053915A/en
Application granted granted Critical
Publication of JP5566353B2 publication Critical patent/JP5566353B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、地物表面の三次元形状を表す点群データに基づいて地物の壁面を検出するデータ解析装置、データ解析方法、及びプログラムに関する。   The present invention relates to a data analysis apparatus, a data analysis method, and a program for detecting a wall surface of a feature based on point cloud data representing a three-dimensional shape of the feature surface.

特許文献1には、レーザスキャナを用いて、地物の形状を表す三次元点群データを取得する技術が示されている。例えば、モービルマッピングシステムでは、レーザスキャナは自動車の上部に搭載され、周囲にレーザを照射する。レーザの光軸は仰俯角及び方位角を変えることにより垂直方向及び水平方向に走査され、走査範囲内にて微小角度ごとにレーザパルスが発射される。レーザの発射から反射光の受信までの時間に基づいて距離が計測され、またその際、レーザの発射方向、時刻、及び車体の位置・姿勢などが計測される。それら計測データから、レーザパルスを反射した点の三次元座標を表す点群データが求められる。   Patent Document 1 discloses a technique for acquiring three-dimensional point cloud data representing the shape of a feature using a laser scanner. For example, in a mobile mapping system, a laser scanner is mounted on the top of an automobile and irradiates the surrounding area with a laser. The optical axis of the laser is scanned in the vertical and horizontal directions by changing the elevation angle and azimuth angle, and laser pulses are emitted every minute angle within the scanning range. The distance is measured based on the time from the laser emission to the reception of the reflected light, and at that time, the laser emission direction, time, and the position / posture of the vehicle body are measured. From these measurement data, point group data representing the three-dimensional coordinates of the point reflecting the laser pulse is obtained.

また、点群データの取得と同時に、カメラを用いて映像が撮影される。画像はデータ解析にてユーザが計測対象部分を指定する際に利用することができる。   Simultaneously with the acquisition of the point cloud data, a video is taken using the camera. The image can be used when the user designates a measurement target part in data analysis.

特開2009−204615号公報JP 2009-204615 A

従来、点群データをもとに地物を判読するためには人手を要しており、三次元CADで編集ツール等を利用して手作業で地物の抽出作業が行われていた。   Conventionally, in order to interpret a feature based on point cloud data, it has been necessary to manually extract the feature using a three-dimensional CAD by using an editing tool or the like.

本発明は、地物表面の三次元形状を表す点群データに基づいて地物の壁面を自動的に検出するデータ解析装置、データ解析方法、及びプログラムを提供することを目的とする。   An object of the present invention is to provide a data analysis apparatus, a data analysis method, and a program for automatically detecting a wall surface of a feature based on point cloud data representing a three-dimensional shape of the feature surface.

本発明に係るデータ解析装置は、対象空間における地物表面の三次元形状を表す点群データに基づいて前記地物の壁面を検出するものであって、前記対象空間を垂直面で分割して、柱状の複数の部分空間を設定する部分空間設定手段と、前記部分空間のうち予め設定した閾値以上の高低差を有する点群を含むものを注目部分空間として選択する部分空間選択手段と、前記注目部分空間を水平面で分割して、縦に積み重なる複数のブロック空間を設定するブロック空間設定手段と、水平面内における前記壁面の位置を探索する水平面内探索手段と、を有し、前記水平面内探索手段は、前記ブロック空間ごとに、前記水平面内の線分のうち、前記水平面に射影された前記点群が予め設定した基準以上に近傍に集まるものを探索して水平面内壁面位置と定める。   The data analysis apparatus according to the present invention detects a wall surface of the feature based on point cloud data representing a three-dimensional shape of the feature surface in the target space, and divides the target space by a vertical plane. A partial space setting means for setting a plurality of columnar partial spaces, a partial space selecting means for selecting, as the partial space of interest, a point space including a point group having a height difference equal to or higher than a preset threshold among the partial spaces, A block space setting unit configured to divide a target partial space by a horizontal plane and set a plurality of block spaces stacked vertically; and a horizontal plane search unit configured to search for a position of the wall surface in the horizontal plane. For each block space, the means searches for a line segment in the horizontal plane where the point group projected onto the horizontal plane gathers in the vicinity of a predetermined reference or more, and determines the position of the inner wall surface in the horizontal plane. Defined as.

他の本発明に係るデータ解析装置は、前記対象空間にて前記水平面内壁面位置に存在する前記壁面の垂直方向の位置を求める垂直位置決定手段を有し、当該垂直位置決定手段は、前記水平面内壁面位置ごとに、前記点群のうち前記水平面への射影位置が当該水平面内壁面位置から予め設定した距離内にあるものを注目点群として抽出し、垂直方向に関して当該注目点群が予め設定した閾値以上存在する各範囲を当該水平面内壁面位置での垂直方向壁面位置と定める。   Another data analysis apparatus according to the present invention further includes a vertical position determining unit that obtains a vertical position of the wall surface existing at the inner wall surface position in the target space in the target space, and the vertical position determining unit includes the horizontal plane. For each inner wall surface position, the point cloud whose projection position onto the horizontal plane is within a preset distance from the horizontal plane inner wall surface position is extracted as a point of interest group, and the point of interest group is preset in the vertical direction. Each range that exists above the threshold value is defined as a vertical wall surface position at the horizontal wall surface position.

また他の本発明に係るデータ解析装置は、さらに、前記水平面内壁面位置での各垂直方向壁面位置に存在する前記壁面の形状を、当該垂直方向壁面位置での前記注目点群の分布範囲に基づいて求める壁面形状決定手段を有し、前記壁面形状決定手段は、前記水平面内壁面位置における鉛直面上の台形であって、その平行な2辺を鉛直方向に設定され、前記分布範囲を前記鉛直面に射影した形状を近似するものを前記壁面の形状とする。   In another data analysis apparatus according to the present invention, the shape of the wall surface existing in each vertical wall surface position at the horizontal inner wall surface position is set to the distribution range of the attention point group at the vertical wall surface position. Wall surface shape determining means to be obtained based on, the wall surface shape determining means is a trapezoid on the vertical surface in the horizontal wall surface position, two parallel sides thereof are set in the vertical direction, and the distribution range is A shape approximating the shape projected onto the vertical plane is defined as the shape of the wall surface.

別の本発明に係るデータ解析装置は、既に検出されている前記水平面内壁面位置における前記垂直方向壁面位置ごとに、当該水平面内壁面位置の端部に連なる新たな前記水平面内壁面位置を求める追跡手段を有し、前記追跡手段は、既検出の前記水平面内壁面位置の端部に短辺の中点を接続された長方形を平面形状とする直方体の空間であってその高さが前記垂直方向壁面位置に対応して配置される隣接空間を、前記長方形の長辺に沿った中心線を前記水平面内壁面位置の延長線に一致させて設定し、当該隣接空間内に前記点群が予め設定した基準以上に集まる場合には当該隣接空間内の点群の前記水平面内での分布に沿った線分を新たな前記水平面内壁面位置とし、一方、前記中心線を前記延長線に一致させて設定した前記隣接空間にて新たな前記水平面内壁面位置が検出されなかった場合は、前記水平面内での前記中心線の向きを変えて内部に最も点群が集まる前記隣接空間を探索し、得られた当該隣接空間内の点群の前記水平面内での分布に沿った線分を新たな前記水平面内壁面位置とする。   In another data analysis apparatus according to the present invention, for each vertical wall surface position in the horizontal plane inner wall surface position that has already been detected, a new horizontal plane inner wall surface position connected to an end of the horizontal plane inner wall surface position is obtained. The tracking means is a rectangular parallelepiped space having a rectangular shape in which the midpoint of the short side is connected to the end of the detected inner surface of the horizontal plane, the height of which is the vertical direction. The adjacent space arranged corresponding to the wall surface position is set so that the center line along the long side of the rectangle matches the extension line of the horizontal wall surface position, and the point group is set in advance in the adjacent space In the case of collecting more than the standard, the line segment along the horizontal plane distribution of the point cloud in the adjacent space is set as the new horizontal plane inner wall surface position, while the center line is matched with the extension line. New in the set adjacent space When the position of the inner wall surface in the horizontal plane is not detected, the direction of the center line in the horizontal plane is changed to search for the adjacent space where the point cloud is most concentrated inside, and the obtained point in the adjacent space is obtained. A line segment along the distribution of the group in the horizontal plane is set as the new horizontal plane inner wall surface position.

本発明に係るデータ解析方法は、対象空間における地物表面の三次元形状を表す点群データに基づいて前記地物の壁面を検出する方法であって、前記対象空間を垂直面で分割して、柱状の複数の部分空間を設定する部分空間設定ステップと、前記部分空間のうち予め設定した閾値以上の高低差を有する点群を含むものを注目部分空間として選択する部分空間選択ステップと、前記注目部分空間を水平面で分割して、縦に積み重なる複数のブロック空間を設定するブロック空間設定ステップと、水平面内における前記壁面の位置を探索する水平面内探索ステップと、を有し、前記水平面内探索ステップは、前記ブロック空間ごとに、前記水平面内の線分のうち、前記水平面に射影された前記点群が予め設定した基準以上に近傍に集まるものを探索して水平面内壁面位置と定める。   A data analysis method according to the present invention is a method for detecting a wall surface of a feature based on point cloud data representing a three-dimensional shape of the feature surface in the target space, and dividing the target space by a vertical plane. A partial space setting step for setting a plurality of columnar partial spaces, a partial space selecting step for selecting, as the partial space of interest, a point space that includes a point group having a height difference equal to or higher than a preset threshold among the partial spaces, A block space setting step of dividing a target partial space by a horizontal plane and setting a plurality of block spaces stacked vertically, and a horizontal plane search step of searching for the position of the wall surface in the horizontal plane, the horizontal plane search For each block space, the step searches for a line segment in the horizontal plane where the point group projected onto the horizontal plane gathers in the vicinity of a predetermined reference or more. To determine the horizontal plane in the wall position.

本発明に係るプログラムは、コンピュータに、対象空間における地物表面の三次元形状を表す点群データに基づいて前記地物の壁面を検出するデータ解析を行わせるためのプログラムであって、当該コンピュータを、前記対象空間を垂直面で分割して、柱状の複数の部分空間を設定する部分空間設定手段、前記部分空間のうち予め設定した閾値以上の高低差を有する点群を含むものを注目部分空間として選択する部分空間選択手段、前記注目部分空間を水平面で分割して、縦に積み重なる複数のブロック空間を設定するブロック空間設定手段、及び水平面内における前記壁面の位置を探索する水平面内探索手段、として機能させ、前記水平面内探索手段は、前記ブロック空間ごとに、前記水平面内の線分のうち、前記水平面に射影された前記点群が予め設定した基準以上に近傍に集まるものを探索して水平面内壁面位置と定める。   A program according to the present invention is a program for causing a computer to perform data analysis for detecting a wall surface of a feature based on point cloud data representing a three-dimensional shape of the feature surface in a target space. A partial space setting means for setting a plurality of columnar partial spaces by dividing the target space by a vertical plane, and a portion including a point group having a height difference equal to or higher than a preset threshold among the partial spaces. Partial space selection means for selecting as a space, block space setting means for setting a plurality of block spaces that are vertically stacked by dividing the target partial space by a horizontal plane, and horizontal plane search means for searching for the position of the wall surface in the horizontal plane The horizontal plane search means is projected on the horizontal plane out of line segments in the horizontal plane for each block space. Group is defined as a horizontal plane wall position by searching what gather near the above criteria set in advance.

本発明によれば、地物表面の三次元形状を表す点群データに基づいて地物の壁面を自動的に検出することができる。   According to the present invention, the wall surface of a feature can be automatically detected based on point cloud data representing the three-dimensional shape of the feature surface.

本発明の実施形態に係る壁面抽出システムの概略の構成を示すブロック図である。1 is a block diagram showing a schematic configuration of a wall surface extraction system according to an embodiment of the present invention. 本発明の実施形態に係る壁面抽出システムによる壁面抽出処理の概略のフロー図である。It is a general | schematic flowchart of the wall surface extraction process by the wall surface extraction system which concerns on embodiment of this invention. 部分空間設定手段及び部分空間選択手段による処理の概略のフロー図である。It is a general | schematic flowchart of the process by a partial space setting means and a partial space selection means. ブロック空間設定手段及び水平面内探索手段による処理の概略のフロー図である。It is a general | schematic flowchart of the process by a block space setting means and a horizontal plane search means. ブロック空間でのエッジの探索処理を説明する模式図である。It is a schematic diagram explaining the search process of the edge in a block space. 垂直位置決定手段及び壁面形状決定手段による処理の概略のフロー図である。It is a general | schematic flowchart of the process by a vertical position determination means and a wall surface shape determination means. 垂直位置決定手段による垂直探索空間における点群のグループ化を説明するための説明図である。It is explanatory drawing for demonstrating grouping of the point group in the vertical search space by a vertical position determination means. 壁面要素の形状を求める処理を説明する模式図である。It is a schematic diagram explaining the process which calculates | requires the shape of a wall surface element. 追跡手段による処理の概略のフロー図である。It is a general | schematic flowchart of the process by a tracking means. 連続壁面追跡処理の概略のフロー図である。It is a general | schematic flowchart of a continuous wall surface tracking process. 連続壁面追跡処理の概略のフロー図である。It is a general | schematic flowchart of a continuous wall surface tracking process. エッジの微調整処理の概略のフロー図である。It is a schematic flowchart of edge fine adjustment processing. エッジの微調整処理の概略のフロー図である。It is a schematic flowchart of edge fine adjustment processing. 壁面要素登録手段による処理の概略のフロー図である。It is a general | schematic flowchart of the process by a wall surface element registration means. 或る階層における主エッジについての処理を終えた後の処理フロー図である。It is a processing flowchart after finishing the process about the main edge in a certain hierarchy. 多重エッジ処理の概略のフロー図である。It is a schematic flowchart of multiple edge processing. 多重エッジ処理を説明する模式図である。It is a schematic diagram explaining a multiple edge process.

以下、本発明の実施の形態(以下実施形態という)である壁面抽出システム2について、図面に基づいて説明する。本システムは、地物表面の三次元形状を表す点群データに基づいて地物の壁面、すなわち地物表面のうち地表面に略垂直である面を検出するデータ解析装置である。点群データは例えば、上述のモービルマッピングシステムのように地上を走行する車両に搭載されたレーザスキャナにより取得される。また、レーザスキャナを地上に設置して計測を行っても良い。点群データが地物表面の三次元形状を表すには、地物表面の凹凸のスケールに応じた点密度でレーザスキャンが行われる必要がある。この点、車両や三脚を用いて道路等の地上から行うレーザスキャンは、例えば、道路の近傍に建つ建物、塀、看板及び標識などの壁面の形状を捉えることができる程度の走査密度を実現できる。   Hereinafter, a wall surface extraction system 2 according to an embodiment of the present invention (hereinafter referred to as an embodiment) will be described with reference to the drawings. This system is a data analysis device that detects a wall surface of a feature, that is, a surface of the feature surface that is substantially perpendicular to the ground surface based on point cloud data representing the three-dimensional shape of the feature surface. The point cloud data is acquired by, for example, a laser scanner mounted on a vehicle traveling on the ground like the above-described mobile mapping system. In addition, measurement may be performed by installing a laser scanner on the ground. In order for the point cloud data to represent the three-dimensional shape of the feature surface, it is necessary to perform laser scanning at a point density corresponding to the scale of the irregularities on the feature surface. In this regard, laser scanning performed from the ground such as a road using a vehicle or a tripod can achieve a scanning density that can capture the shape of walls such as buildings, fences, signboards, and signs built near the road, for example. .

図1は、壁面抽出システム2の概略の構成を示すブロック図である。本システムは、演算処理装置4、記憶装置6、入力装置8及び出力装置10を含んで構成される。演算処理装置4として、本システムの各種演算処理を行う専用のハードウェアを作ることも可能であるが、本実施形態では演算処理装置4は、コンピュータ及び、当該コンピュータ上で実行されるプログラムを用いて構築される。   FIG. 1 is a block diagram showing a schematic configuration of the wall surface extraction system 2. The system includes an arithmetic processing device 4, a storage device 6, an input device 8, and an output device 10. As the arithmetic processing device 4, it is possible to make dedicated hardware for performing various arithmetic processing of this system, but in this embodiment, the arithmetic processing device 4 uses a computer and a program executed on the computer. Built.

当該コンピュータのCPU(Central Processing Unit)が演算処理装置4を構成し、後述する部分空間設定手段20、部分空間選択手段22、ブロック空間設定手段24、水平面内探索手段26、垂直位置決定手段28、壁面形状決定手段30、追跡手段32、及び壁面要素登録手段34として機能する。   A CPU (Central Processing Unit) of the computer constitutes the arithmetic processing unit 4, and a partial space setting means 20, a partial space selection means 22, a block space setting means 24, a horizontal plane search means 26, a vertical position determination means 28, which will be described later, It functions as a wall surface shape determination unit 30, a tracking unit 32, and a wall surface element registration unit 34.

記憶装置6はコンピュータに内蔵されるハードディスクなどで構成される。記憶装置6は演算処理装置4を部分空間設定手段20、部分空間選択手段22、ブロック空間設定手段24、水平面内探索手段26、垂直位置決定手段28、壁面形状決定手段30、追跡手段32及び壁面要素登録手段34として機能させるためのプログラム及びその他のプログラムや、本システムの処理に必要な各種データを記憶する。例えば、記憶装置6は、処理対象データとして解析の対象空間の点群データを格納される。例えば、道路に沿った地域が解析の対象空間とされる。   The storage device 6 is composed of a hard disk or the like built in the computer. The storage device 6 converts the arithmetic processing unit 4 into a partial space setting means 20, a partial space selection means 22, a block space setting means 24, a horizontal plane search means 26, a vertical position determination means 28, a wall surface shape determination means 30, a tracking means 32, and a wall surface. A program for functioning as the element registration unit 34 and other programs, and various data necessary for processing of the present system are stored. For example, the storage device 6 stores point cloud data of the analysis target space as the processing target data. For example, the area along the road is the analysis target space.

入力装置8は、キーボード、マウスなどであり、ユーザが本システムへの操作を行うために用いる。   The input device 8 is a keyboard, a mouse, or the like, and is used for a user to operate the system.

出力装置10は、ディスプレイ、プリンタなどであり、本システムにより求められた壁面の対象空間内での位置を画面表示、印刷等によりユーザに示す等に用いられる。   The output device 10 is a display, a printer, or the like, and is used for showing the position of the wall surface in the target space obtained by the present system to the user by screen display, printing, or the like.

図2は、壁面抽出システム2による壁面抽出処理の概略のフロー図である。この図2を参照しながら、演算処理装置4の各手段を説明する。   FIG. 2 is a schematic flowchart of wall surface extraction processing by the wall surface extraction system 2. Each means of the arithmetic processing unit 4 will be described with reference to FIG.

部分空間設定手段20は、対象空間を垂直面で分割して得られる柱状の複数の部分空間を壁面抽出の処理の初期の単位空間として設定する(S40)。本実施形態では、部分空間設定手段20は、対象空間を水平面(XYZ直交座標系でX−Y平面とする)内にて二次元直交格子(メッシュ)状に分割して四角柱形状の部分空間を生成する。例えば、部分空間の水平断面は幅W及び奥行きDが50cmの正方形とすることができる。部分空間の高さHは対象空間の高さ(Z軸方向の寸法)と一致させることができ、その高さは検出目的とする壁面の高さ、具体的には建物の高さや、看板・標識が配置された高さより大きく設定される。なお、部分空間設定手段20を構成するプログラムでは、幅W、奥行きD及び高さHはパラメータ化されており、例えば、ユーザが入力装置8を用いて変更することができる。   The partial space setting means 20 sets a plurality of columnar partial spaces obtained by dividing the target space along the vertical plane as initial unit spaces for wall surface extraction processing (S40). In the present embodiment, the partial space setting means 20 divides the target space into a two-dimensional orthogonal lattice (mesh) shape in a horizontal plane (the XY plane in the XYZ orthogonal coordinate system) and forms a quadrangular prism-shaped partial space. Is generated. For example, the horizontal cross section of the partial space can be a square having a width W and a depth D of 50 cm. The height H of the partial space can be matched with the height of the target space (dimension in the Z-axis direction), and the height is the height of the wall surface to be detected, specifically the height of the building, signboard / It is set larger than the height at which the sign is placed. In the program constituting the partial space setting means 20, the width W, the depth D, and the height H are parameterized and can be changed by the user using the input device 8, for example.

部分空間選択手段22は部分空間のうち予め設定した閾値以上の高低差を有する点群を含むものを注目部分空間として選択する。具体的には、部分空間選択手段22は、複数設定された部分空間を所定の順序で選択し、当該部分空間内の点群に閾値以上の高低差が存在する場合に、当該部分空間を注目部分空間とする。上述したように点群データは道路等に位置するレーザスキャナからのレーザ照射によって取得され、当該レーザスキャナから見える壁面が点群データによる三次元形状上に捉えられる。そこで、部分空間選択手段22は例えば、当該三次元形状にて道路等に対応する平面の部分に基づいて基準平面を決定し、また、道路に沿って道幅内に水平に当該三次元形状の中心線を設定する(S42)。そして、当該中心線に沿って順番に部分空間の選択の起点を設定し、中心線に直交する線に沿って両側方向に当該起点から近い順に部分空間を選択して(S44)、選択した部分空間内の点群の高低差が閾値以上であれば当該部分空間を注目部分空間と判定する(S46)。   The partial space selection means 22 selects a partial space including a point group having a height difference equal to or higher than a preset threshold as a partial space of interest. Specifically, the subspace selection unit 22 selects a plurality of set subspaces in a predetermined order, and pays attention to the subspace when a point difference in the subspace has a height difference equal to or greater than a threshold value. Let it be a subspace. As described above, the point cloud data is acquired by laser irradiation from a laser scanner located on a road or the like, and the wall surface visible from the laser scanner is captured on the three-dimensional shape by the point cloud data. Therefore, for example, the partial space selection means 22 determines a reference plane based on the portion of the plane corresponding to the road or the like in the three-dimensional shape, and horizontally in the width of the road along the road. A line is set (S42). Then, the starting point of selection of the partial space is set in order along the center line, the partial space is selected in the order from the starting point in both directions along the line orthogonal to the center line (S44), and the selected portion If the difference in level of the point group in the space is equal to or greater than the threshold, the subspace is determined as the target subspace (S46).

ブロック空間設定手段24は、注目部分空間を水平面で分割して、縦に積み重なる複数のブロック空間を設定する(S48)。例えば、ブロック空間の高さHは部分空間の幅W、奥行きDと同程度に設定することができる。 The block space setting means 24 divides the target partial space by a horizontal plane and sets a plurality of block spaces that are stacked vertically (S48). For example, it is possible to set the width W, comparable to the depth D of the height H B subspace of the block space.

水平面内探索手段26は、ブロック空間ごとに、水平面内にて当該水平面に射影された点群が予め設定した基準以上に近傍に集まる線分を探索して、当該線分を水平面内における壁面の位置(水平面内壁面位置)と定める(S50)。ブロック空間ごとに水平面内壁面位置を探索することで、垂直方向に細長い注目部分空間にて異なる高さに存在し得る、位置・向きが相違した複数の壁面を弁別できる。   For each block space, the horizontal plane search means 26 searches for a line segment where the point group projected on the horizontal plane in the horizontal plane gathers in the vicinity of a predetermined reference or more, and the line segment is searched for the wall surface in the horizontal plane. It is determined as a position (horizontal wall surface position) (S50). By searching for the position of the wall surface in the horizontal plane for each block space, it is possible to discriminate between a plurality of wall surfaces with different positions and orientations that may exist at different heights in the subspace that is elongated in the vertical direction.

垂直位置決定手段28は、対象空間にて水平面内壁面位置に存在する壁面の垂直方向の位置を求める(S52)。具体的には、垂直位置決定手段28は、注目部分空間にて検出される水平面内壁面位置ごとに、当該注目部分空間の点群のうち水平面への射影位置が当該水平面内壁面位置から予め設定した距離内にあるものを注目点群として抽出する。そして、水平面内壁面位置ごとに抽出された注目点群について、垂直方向の位置に関して当該注目点群が予め設定した閾値以上存在する各範囲を当該水平面内壁面位置での垂直方向壁面位置と定める。これにより、或るブロック空間で検出された水平面内壁面位置に基づいて、当該ブロック空間以外の高さ範囲にて当該水平面内壁面位置に存在する壁面も検出される。例えば、連続する複数のブロック空間に跨がる壁面について一つの垂直方向壁面位置が定められる。また、高さ方向に分離した複数の壁面が同じ水平面内壁面位置に存在する、つまり壁面が垂直方向に階層をなす場合には、それら階層をなす壁面それぞれについて垂直方向壁面位置が求められる。   The vertical position determining means 28 obtains the vertical position of the wall surface existing at the wall surface position in the horizontal plane in the target space (S52). Specifically, the vertical position determining means 28 presets, for each horizontal inner wall surface position detected in the target partial space, a projection position onto the horizontal plane among the point group of the target partial space from the horizontal inner wall surface position. What is within the distance is extracted as a point of interest group. Then, for the attention point group extracted for each horizontal plane inner wall surface position, each range in which the attention point group is equal to or greater than a preset threshold with respect to the vertical position is defined as the vertical wall surface position at the horizontal plane inner wall position. Thereby, based on the horizontal plane inner wall surface position detected in a certain block space, the wall surface which exists in the said horizontal plane inner wall surface position in the height range other than the said block space is also detected. For example, one vertical wall surface position is determined for a wall surface extending over a plurality of continuous block spaces. In addition, when a plurality of wall surfaces separated in the height direction exist at the same horizontal plane wall surface position, that is, when the wall surfaces form a hierarchy in the vertical direction, the vertical wall surface position is obtained for each of the wall surfaces forming the hierarchy.

水平面内壁面位置と当該水平面内壁面位置に対する垂直方向壁面位置との組は、注目部分空間内の一枚の壁面の配置を表す。当該壁面は当該注目部分空間の外側、つまり横方向に広がるより大きな壁面の一部であり得ることから、ここでは壁面要素と称する。   A set of a horizontal plane inner wall surface position and a vertical wall surface position with respect to the horizontal plane inner wall surface position represents an arrangement of one wall surface in the target partial space. Since the wall surface may be a part of a larger wall surface that extends outside the target partial space, that is, in the lateral direction, it is referred to as a wall surface element here.

壁面形状決定手段30は、水平面内壁面位置において各垂直方向壁面位置に存在する壁面要素の形状を、当該垂直方向壁面位置での注目点群の分布範囲に基づいて求める(S54)。具体的には、壁面形状決定手段30は、水平面内壁面位置を通る鉛直面にて注目点群を射影し、射影された点群の分布範囲に基づいて壁面要素の形状を求める。当該形状は、平行な2辺である上底及び下底を鉛直方向に設定され、かつ鉛直面に射影された点群の分布範囲を近似する台形とされる。   The wall surface shape determining means 30 obtains the shape of the wall surface element existing at each vertical wall surface position at the horizontal wall surface position based on the distribution range of the point of interest group at the vertical wall surface position (S54). Specifically, the wall surface shape determining means 30 projects the point of interest on a vertical plane passing through the horizontal inner wall surface position, and obtains the shape of the wall surface element based on the distribution range of the projected point group. The shape is a trapezoid that approximates the distribution range of the point cloud projected on the vertical plane with the upper and lower bases, which are two parallel sides, set in the vertical direction.

追跡手段32は、既に検出されている水平面内壁面位置における垂直方向壁面位置ごとに、当該水平面内壁面位置の端部に連なる新たな水平面内壁面位置を求める(S56)。追跡手段32は壁面要素の横方向に隣接する直方体の空間を設定し、当該隣接空間内の点群を水平面に射影し、射影された点群が予め設定した基準以上に近傍に集まる線分を探索して新たな水平面内壁面位置と定める。当該処理を順次繰り返すことで、注目部分空間にて特定された壁面要素から横方向に連続する壁面の水平面内壁面位置がトレースされる。   The tracking unit 32 obtains a new horizontal plane inner wall surface position connected to the end of the horizontal plane inner wall surface position for each vertical wall surface position in the detected horizontal plane inner wall surface position (S56). The tracking unit 32 sets a rectangular parallelepiped space in the lateral direction of the wall surface element, projects a point cloud in the adjacent space onto a horizontal plane, and creates a line segment in which the projected point group gathers in the vicinity of a preset reference or more. A new horizontal plane inner wall surface position is determined by searching. By sequentially repeating the process, the horizontal wall surface position of the wall surface that continues in the horizontal direction from the wall surface element specified in the target partial space is traced.

具体的には、隣接空間は、平面形状が既検出の水平面内壁面位置の端部に短辺の中点を接続された長方形である直方体に設定される。ここでは、当該長方形の長辺に沿った中心線を水平面内での隣接空間の向きとする。また、当該隣接空間の高さ、つまり直方体の上面と底面とで定義される垂直方向の範囲は、垂直方向壁面位置に対応した位置に配置される。   Specifically, the adjacent space is set to a rectangular parallelepiped whose planar shape is a rectangle in which the midpoint of the short side is connected to the end of the detected horizontal plane inner wall surface position. Here, the center line along the long side of the rectangle is the direction of the adjacent space in the horizontal plane. Further, the vertical range defined by the height of the adjacent space, that is, the upper surface and the bottom surface of the rectangular parallelepiped is arranged at a position corresponding to the vertical wall surface position.

追跡手段32はまず、既検出の水平面内壁面位置を真っ直ぐに延長した向きに隣接空間を設定する。つまり、隣接空間はその平面形状の長方形の上記中心線が既検出の水平面内壁面位置の延長線に一致するように配置される。そして、当該隣接空間内に点群が予め設定した基準以上に集まる場合には当該隣接空間内の点群の水平面内での分布に沿った線分を新たな水平面内壁面位置とする。一方、既検出の水平面内壁面位置の延長線に向きを一致させて設定した隣接空間にて新たな水平面内壁面位置が検出されなかった場合は、追跡手段32は隣接空間の向きを変化させて水平面内壁面位置を探す。つまり、向きを変化させた隣接空間のうち内部に最も点群が集まるものを探索し、得られた当該隣接空間内の点群の水平面内での分布に沿った線分を新たな水平面内壁面位置とする。   First, the tracking unit 32 sets the adjacent space in a direction in which the position of the detected inner surface of the horizontal plane is extended straight. That is, the adjacent space is arranged so that the rectangular center line of the planar shape coincides with the extension line of the detected inner surface of the horizontal plane. And when a point group gathers in the said adjacent space more than the reference | standard set beforehand, the line segment along the distribution in the horizontal surface of the point group in the said adjacent space is made into a new horizontal plane inner wall surface position. On the other hand, in the case where a new horizontal plane inner wall surface position is not detected in the adjacent space set so as to coincide with the extension line of the detected horizontal plane inner wall surface position, the tracking means 32 changes the direction of the adjacent space. Find the position of the inner wall surface. In other words, among the adjacent spaces whose orientations are changed, a search is made for the one in which the point cloud is most concentrated inside, and the obtained line segment along the distribution in the horizontal plane of the point cloud in the adjacent space is determined as a new horizontal plane inner wall surface. Position.

上述のようにして対象空間にて検出された壁面要素に関する情報は壁面要素登録手段34により記憶装置6に登録される。登録された壁面要素の形状の情報や接続関係の情報は例えば、建物の壁面形状の認識や建物の三次元モデルの構築に用いられる。   Information regarding the wall surface element detected in the target space as described above is registered in the storage device 6 by the wall surface element registration means 34. The registered information on the shape of the wall surface element and the information on the connection relationship are used, for example, for the recognition of the wall surface shape of the building and the construction of a three-dimensional model of the building.

以下、壁面抽出システム2の処理例をより詳しく説明する。図3、図4、図6、図9〜図16は、演算処理装置4が実行する一連の処理の流れを分割して示す処理フロー図である。図3に示す処理は上述した部分空間設定手段20及び部分空間選択手段22による処理に当たる。壁面抽出システム2が壁面抽出処理を開始すると(S60)、部分空間設定手段20は、対象空間内に部分空間を順次作成する。例えば、対象空間をX軸方向及びY軸方向に沿ってメッシュ状に分割する場合、部分空間の幅W及び奥行きDがパラメータとして設定されると、それらが当該メッシュの間隔(部分空間のサイズ)となり、対象空間のサイズに応じてX,Y各方向の部分空間の配列個数が定まる。当該配列個数により、X,Y各方向の部分空間の位置を示すインデックスの範囲が決定される。部分空間設定手段20は、部分空間の二次元メッシュ状の配置を表すインデックスを所定の順番で変更し、設定されたインデックスに応じた位置(X,Y各方向の座標範囲)で定義される部分空間を設定する(S62)。   Hereinafter, a processing example of the wall surface extraction system 2 will be described in more detail. 3, 4, 6, and 9 to 16 are process flow diagrams showing a series of processes executed by the arithmetic processing unit 4 in a divided manner. The processing shown in FIG. 3 corresponds to the processing by the partial space setting means 20 and the partial space selection means 22 described above. When the wall surface extraction system 2 starts the wall surface extraction process (S60), the partial space setting unit 20 sequentially creates partial spaces in the target space. For example, when dividing the target space into a mesh shape along the X-axis direction and the Y-axis direction, if the width W and the depth D of the partial space are set as parameters, the intervals between the meshes (the size of the partial space) Thus, the number of partial spaces arranged in the X and Y directions is determined according to the size of the target space. The range of the index indicating the position of the partial space in each of the X and Y directions is determined based on the number of arrays. The partial space setting means 20 changes the index representing the two-dimensional mesh-like arrangement of the partial space in a predetermined order, and is defined by a position (coordinate range in each direction of X and Y) corresponding to the set index. A space is set (S62).

ここで、道路を走行する車両上からレーザ照射を行い点群データを取得した場合、上述したように、点群データが表す三次元形状にて道路等に対応する平面の部分に基づいて基準平面が設定され、道路に沿って当該三次元形状の中心線が設定される。説明を簡単にするために、当該中心線をX軸(つまりY=0)とし、車両が走行する方向にX方向のインデックスが増加し、道幅方向に対応するY方向に関しては、中心線から離れるに従ってインデックスの絶対値が増加するものとする。例えば、Y方向のインデックスは中心線の位置では0とし、走行方向に対して左向きに、1,2,3,…と設定し、右向きには−1,−2,−3,…と設定することができる。この場合、部分空間設定手段20は例えば、X方向のインデックスを順番にインクリメントし、X方向のインデックスの各値にて、Y軸の正方向と負方向との両方向にY方向のインデックスを変化させる。すなわち、部分空間設定手段20はX方向の或るインデックスの値にて、Y方向のインデックスを0から順番に増加させて部分空間を設定し、また−1から順番に減少させて部分空間を設定する。   Here, when the point cloud data is acquired by performing laser irradiation from the vehicle traveling on the road, as described above, the reference plane is based on the portion of the plane corresponding to the road or the like in the three-dimensional shape represented by the point cloud data. Is set, and the center line of the three-dimensional shape is set along the road. In order to simplify the explanation, the center line is assumed to be the X axis (ie, Y = 0), the index in the X direction increases in the direction in which the vehicle travels, and the Y direction corresponding to the road width direction leaves the center line. It is assumed that the absolute value of the index increases according to For example, the index in the Y direction is set to 0 at the position of the center line, set to 1, 2, 3,... To the left with respect to the traveling direction, and set to -1, -2, -3,. be able to. In this case, for example, the subspace setting unit 20 sequentially increments the index in the X direction, and changes the index in the Y direction in both the positive direction and the negative direction of the Y axis at each value of the index in the X direction. . That is, the partial space setting means 20 sets the partial space by increasing the index in the Y direction from 0 in order of a certain index value in the X direction, and sets the partial space by decreasing in order from -1. To do.

インデックス指定されたメッシュの部分空間が未処理のものであれば(S64にて「No」の場合)、部分空間選択手段22は当該部分空間内の点群を例えば、ハードディスク等の記憶装置6からRAM(Random Access Memory)等の作業領域に取り込む(S66)。部分空間に取り込んだ点群内に所定閾値Th1以上の高低差がある場合(S68にて「Yes」の場合)には、部分空間選択手段22は当該部分空間を注目部分空間と判断して、当該注目部分空間での水平面内壁面位置や垂直方向壁面位置の探索等の処理が開始される(図4のノードBへ処理が進む)。例えば、閾値Th1は道路等の地表の略平坦な部分のみを含む部分空間を排除できる程度に小さく設定することができる。また、閾値Th1を、壁面を検出しようとする地物の高さに応じて設定して、関心のない低い地物の壁面は検出しないようにすることもできる。例えば、道路から見て建物の手前に存在するガードレールや郵便ポストなどの比較的低い地物を検出対象外とするように閾値Th1を建物の1階の高さ程度に設定することができる。   If the index-designated mesh subspace is unprocessed (in the case of “No” in S64), the subspace selection means 22 extracts the point group in the subspace from the storage device 6 such as a hard disk, for example. The data is taken into a work area such as a RAM (Random Access Memory) (S66). If there is an elevation difference of a predetermined threshold value Th1 or more in the point cloud captured in the partial space (in the case of “Yes” in S68), the partial space selection means 22 determines that the partial space is the target partial space, Processing such as searching for the horizontal inner wall surface position and the vertical wall surface position in the target partial space is started (processing proceeds to node B in FIG. 4). For example, the threshold value Th1 can be set small enough to eliminate a partial space including only a substantially flat portion of the ground surface such as a road. Further, the threshold value Th1 may be set according to the height of the feature for which the wall surface is to be detected, so that the wall surface of the low feature that is not of interest is not detected. For example, the threshold value Th1 can be set to the height of the first floor of the building so that relatively low features such as guardrails and postboxes existing in front of the building when viewed from the road are excluded from detection.

設定した部分空間から取り込んだ点群の高低差が閾値Th1未満である場合(S68にて「No」の場合)には、当該部分空間における壁面抽出処理は行わない。この場合は、部分空間設定手段20が次の部分空間を設定する(ノードAへ処理が戻る)。   When the difference in level of the point cloud captured from the set partial space is less than the threshold Th1 (in the case of “No” in S68), the wall surface extraction process in the partial space is not performed. In this case, the partial space setting means 20 sets the next partial space (the process returns to node A).

全てのメッシュについて処理が終わっている場合は(S64にて「Yes」の場合)、演算処理装置4は壁面抽出の処理を終える(S70)。   When the processing has been completed for all the meshes (in the case of “Yes” in S64), the arithmetic processing device 4 finishes the wall surface extraction processing (S70).

図4は演算処理装置4が実行する一連の処理のうち上述したブロック空間設定手段24及び水平面内探索手段26が行う部分の概略の処理フロー図である。   FIG. 4 is a schematic process flow diagram of a portion performed by the block space setting unit 24 and the horizontal plane search unit 26 described above in a series of processes executed by the arithmetic processing unit 4.

ブロック空間設定手段24は、注目部分空間を一定の高さHごとに分割して、縦に積み重なる複数のブロック空間を設定し、各ブロック空間内に位置する点群のデータを記憶装置6からRAM等の作業領域に取り込む(S80)。例えば、部分空間の幅W、奥行きDを50cmとする場合にはブロック空間の高さHは20〜50cmとすることができる。当該分割により設定されるブロック空間の段数をn段とし、インデックスIを用いて下から順に第I階(I=1,2,…,n)と表す。 Block space setting unit 24 divides the attention subspace for each predetermined height H B, sets a plurality of blocks spaces stacked vertically, the data of the group of points located in each block in the space from the storage device 6 The data is taken into a work area such as a RAM (S80). For example, when the width W and the depth D of the partial space are 50 cm, the height H B of the block space can be 20 to 50 cm. The number of stages of the block space set by the division is n, and the index I is used to represent the 1st floor (I = 1, 2,..., N) in order from the bottom.

水平面内探索手段26はn段のブロック空間を順番に選択して、当該ブロック空間にエッジ(水平面内壁面位置)が存在するかを調べる。例えば、水平面内探索手段26はインデックスIを1ずつ増加させて、エッジの存在を調べるブロック空間を選択する(S82,S84)。水平面内探索手段26は、選択した第I階のブロック空間にエッジが存在するかを調べ(S86)、存在しない場合には(S88にて「No」の場合)次のブロック空間を選択する(S84)。なお、Iがnを越えた場合には、図3のノードAに戻り、次の注目部分空間を探す(S90)。   The horizontal plane search means 26 selects n-stage block spaces in order and checks whether an edge (horizontal wall surface position) exists in the block space. For example, the horizontal plane search means 26 increases the index I by 1 and selects a block space for examining the presence of an edge (S82, S84). The horizontal plane searching means 26 checks whether an edge exists in the selected block space on the first floor (S86), and if it does not exist (in the case of "No" in S88), selects the next block space ( S84). If I exceeds n, the process returns to node A in FIG. 3 to search for the next target subspace (S90).

図5はブロック空間でのエッジの探索処理S86を説明する模式図である。図5は、ブロック空間を上面から見た図であり、ブロック空間の幅W及び奥行きDで定義される矩形100と、ブロック空間内の点群のX−Y面内での配置の一例が示されている。水平面内探索手段26は、ブロック空間内の点群から任意の2つのデータ点PA,PBを選択し、それら2点を両端とするX−Y面内での線分L0をエッジの候補線として設定すると共に、線分L0を中心としてその両側にそれぞれ幅w(合計幅2w)の帯状領域EAを設定する。水平面内探索手段26は点群のうちX−Y平面での座標が当該領域EA内に位置するデータ点の個数をカウントする。データ点が領域EA内であるか否かは例えば、X−Y平面上での当該データ点から線分L0への垂線の長さがw以下であるか否かによって判定可能である。また、エッジの条件として、領域EA内の点群が表す三次元形状が平坦でないことを課す。具体的には、水平面内探索手段26は、領域EA内に包含されるデータ点の高低差(最大標高と最小標高との差)ΔZが予め設定した段差閾値γ以上であれば平坦ではないと判定する。   FIG. 5 is a schematic diagram for explaining the edge search processing S86 in the block space. FIG. 5 is a top view of the block space, and shows an example of a rectangle 100 defined by the width W and the depth D of the block space and an arrangement of point groups in the block space in the XY plane. Has been. The horizontal plane search means 26 selects two arbitrary data points PA and PB from the point group in the block space, and uses the line segment L0 in the XY plane having these two points as both ends as an edge candidate line. In addition to the setting, a band-like area EA having a width w (total width 2w) is set on both sides of the line segment L0. The horizontal plane search means 26 counts the number of data points whose coordinates on the XY plane are located in the area EA. Whether or not the data point is in the area EA can be determined by whether or not the length of the perpendicular line from the data point to the line segment L0 on the XY plane is w or less, for example. In addition, the edge condition imposes that the three-dimensional shape represented by the point group in the area EA is not flat. Specifically, the horizontal plane search means 26 is not flat if the height difference (difference between the maximum altitude and the minimum altitude) ΔZ of the data points included in the area EA is equal to or greater than a preset step threshold γ. judge.

ここで、幅wはパラメータであり、壁面に対応するデータ点のエッジに直交する方向の位置のばらつきを吸収する。例えば、wは3cm程度とすることができる。また、高低差の閾値γは例えば2cm程度に設定できる。   Here, the width w is a parameter and absorbs the variation in the position in the direction orthogonal to the edge of the data point corresponding to the wall surface. For example, w can be about 3 cm. The height difference threshold γ can be set to about 2 cm, for example.

水平面内探索手段26は、ブロック空間内の2つのデータ点の全ての組み合わせについて候補線を設定して上述の判定を行い、領域EA内に最もデータ点が多く集まり、かつΔZが閾値γ以上である線分L0をブロック空間にて見つけられたエッジとする。エッジが存在した場合には(S88にて「Yes」の場合)、当該エッジが壁面要素を決定するための処理を行われていない新規なものであるか判定される(S92)。当該判定は、壁面要素を決定するための処理の対象とされたエッジを登録したリストを検索して、処理S86で見つけられたエッジと同一のものが存在するか否かに基づいて行われる。リストに同一のものが存在しなければ新規なエッジと判定し(S92にて「No」の場合)、リストにエッジの両端PA,PBの座標(ax,ay),(bx,by)を登録する(S94)。このように或るブロック空間にて新たなエッジが検出されると、当該エッジについて当該注目部分空間での垂直方向壁面位置の探索、及び壁面要素の形状の決定が行われる(図6のノードDへ処理が進む)。一方、処理S86にて見つけられたエッジと同一のエッジが他のブロック空間についての処理で既にリストに登録されると共に、垂直方向壁面位置の探索等の処理が行われている場合もあり、その場合は(S92にて「Yes」の場合)、当該エッジについてのリストへの登録や垂直方向壁面位置の探索等の処理は省略され、水平面内探索手段26は次のブロック空間について処理を行う(ノードCへ処理が戻る)。   The horizontal plane search means 26 sets the candidate lines for all combinations of two data points in the block space and performs the above-described determination, and the most data points gather in the area EA, and ΔZ is greater than or equal to the threshold value γ. A line segment L0 is an edge found in the block space. If an edge exists (“Yes” in S88), it is determined whether the edge is a new one that has not been subjected to processing for determining a wall surface element (S92). The determination is performed based on whether or not the same edge as the edge found in the process S86 exists by searching a list in which the edges to be processed for determining the wall surface element are registered. If the same thing does not exist in the list, it is determined as a new edge (in the case of “No” in S92), and the coordinates (ax, ay) and (bx, by) of both ends PA and PB of the edge are registered in the list. (S94). When a new edge is detected in a certain block space in this way, the vertical wall surface position search in the target partial space and the shape of the wall surface element are determined for the edge (node D in FIG. 6). To proceed). On the other hand, the same edge as the edge found in the process S86 is already registered in the list in the process for the other block space, and the process such as the search for the vertical wall surface position may be performed. In this case (“Yes” in S92), processing such as registration of the edge in the list and search for the vertical wall surface position is omitted, and the horizontal plane search means 26 performs processing for the next block space ( Processing returns to node C).

図6は垂直位置決定手段28及び壁面形状決定手段30の概略の処理フロー図である。垂直位置決定手段28は、処理S86にて抽出されたエッジL0での垂直方向における壁面の位置を探索するための空間として垂直探索空間を設定し、当該垂直探索空間内に位置する点群のデータを記憶装置6からRAM等の作業領域に取り込む(S110)。垂直探索空間は、平面形状がエッジL0を長手方向の中心軸とする矩形である直方体形状の空間であり、その底面及び上面は部分空間の底面及び上面と同じ高さに位置する。平面形状の矩形の短辺の寸法ξは例えば、エッジを抽出した帯状領域EAの幅2wと同じ、またはやや大きめに設定することができる。例えば、ξは10cmに設定することができる。   FIG. 6 is a schematic process flow diagram of the vertical position determining means 28 and the wall surface shape determining means 30. The vertical position determination means 28 sets a vertical search space as a space for searching for the position of the wall surface in the vertical direction at the edge L0 extracted in step S86, and data of point groups located in the vertical search space Is taken from the storage device 6 into a work area such as a RAM (S110). The vertical search space is a rectangular parallelepiped space whose planar shape is a rectangle having the edge L0 as the central axis in the longitudinal direction, and the bottom surface and the top surface thereof are positioned at the same height as the bottom surface and the top surface of the partial space. The dimension ξ of the rectangular short side of the planar shape can be set, for example, to be the same as or slightly larger than the width 2w of the strip-shaped area EA from which the edge is extracted. For example, ξ can be set to 10 cm.

垂直位置決定手段28は垂直探索空間内の点群をZ方向の分布に基づいてグループ化する(S112)。これにより或る水平面内壁面位置における垂直方向の壁面の階層構造が捉えられる。   The vertical position determination means 28 groups the point groups in the vertical search space based on the distribution in the Z direction (S112). Thereby, the hierarchical structure of the wall surface of the vertical direction in the wall surface position in a certain horizontal surface is caught.

グループ化において垂直位置決定手段28は例えば、垂直探索空間に取り込んだ点群の最小標高から上へ、又は最大標高から下へ向けて一定の刻み幅hでZ方向に複数の区間を設定する。そして、当該区間に基づいて垂直探索空間内の点群を複数の階層(ランク)に区分し、ランクごとに点群の数(点数)を集計する。ここで刻み幅hに応じて、垂直方向に隣接した2つの壁面を分離して検出できる分解能が定まり、基本的にはhはH以下に設定される。ここでhが小さいほど分解能が高くなるが、hが小さすぎると、壁面が存在する高さ範囲の区間での点数が小さくなり、壁面が存在しない高さ範囲での点数(基本的には0であることが期待される)との弁別が難しくなる。hはこれらを勘案して設定される。垂直位置決定手段28はランクごとに点群の数を集計した点群分布に基づいて、垂直探索空間における点群をグループ化する。具体的には、点群が集まっているランク範囲をそれぞれ点群の1つのグループとし、当該ランク範囲を1つの垂直方向壁面位置とする。 In the grouping, for example, the vertical position determining means 28 sets a plurality of sections in the Z direction with a constant step size h from the minimum elevation to the top of the point group taken into the vertical search space or from the maximum elevation to the bottom. Then, the point cloud in the vertical search space is divided into a plurality of hierarchies (ranks) based on the section, and the number of point clouds (score) is totaled for each rank. Here, in accordance with the step size h, the resolution at which two wall surfaces adjacent in the vertical direction can be detected separately is determined, and basically h is set to H B or less. Here, as h becomes smaller, the resolution becomes higher. However, if h is too small, the score in the section of the height range where the wall surface exists becomes small, and the score in the height range where the wall surface does not exist (basically 0). Is expected to be difficult). h is set in consideration of these factors. The vertical position determining means 28 groups the point clouds in the vertical search space based on the point cloud distribution obtained by counting the number of point clouds for each rank. Specifically, each rank range in which the point cloud is gathered is defined as one group of point clouds, and the rank range is defined as one vertical wall surface position.

図7はグループ化を説明するための説明図であり、hを0.2mとしてランクごとに点群の数を集計した結果である点群分布表の一例を示している。垂直位置決定手段28は例えば、ランクを下(最小標高)から上へ順番に調べて、0より大きい点数を有するランクが連続する範囲ごとに順番にグループ番号を付与する。図7に示す例では点数が0より大きいランク範囲は、ランク1〜4、ランク9〜12、ランク18〜22、及びランク25〜26の4つであり、これらランク範囲に順番にグループ番号1〜4が付与される。なお、点数が0より大きいランクが単独で現れる場合、つまり当該ランクの前後では点数が0である場合には、垂直位置決定手段28は当該1つのランクを1つのランク範囲としてグループ番号を付与する。   FIG. 7 is an explanatory diagram for explaining grouping, and shows an example of a point cloud distribution table as a result of totaling the number of point clouds for each rank with h being 0.2 m. For example, the vertical position determination means 28 checks the rank in order from the bottom (minimum altitude) to the top, and assigns a group number to each range in which ranks having scores greater than 0 are consecutive. In the example shown in FIG. 7, there are four rank ranges with ranks greater than 0: ranks 1 to 4, ranks 9 to 12, ranks 18 to 22, and ranks 25 to 26. ~ 4 is given. If a rank with a score greater than 0 appears alone, that is, if the score is 0 before and after the rank, the vertical position determination means 28 assigns a group number with the one rank as one rank range. .

グループ化により定まる階層数をmと表す。図7に示す例ではmは4である。壁面形状決定手段30はm階層に設定されたランク範囲(垂直方向壁面位置)を順番に選択する。例えば、壁面形状決定手段30はグループ番号Jを1ずつ増加させて、壁面要素の形状を決定するランク範囲を選択する(S114,S116)。そして、垂直探索空間に存在する点群のうち選択したランク範囲に存在するもののデータを記憶装置6からRAM等の作業領域に取り込み(S120)、当該点群データから壁面要素となる台形を決定する処理を行う(S122)。壁面要素の形状を決定できた場合には(S124にて「Yes」の場合)、当該壁面要素の横方向につながる壁面要素の水平面内壁面位置を順次求める追跡処理が開始される(図9のノードFへ処理が進む)。   The number of hierarchies determined by grouping is represented as m. In the example shown in FIG. The wall surface shape determining means 30 sequentially selects rank ranges (vertical wall surface positions) set in the m level. For example, the wall surface shape determining means 30 increases the group number J by 1 and selects a rank range for determining the shape of the wall surface element (S114, S116). Then, the data of the point group existing in the selected rank range among the point groups existing in the vertical search space is taken into the work area such as the RAM from the storage device 6 (S120), and the trapezoid as the wall surface element is determined from the point group data. Processing is performed (S122). When the shape of the wall surface element can be determined (in the case of “Yes” in S124), the tracking process for sequentially obtaining the horizontal wall surface position of the wall surface element connected in the lateral direction of the wall surface element is started (FIG. 9). Processing proceeds to node F).

なお、m階層全てについて壁面要素の決定処理が終わると(S118にて「Yes」の場合)、図4のノードCへ戻り、次のエッジが探索され当該エッジについて同様の処理が繰り返される。また、或る階層にて壁面要素の形状を決定できなかった場合は(S124にて「No」の場合)、処理S116に戻り、次の階層についての処理が行われる。   When the wall surface element determination processing is completed for all m layers (in the case of “Yes” in S118), the process returns to node C in FIG. 4, the next edge is searched, and the same processing is repeated for the edge. Further, when the shape of the wall surface element cannot be determined in a certain hierarchy (“No” in S124), the process returns to the process S116, and the process for the next hierarchy is performed.

図8は壁面要素の形状を求める処理S122を説明する模式図であり、垂直探索空間に存在する点群のうち1つの階層に対応するものをエッジを通る鉛直面に射影した様子の一例を示している。図8において矩形で示す鉛直面130に分布する黒点132が点群を射影した点である。矩形の鉛直面130は横方向がエッジに沿っており、左側がエッジの一方端PAの側、右側が他方端PBの側に対応している。また、鉛直面130の縦方向が鉛直方向であり、上端、下端はそれぞれランク範囲の上端、下端に対応している。壁面形状決定手段30は鉛直面130を格子状に区切り、縦横に行列配置された複数の小矩形134を定義する。例えば、小矩形134の幅は10cm程度、高さは5cm程度とすることができる。   FIG. 8 is a schematic diagram for explaining the process S122 for obtaining the shape of the wall surface element, and shows an example of a state in which a point group existing in the vertical search space is projected onto a vertical plane passing through an edge. ing. In FIG. 8, black points 132 distributed on the vertical plane 130 indicated by rectangles are points obtained by projecting the point group. In the rectangular vertical surface 130, the lateral direction is along the edge, the left side corresponds to the one end PA side of the edge, and the right side corresponds to the other end PB side. The vertical direction of the vertical plane 130 is the vertical direction, and the upper end and the lower end correspond to the upper end and the lower end of the rank range, respectively. The wall surface shape determining means 30 divides the vertical surface 130 into a lattice shape and defines a plurality of small rectangles 134 arranged in rows and columns. For example, the small rectangle 134 can have a width of about 10 cm and a height of about 5 cm.

壁面形状決定手段30は、縦に並ぶ小矩形134の列を例えば左側から順に選択し、点群が射影される小矩形134が2つ以上存在する列を探す。そのような列が現れる範囲、つまり最初の位置(第η列)から最後の位置(第η列)までの列範囲が得られた場合には、さらに壁面要素の形状を特定する処理が行われる。一方、そのような列範囲が存在しない場合には当該階層には壁面要素は存在しないと判断される。 The wall surface shape determining means 30 selects columns of small rectangles 134 arranged vertically, for example, in order from the left side, and searches for a column in which two or more small rectangles 134 on which the point group is projected exist. When a range in which such a column appears, that is, a column range from the first position (the η S column) to the last position (the η E column) is obtained, a process for specifying the shape of the wall surface element is further performed. Done. On the other hand, when such a column range does not exist, it is determined that no wall surface element exists in the hierarchy.

壁面形状決定手段30は鉛直面130に射影された点群(黒点132)のうち左端部分に位置するものに基づいて台形の平行な2辺のうちの一方(ここではこれを台形の上底とする)とする鉛直線のX,Y座標を定め、左端部分に分布する点群の標高に基づいて当該辺(上底)の両端のZ座標を定める。また、右端部分に位置するものに基づいて台形の平行な2辺のうちの他方(ここではこれを台形の下底とする)とする鉛直線のX,Y座標を定め、右端部分に分布する点群の標高に基づいて当該辺(下底)の両端のZ座標を定める。例えば、壁面形状決定手段30は、第η列と第(η+1)列との2列における点群の分布に基づいて台形の上底のX,Y座標及びその両端のZ座標を定め、第η列と第(η−1)列との2列における点群の分布に基づいて台形の下底のX,Y座標及びその両端のZ座標を定める。この場合、具体的には、第η列と第(η+1)列との2列における点群のZ座標のうち最大値(点136に対応)及び最小値(点138に対応)を上底の両端のZ座標とすることができ、第η列と第(η−1)列との2列における点群のZ座標のうち最大値(点140に対応)及び最小値(点142に対応)を下底の両端のZ座標とすることができる。上底のX,Y座標は、点群のうち最も左側の点144や、第η列と第(η+1)列との境界線146でのX,Y座標で、また、下底のX,Y座標は、点群のうち最も右側の点148や、第η列と第(η−1)列との境界線150でのX,Y座標で定義することができる。 The wall surface shape determining means 30 is one of two parallel sides of the trapezoid based on the point group (black dot 132) projected on the vertical plane 130 (black dot 132). The X and Y coordinates of the vertical line to be determined are determined, and the Z coordinates of both ends of the side (upper base) are determined based on the altitude of the point group distributed in the left end portion. In addition, the X and Y coordinates of the vertical line that is the other of the two parallel sides of the trapezoid (here, this is the lower base of the trapezoid) are determined based on what is located at the right end portion, and distributed to the right end portion. Based on the elevation of the point group, the Z coordinates of both ends of the side (lower base) are determined. For example, the wall surface shape determining means 30 determines the X and Y coordinates of the upper base of the trapezoid and the Z coordinates of both ends thereof based on the distribution of point groups in the two columns of the η S column and the (η S +1) column. The X and Y coordinates of the lower base of the trapezoid and the Z coordinates of both ends thereof are determined based on the distribution of the point group in the two columns of the η E column and the (η E −1) column. In this case, specifically, the maximum value (corresponding to the point 136) and the minimum value (corresponding to the point 138) among the Z coordinates of the point group in the two columns of the η S column and the (η S +1) column. Z coordinates of both ends of the upper base can be used, and the maximum value (corresponding to the point 140) and the minimum value (corresponding to the point 140) among the Z coordinates of the point group in the two columns of the η E column and the (η E −1) column ( (Corresponding to point 142) can be the Z coordinates of the lower bottom ends. The X and Y coordinates of the upper base are the X and Y coordinates at the leftmost point 144 of the point group and the boundary line 146 between the η S column and the (η S +1) column. The X and Y coordinates can be defined by the X and Y coordinates at the rightmost point 148 in the point group or the boundary 150 between the η E column and the (η E −1) column.

図9は追跡手段32の概略の処理フロー図である。追跡手段32は注目部分空間にて検出されたエッジを連続追跡処理の基点として設定し(S160)、エッジリストA,Bを空にする初期化処理を行う(S162)。基点エッジについて取得された壁面要素が既に図形データベースに図形登録されているか調べ(S166)、登録されていない、つまり新規である場合には(S166にて「No」の場合)、当該壁面要素をエッジリストAに追加する(S168)。   FIG. 9 is a schematic process flow diagram of the tracking means 32. The tracking unit 32 sets an edge detected in the target subspace as a base point for continuous tracking processing (S160), and performs initialization processing for emptying the edge lists A and B (S162). It is checked whether the wall surface element acquired for the base edge has already been registered in the graphic database (S166). If not registered, that is, if it is new (in the case of “No” in S166), the wall surface element is selected. Add to the edge list A (S168).

さらに追跡手段32は、基点エッジの両端それぞれに連なるエッジを追跡する。具体的には、垂直方向壁面位置ごとに基点エッジの一方端PAから伸びる向きに連なるエッジを順次検出し、検出したエッジに対応する壁面要素を求める連続壁面追跡処理が行われ、取得した壁面要素はエッジリストAに追加登録される(S170)。同様に、基点エッジの他方端PBから伸びる向きにも連続壁面追跡処理が行われ、取得された壁面要素はエッジリストBに追加登録される(S172)。或る基点エッジについて追跡手段32による処理が終わると、壁面要素登録手段34による処理が行われる(図14のノードGへ処理が進む)。   Further, the tracking unit 32 tracks edges that are continuous with both ends of the base edge. Specifically, for each vertical wall surface position, a continuous wall surface tracking process is performed in which edges that are continuous in the direction extending from one end PA of the base edge are detected, and a wall surface element corresponding to the detected edge is obtained. Are additionally registered in the edge list A (S170). Similarly, the continuous wall surface tracking process is also performed in the direction extending from the other end PB of the base edge, and the acquired wall surface element is additionally registered in the edge list B (S172). When processing by the tracking unit 32 is finished for a certain base point edge, processing by the wall surface element registration unit 34 is performed (processing proceeds to node G in FIG. 14).

一方、処理S166において、基点エッジでの壁面要素が既に図形データベースに図形登録されている場合には(S166にて「Yes」の場合)、演算処理装置4は、当該壁面要素についての追跡処理や登録処理は行わずに、処理を図15に示すノードHに進める。この場合の処理については後述する。   On the other hand, when the wall surface element at the base edge is already registered in the graphic database in the process S166 (in the case of “Yes” in S166), the arithmetic processing unit 4 performs the tracking process for the wall surface element. The registration process is not performed, and the process proceeds to node H shown in FIG. Processing in this case will be described later.

図10、図11は処理S170,S172にて行われる連続壁面追跡処理の概略のフロー図である。追跡手段32は既に検出されているエッジに連続するエッジを探索する空間として直方体の探索空間を設定する。探索空間は既検出エッジの探索空間に隣接する空間であり、探索空間の平面形状である長方形の短辺の中点は既検出エッジの端部に配置される。また、探索空間のZ値の範囲(上面及び底面の高さ)は、既検出エッジにおける壁面要素の垂直方向の位置に応じて設定される。例えば、既検出の壁面要素の形状である台形の上側の辺と下側の辺が勾配を有し得ることを考慮して、探索空間の上面の高さを既検出の壁面要素の鉛直な2辺のうち当該探索空間が接続される側の辺の上端より高く設定し、一方、探索空間の底面の高さを当該辺の下端より低く設定することができる。探索空間の平面形状の長辺の長さは部分空間の幅Wや奥行きDと同程度に設定することができ、例えば50cmとすることができる。   10 and 11 are schematic flowcharts of the continuous wall surface tracking process performed in processes S170 and S172. The tracking means 32 sets a rectangular parallelepiped search space as a space for searching for an edge continuous to the already detected edge. The search space is a space adjacent to the search space of the detected edge, and the midpoint of the short side of the rectangle that is the planar shape of the search space is arranged at the end of the detected edge. Further, the range of the Z value (height of the top surface and the bottom surface) of the search space is set according to the vertical position of the wall surface element at the detected edge. For example, considering that the upper side and the lower side of the trapezoid, which is the shape of the detected wall surface element, may have a gradient, the height of the upper surface of the search space is set to the vertical 2 of the detected wall surface element. It is possible to set the height of the side higher than the upper end of the side to which the search space is connected, while setting the height of the bottom surface of the search space lower than the lower end of the side. The length of the long side of the planar shape of the search space can be set to be approximately the same as the width W and the depth D of the partial space, and can be set to 50 cm, for example.

まず、追跡手段32は既険出のエッジである線分を追跡しようとする側に延長し、当該延長線の向きに探索空間を配置する(S180)。すなわち、探索空間はその平面形状である長方形の長辺に沿った中心線を当該延長線に一致させるように配置される。そして、当該探索空間内に位置する点群のデータを記憶装置6からRAM等の作業領域に取り込み(S180)、処理S86と同様の手法により当該探索空間にてエッジを探す(S182)。当該探索空間にてエッジが存在した場合(S184にて「Yes」の場合)、追跡手段32はさらに、処理S122と同様にして探索空間の点群データから壁面要素となる台形を決定する処理を行う(S186)。壁面要素の形状を取得できた場合には(S188にて「Yes」の場合)、エッジの微調整処理が行われる(S190)。そして処理は処理S180に戻り、今得られたエッジを既検出エッジとして、連続壁面の追跡処理が継続される。   First, the tracking means 32 extends to the side to track a line segment that is a sharpened edge, and arranges a search space in the direction of the extended line (S180). That is, the search space is arranged so that the center line along the long side of the rectangle which is the planar shape coincides with the extension line. Then, the data of the point group located in the search space is fetched from the storage device 6 into a work area such as a RAM (S180), and an edge is searched for in the search space by the same method as the processing S86 (S182). When an edge exists in the search space (in the case of “Yes” in S184), the tracking unit 32 further performs a process of determining a trapezoid as a wall surface element from the point cloud data in the search space in the same manner as the process S122. Perform (S186). When the shape of the wall surface element can be acquired (in the case of “Yes” in S188), an edge fine adjustment process is performed (S190). Then, the process returns to step S180, and the continuous wall surface tracking process is continued with the edge obtained now as the detected edge.

既検出エッジの延長線上の探索空間にてエッジ又は壁面要素を検出できない場合(処理S184にて「No」の場合、及びS188にて「No」の場合)は、図11のノードCBに進み、既検出エッジの延長線からずれた方向における探索処理が行われる。当該探索処理では、探索空間をその中心軸を水平面内にて当該延長線の位置から時計回り方向と反時計回り方向とに変化させて設定する。例えば、延長線の向きからの中心軸の向きの変化範囲(±θ)とその分割数kを設定し、θ/kずつ水平面内での角度が異なる複数の探索空間を設定し、各探索空間にてエッジを探し、そして角度を変えて設定した複数の探索空間にて得られたエッジのうち最も点群が集まるものを選択する(S200)。   When the edge or wall surface element cannot be detected in the search space on the extension line of the detected edge (in the case of “No” in processing S184 and “No” in S188), the process proceeds to the node CB in FIG. Search processing in a direction deviated from the extension line of the detected edge is performed. In the search process, the search space is set by changing the central axis in the horizontal plane from the position of the extension line to the clockwise direction and the counterclockwise direction. For example, a change range (± θ) of the direction of the central axis from the direction of the extension line and its division number k are set, and a plurality of search spaces having different angles in the horizontal plane by θ / k are set. The edge is searched for, and the edge having the most point cloud is selected from the edges obtained in the plurality of search spaces set by changing the angle (S200).

一番点群が集まるエッジを特定できた場合(S202にて「Yes」の場合)、追跡手段32はさらに、処理S122と同様にして探索空間の点群データから壁面要素となる台形を決定する処理を行う(S204)。壁面要素の形状を取得できた場合には(S206にて「Yes」の場合)、後述する微調整処理が行われる(S208)。そして処理は図10のノードCAに戻り、今得られたエッジを既検出エッジとして、連続壁面の追跡処理が継続される。   When the edge where the first point cloud is gathered can be identified (in the case of “Yes” in S202), the tracking unit 32 further determines the trapezoid as the wall surface element from the point cloud data in the search space in the same manner as in the processing S122. Processing is performed (S204). When the shape of the wall surface element can be acquired (in the case of “Yes” in S206), a fine adjustment process described later is performed (S208). Then, the process returns to the node CA in FIG. 10, and the continuous wall surface tracking process is continued with the obtained edge as the detected edge.

角度を変えた探索空間にてエッジ又は壁面要素を検出できない場合(処理S202にて「No」の場合、及びS206にて「No」の場合)は、連続壁面追跡処理は終了し、当該処理をサブルーチンとして呼び出した処理S170又はS172に戻る。   When the edge or wall surface element cannot be detected in the search space with the angle changed (“No” in the process S202 and “No” in the S206), the continuous wall surface tracking process ends, and the process is performed. The process returns to the process S170 or S172 called as a subroutine.

図12及び図13はエッジの微調整処理S190,S208の概略のフロー図である。演算処理装置4はエッジを示す線分が得られると、当該線分を一定の長さの区間に区切り(S220)、各区間にてエッジが通る点(代表点)を探索し、エッジをX−Y面内にてPA,PBを結ぶ線分に代えて、各区間にて求めた代表点をつなぐ折れ線とする。ここでは区間数をNとする。演算処理装置4は、選択した区間Kから代表点Pが得られると、当該代表点Pの水平面内の座標(X,Y)と、当該区間での壁面要素の標高値の最小値ZL及び最大値ZHとを、代表点情報として求める。例えば、ZL,ZHはエッジの両端PA,PBでの値を補間して求めることができる。 12 and 13 are schematic flowcharts of the edge fine adjustment processing S190 and S208. When a line segment indicating an edge is obtained, the arithmetic processing unit 4 divides the line segment into sections of a certain length (S220), searches for a point (representative point) through which the edge passes in each section, and determines the edge as X Instead of a line segment connecting PA and PB in the -Y plane, a polygonal line connecting representative points obtained in each section is used. Here, the number of sections is N. Processing device 4, the representative point P K is obtained from the section K selected minimum coordinates (X K, Y K) in the horizontal plane of the representative points P K and altitude values of wall elements in the section The value ZL K and the maximum value ZH K are obtained as representative point information. For example, ZL K and ZH K can be obtained by interpolating values at both ends PA and PB of the edge.

演算処理装置4はまず、エッジの一方端PAを代表点とし、PAについての代表点情報をエッジ代表点リストに格納する(S222)。続いて、区間番号Kを1ずつ増加させて、区間を選択し(S224,S226)、各区間にて代表点を探索する(S230)。当該処理S230では、水平断面が選択した区間の近傍領域であり、垂直方向に壁面要素に応じた高さを有する空間を設定し、当該区間内の点群データを取り込んで、当該空間の水平断面内にて最も点群が密集する位置を求める。そして当該位置に密集する点の数が予め定めた個数以上であれば(S232にて「Yes」の場合)、当該位置を代表点としてエッジ代表点リストに追加する(S234)。一方、当該位置に密集する点の数が予め定めた個数未満であれば(S232にて「No」の場合)、当該区間からはエッジの代表点をエッジ代表点リストに追加せずに次の区間の処理に進む。全ての区間について処理が終わると(S228にて「Yes」の場合)、エッジの他方端PBをエッジ代表点リストに追加し(S236)、図13のノードCV−Rに進む。   First, the arithmetic processing unit 4 uses the one end PA of the edge as a representative point, and stores representative point information about the PA in the edge representative point list (S222). Subsequently, the section number K is incremented by 1 to select a section (S224, S226), and a representative point is searched for in each section (S230). In the processing S230, the horizontal section is a region near the selected section, a space having a height corresponding to the wall surface element is set in the vertical direction, the point cloud data in the section is taken in, and the horizontal section of the space is set. Find the position where the point cloud is most dense. If the number of points crowded at the position is equal to or larger than the predetermined number (in the case of “Yes” in S232), the position is added to the edge representative point list as a representative point (S234). On the other hand, if the number of points crowded at the position is less than a predetermined number (in the case of “No” in S232), the next representative point is not added to the edge representative point list from the relevant section. Proceed to section processing. When the processing is completed for all the sections (“Yes” in S228), the other end PB of the edge is added to the edge representative point list (S236), and the process proceeds to node CV-R in FIG.

演算処理装置4はエッジ代表点リストに格納されている代表点の数mをカウントする(S240)。そして、隣接する代表点PとPJ+1の対をJを1から(m−1)まで1ずつ増加させて選択し(S242〜S246)、Pの代表点情報とPJ+1の代表点情報とで表される壁面要素が既に図形データベースに図形登録されているか調べる(S248)。登録されていない場合には(S250にて「No」の場合)、当該壁面要素をエッジリストA又はBに追加し(S252)、処理S244に戻る。一方、既に図形データベースに図形登録されていた場合(S250にて「Yes」の場合)、エッジの微調整処理S190,S208を終了する。 The arithmetic processing unit 4 counts the number m of representative points stored in the edge representative point list (S240). Then, select the pair of the representative point P J and P J + 1 adjacent increasing by one the J from 1 to (m-1) (S242~S246) , the representative point information and the representative point information P J + 1 in P J It is checked whether the wall surface element represented by is already registered in the graphic database (S248). If not registered (in the case of “No” in S250), the wall surface element is added to the edge list A or B (S252), and the process returns to S244. On the other hand, if the graphic has already been registered in the graphic database (“Yes” in S250), the edge fine adjustment processes S190 and S208 are terminated.

さて、図9の説明で述べたように、或る基点エッジについて追跡手段32による処理が終わると、壁面要素登録手段34による処理が行われる。図14は壁面要素登録手段34の概略の処理フロー図である。壁面要素登録手段34は、追跡手段32により生成されたエッジリストA,Bが空でなければ(S260,S264にて「No」の場合)、それらエッジリストに格納されている壁面要素を図形データベースに登録し(S262,S266)、図15のノードHへ処理を進める。   Now, as described in the explanation of FIG. 9, when the processing by the tracking unit 32 is finished for a certain base edge, the processing by the wall surface element registration unit 34 is performed. FIG. 14 is a schematic process flow diagram of the wall surface element registration means 34. If the edge lists A and B generated by the tracking unit 32 are not empty (“No” in S260 and S264), the wall surface element registration unit 34 stores the wall surface elements stored in these edge lists in the graphic database. (S262, S266), and the process proceeds to node H in FIG.

ここまで処理を行ってきた基点エッジは、処理S84で指定される第I階のブロック空間から処理S88で検出されたエッジである。演算処理装置4は当該基点エッジについて処理S116で指定された第J階層での処理を終えると、注目部分空間のうち当該階層に対応する高さ範囲にて、他のエッジを探索して壁面要素を決定する処理を行う。これにより例えば、同じ高さ範囲における多重エッジを検出して、それぞれに対応する壁面要素を決定することができる。図15は第J階層にて最初のエッジ(主エッジと称する)についての処理を終えた後の処理フロー図である。演算処理装置4は第J階層にて主エッジの処理を終えると、当該階層に存在する他のエッジ(多重エッジと称する)を探索して壁面要素を決定する処理(多重エッジ処理)S270を行う。多重エッジ処理S270が終了すると、処理は図6のノードEに戻り、次の階層における主エッジの処理が開始される。   The base edge that has been processed so far is the edge detected in step S88 from the block space on the I-th floor specified in step S84. When the arithmetic processing unit 4 finishes the processing at the J-th layer specified in step S116 for the base point edge, it searches for other edges in the height range corresponding to the layer in the target subspace and searches for the wall surface element. The process of determining is performed. Thereby, for example, multiple edges in the same height range can be detected, and wall elements corresponding to each can be determined. FIG. 15 is a process flow diagram after finishing the process for the first edge (referred to as main edge) in the J-th layer. After finishing the processing of the main edge in the J-th layer, the arithmetic processing unit 4 searches for another edge (referred to as a multiple edge) existing in the layer and determines a wall element (multiple edge processing) S270. . When the multi-edge processing S270 is completed, the processing returns to the node E in FIG. 6, and the processing of the main edge in the next hierarchy is started.

図16は多重エッジ処理の概略の処理フロー図である。多重エッジ処理では、主エッジの両側に別のエッジがないか探索する。図17は多重エッジ処理を説明する模式図であり、部分空間の平面配置を示している。図17(a)に示す例では、注目部分空間280には最も点群が集まるエッジ282と、エッジ282より点群の集まり度合いが低いエッジ284とが存在している。既に説明した水平面内探索手段26、垂直位置決定手段28、壁面形状決定手段30、追跡手段32及び壁面要素登録手段34による処理で、主エッジとなるエッジ282が検出され、当該エッジ282について追跡や図形登録の処理が行われる。多重エッジ処理では、当該エッジ282を含まないようにその両側に多重エッジ探索空間286,288を設定する(図17(b))。多重エッジ探索空間は例えば、平面形状が部分空間と同程度の大きさ・形状の矩形であり、Z値の範囲が第J階層と同程度である直方体の空間に設定される。例えば、主エッジ(図17のエッジ282)が延びるいずれかの方向に向かって、当該エッジより左側の領域に多重エッジ探索空間を作成して当該空間内の点群を取り込み(S300)、処理S86と同様に当該多重エッジ探索空間でエッジの探索を行い、エッジが存在するかを判定する(S302)。エッジが存在する場合(S302で「Yes」の場合)は、多重エッジ探索空間内にて当該エッジを中心として図6の処理S110における垂直探索空間と同様の平面形状の空間を設定し、当該空間内の点群から処理S122と同様にして壁面要素の形状を決定する処理を行う(S304)。壁面要素の形状を取得できた場合には(S306にて「Yes」の場合)、図9で説明した追跡手段32による連続壁面追跡処理S160〜S172、及び図14で説明した壁面要素登録手段34による登録処理S260〜S266と同様の処理S308が行われる。同様に主エッジより右側の領域に多重エッジ探索空間を作成して、上述した左側の場合の処理S300〜S308と同様の処理S310〜S318が行われる。   FIG. 16 is a schematic process flow diagram of multiple edge processing. In the multiple edge processing, a search is made for other edges on both sides of the main edge. FIG. 17 is a schematic diagram for explaining multiple edge processing, and shows a planar arrangement of a partial space. In the example shown in FIG. 17A, the target partial space 280 includes an edge 282 where the point cloud is collected most and an edge 284 whose point cloud is less collected than the edge 282. The edge 282 as the main edge is detected by the processing by the horizontal plane searching means 26, the vertical position determining means 28, the wall surface shape determining means 30, the tracking means 32, and the wall surface element registering means 34, and the edge 282 is tracked. Graphic registration processing is performed. In the multiple edge processing, multiple edge search spaces 286 and 288 are set on both sides so as not to include the edge 282 (FIG. 17B). The multi-edge search space is set to a rectangular parallelepiped space whose planar shape is a rectangle having the same size and shape as the partial space and whose Z value range is the same as that of the J-th layer. For example, a multiple edge search space is created in a region on the left side of the main edge (edge 282 in FIG. 17) in any direction extending, and a point cloud in the space is captured (S300), and processing S86 is performed. Similarly, the edge search is performed in the multiple edge search space, and it is determined whether or not an edge exists (S302). When an edge exists (in the case of “Yes” in S302), a space having the same planar shape as the vertical search space in the processing S110 of FIG. 6 is set around the edge in the multiple edge search space. A process of determining the shape of the wall surface element from the point group in the same manner as the process S122 is performed (S304). When the shape of the wall surface element can be acquired (in the case of “Yes” in S306), the continuous wall surface tracking processing S160 to S172 by the tracking unit 32 described in FIG. 9 and the wall surface element registration unit 34 described in FIG. The same processing S308 as the registration processing S260 to S266 is performed. Similarly, a multiple edge search space is created in the area on the right side of the main edge, and processes S310 to S318 similar to the processes S300 to S308 in the case of the left side described above are performed.

上記実施形態では、コンピュータを壁面抽出システム2の各手段として動作させるプログラムは記憶装置6に格納され、コンピュータはこれを読み出して実行する構成としたが、他の構成では、当該プログラムはネットワーク等の通信媒体を介してコンピュータに提供することができ、この場合、壁面抽出システム2は通信装置を備え当該通信装置がネットワーク等からプログラムを取得し、演算処理装置4に提供したり、記憶装置6に記憶させる。また、当該プログラムはCD−ROM(Compact Disc Read Only Memory)等の記録媒体に格納して提供することも可能である。   In the above-described embodiment, the program that causes the computer to operate as each unit of the wall surface extraction system 2 is stored in the storage device 6 and the computer reads and executes the program. In this case, the wall surface extraction system 2 includes a communication device, and the communication device acquires a program from a network or the like and provides the program to the arithmetic processing device 4 or the storage device 6. Remember. Further, the program can be provided by being stored in a recording medium such as a CD-ROM (Compact Disc Read Only Memory).

2 壁面抽出システム、4 演算処理装置、6 記憶装置、8 入力装置、10 出力装置、20 部分空間設定手段、22 部分空間選択手段、24 ブロック空間設定手段、26 水平面内探索手段、28 垂直位置決定手段、30 壁面形状決定手段、32 追跡手段、34 壁面要素登録手段。   2 Wall Extraction System, 4 Arithmetic Processing Device, 6 Storage Device, 8 Input Device, 10 Output Device, 20 Partial Space Setting Means, 22 Partial Space Selection Means, 24 Block Space Setting Means, 26 Horizontal Plane Search Means, 28 Vertical Position Determination Means, 30 wall surface shape determining means, 32 tracking means, 34 wall surface element registration means.

Claims (6)

対象空間における地物表面の三次元形状を表す点群データに基づいて前記地物の壁面を検出するデータ解析装置であって、
前記対象空間を垂直面により水平面内にて二次元メッシュ状に分割して、柱状の複数の部分空間を設定する部分空間設定手段と、
前記部分空間のうち予め設定した閾値以上の高低差を有する点群を含むものを注目部分空間として選択する部分空間選択手段と、
前記注目部分空間を水平面で分割して、縦に積み重なる複数のブロック空間を設定するブロック空間設定手段と、
水平面内における前記壁面の位置を探索する水平面内探索手段と、を有し、
前記水平面内探索手段は、前記ブロック空間ごとに、前記水平面内の線分のうち、前記水平面に射影された前記点群が予め設定した基準以上に近傍に集まるものを探索して水平面内壁面位置と定めること、
を特徴とするデータ解析装置。
A data analysis device for detecting a wall surface of a feature based on point cloud data representing a three-dimensional shape of a feature surface in a target space,
A partial space setting means for dividing the target space into a two-dimensional mesh shape in a horizontal plane by a vertical plane, and setting a plurality of columnar partial spaces;
A partial space selecting means for selecting, as the partial space of interest, a portion including a point group having a height difference equal to or higher than a preset threshold among the partial spaces;
A block space setting means for dividing the target partial space by a horizontal plane and setting a plurality of block spaces stacked vertically;
A horizontal plane search means for searching for the position of the wall surface in the horizontal plane,
The horizontal plane search means searches for a block where the point group projected onto the horizontal plane gathers in the vicinity of a preset reference or higher among line segments in the horizontal plane for each block space. To establish,
A data analysis device characterized by
請求項1に記載のデータ解析装置において、
前記対象空間にて前記水平面内壁面位置に存在する前記壁面の垂直方向の位置を求める垂直位置決定手段を有し、
当該垂直位置決定手段は、前記水平面内壁面位置ごとに、前記点群のうち前記水平面への射影位置が当該水平面内壁面位置から予め設定した距離内にあるものを注目点群として抽出し、垂直方向に関して当該注目点群が予め設定した閾値以上存在する各範囲を当該水平面内壁面位置での垂直方向壁面位置と定めること、
を特徴とするデータ解析装置。
The data analysis apparatus according to claim 1,
Vertical position determining means for obtaining a vertical position of the wall surface existing at the inner wall surface position in the horizontal plane in the target space;
The vertical position determination means extracts, as the point of interest, a point of the point group whose projected position onto the horizontal plane is within a preset distance from the horizontal plane inner wall surface position, for each horizontal plane inner wall surface position. Determining each range in which the point of interest group is equal to or greater than a predetermined threshold with respect to the direction as a vertical wall surface position at the horizontal wall surface position;
A data analysis device characterized by
請求項2に記載のデータ解析装置において、
前記水平面内壁面位置での各垂直方向壁面位置に存在する前記壁面の形状を、当該垂直方向壁面位置での前記注目点群の分布範囲に基づいて求める壁面形状決定手段を有し、
前記壁面形状決定手段は、前記水平面内壁面位置における鉛直面上の台形であって、その平行な2辺を鉛直方向に設定され、前記分布範囲を前記鉛直面に射影した形状を近似するものを前記壁面の形状とすること、
を特徴とするデータ解析装置。
In the data analysis device according to claim 2,
Wall surface shape determining means for determining the shape of the wall surface existing at each vertical wall surface position at the horizontal wall surface position based on the distribution range of the point of interest group at the vertical wall surface position;
The wall surface shape determining means is a trapezoid on the vertical surface at the position of the inner wall surface in the horizontal plane, the two parallel sides being set in the vertical direction, and approximating the shape obtained by projecting the distribution range onto the vertical surface. The shape of the wall surface;
A data analysis device characterized by
請求項2又は請求項3に記載のデータ解析装置において、
既に検出されている前記水平面内壁面位置における前記垂直方向壁面位置ごとに、当該水平面内壁面位置の端部に連なる新たな前記水平面内壁面位置を求める追跡手段を有し、
前記追跡手段は、既検出の前記水平面内壁面位置の端部に短辺の中点を接続された長方形を平面形状とする直方体の空間であってその高さが前記垂直方向壁面位置に対応して配置される隣接空間を、前記長方形の長辺に沿った中心線を前記水平面内壁面位置の延長線に一致させて設定し、当該隣接空間内に前記点群が予め設定した基準以上に集まる場合には当該隣接空間内の点群の前記水平面内での分布に沿った線分を新たな前記水平面内壁面位置とし、一方、前記中心線を前記延長線に一致させて設定した前記隣接空間にて新たな前記水平面内壁面位置が検出されなかった場合は、前記水平面内での前記中心線の向きを変えて内部に最も点群が集まる前記隣接空間を探索し、得られた当該隣接空間内の点群の前記水平面内での分布に沿った線分を新たな前記水平面内壁面位置とすること、
を特徴とするデータ解析装置。
In the data analysis device according to claim 2 or 3,
For each vertical wall surface position in the horizontal wall surface position that has already been detected, the tracking means for obtaining a new horizontal wall surface position that continues to the end of the horizontal wall surface position,
The tracking means is a rectangular parallelepiped space having a rectangular shape in which a midpoint of a short side is connected to an end portion of the detected inner surface of the horizontal plane, the height of which corresponds to the vertical wall position. Are set so that the center line along the long side of the rectangle coincides with the extension line of the inner wall surface of the horizontal plane, and the point cloud gathers in the adjacent space above a preset reference. In this case, the adjacent space set by setting a line segment along the distribution in the horizontal plane of the point group in the adjacent space as the new horizontal plane wall surface position, and setting the center line to coincide with the extension line. If a new position on the inner wall surface of the horizontal plane is not detected, the adjacent space where the point cloud is most concentrated inside is searched by changing the direction of the center line in the horizontal plane, and the obtained adjacent space Along the distribution of the point cloud in the horizontal plane Min to a new piece of the horizontal inner wall surface position,
A data analysis device characterized by
対象空間における地物表面の三次元形状を表す点群データに基づいて前記地物の壁面を検出するデータ解析方法であって、
前記対象空間を垂直面により水平面内にて二次元メッシュ状に分割して、柱状の複数の部分空間を設定する部分空間設定ステップと、
前記部分空間のうち予め設定した閾値以上の高低差を有する点群を含むものを注目部分空間として選択する部分空間選択ステップと、
前記注目部分空間を水平面で分割して、縦に積み重なる複数のブロック空間を設定するブロック空間設定ステップと、
水平面内における前記壁面の位置を探索する水平面内探索ステップと、を有し、
前記水平面内探索ステップは、前記ブロック空間ごとに、前記水平面内の線分のうち、前記水平面に射影された前記点群が予め設定した基準以上に近傍に集まるものを探索して水平面内壁面位置と定めること、
を特徴とするデータ解析方法。
A data analysis method for detecting a wall surface of a feature based on point cloud data representing a three-dimensional shape of a feature surface in a target space,
A partial space setting step of dividing the target space into a two-dimensional mesh shape in a horizontal plane by a vertical plane, and setting a plurality of columnar partial spaces;
A subspace selection step of selecting, as the subspace of interest, a point including a point group having a height difference equal to or higher than a preset threshold among the subspaces;
A block space setting step of dividing the target partial space by a horizontal plane and setting a plurality of block spaces stacked vertically;
A horizontal plane search step for searching the position of the wall surface in the horizontal plane,
In the horizontal plane search step, for each block space, a search is made for a line segment in the horizontal plane where the point group projected onto the horizontal plane is gathered in the vicinity of a predetermined reference or more to determine the position of the horizontal plane inner wall surface To establish,
A data analysis method characterized by
コンピュータに、対象空間における地物表面の三次元形状を表す点群データに基づいて前記地物の壁面を検出するデータ解析を行わせるためのプログラムであって、当該コンピュータを、
前記対象空間を垂直面により水平面内にて二次元メッシュ状に分割して、柱状の複数の部分空間を設定する部分空間設定手段、
前記部分空間のうち予め設定した閾値以上の高低差を有する点群を含むものを注目部分空間として選択する部分空間選択手段、
前記注目部分空間を水平面で分割して、縦に積み重なる複数のブロック空間を設定するブロック空間設定手段、及び
水平面内における前記壁面の位置を探索する水平面内探索手段、として機能させ、
前記水平面内探索手段は、前記ブロック空間ごとに、前記水平面内の線分のうち、前記水平面に射影された前記点群が予め設定した基準以上に近傍に集まるものを探索して水平面内壁面位置と定めること、
を特徴とするプログラム。
A program for causing a computer to perform data analysis for detecting a wall surface of a feature based on point cloud data representing a three-dimensional shape of a feature surface in a target space, the computer comprising:
A partial space setting means for dividing the target space into a two-dimensional mesh in a horizontal plane by a vertical plane, and setting a plurality of columnar partial spaces;
A partial space selection means for selecting, as the partial space of interest, a portion including a point group having a height difference equal to or higher than a preset threshold value among the partial spaces;
Dividing the target partial space by a horizontal plane, functioning as block space setting means for setting a plurality of block spaces stacked vertically, and search means for searching for the position of the wall surface in the horizontal plane,
The horizontal plane search means searches for a block where the point group projected onto the horizontal plane gathers in the vicinity of a preset reference or higher among line segments in the horizontal plane for each block space. To establish,
A program characterized by
JP2011191967A 2011-09-02 2011-09-02 Data analysis apparatus, data analysis method, and program Active JP5566353B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011191967A JP5566353B2 (en) 2011-09-02 2011-09-02 Data analysis apparatus, data analysis method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011191967A JP5566353B2 (en) 2011-09-02 2011-09-02 Data analysis apparatus, data analysis method, and program

Publications (2)

Publication Number Publication Date
JP2013053915A JP2013053915A (en) 2013-03-21
JP5566353B2 true JP5566353B2 (en) 2014-08-06

Family

ID=48131038

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011191967A Active JP5566353B2 (en) 2011-09-02 2011-09-02 Data analysis apparatus, data analysis method, and program

Country Status (1)

Country Link
JP (1) JP5566353B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6080640B2 (en) * 2013-03-25 2017-02-15 株式会社ジオ技術研究所 3D point cloud analysis method
JP6080642B2 (en) * 2013-03-25 2017-02-15 株式会社ジオ技術研究所 3D point cloud analysis method
JP6125296B2 (en) * 2013-03-28 2017-05-10 株式会社パスコ Data analysis apparatus, data analysis method, and program
JP6121216B2 (en) * 2013-03-29 2017-04-26 株式会社パスコ Multi-planar structure unevenness extraction apparatus, multiplanar structure unevenness extraction method, and program
CA2996009A1 (en) * 2015-09-25 2017-03-30 Magic Leap, Inc. Methods and systems for detecting and combining structural features in 3d reconstruction
WO2019124118A1 (en) * 2017-12-18 2019-06-27 パイオニア株式会社 Detection device and detection method, and program for detection
JP7449506B2 (en) 2020-08-06 2024-03-14 株式会社イクシス measurement system
JP7452797B2 (en) 2020-08-06 2024-03-19 株式会社イクシス measurement system
JP2022184429A (en) * 2021-06-01 2022-12-13 村田機械株式会社 Article type determination method and article type determination system
JP2022184425A (en) * 2021-06-01 2022-12-13 村田機械株式会社 Edge position detection method, transfer position determination method, and article transfer system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004178281A (en) * 2002-11-27 2004-06-24 Nippon Telegr & Teleph Corp <Ntt> Shape recovering method, shape recovering device, shape recovering program, and storage medium
JP4284644B2 (en) * 2003-05-23 2009-06-24 財団法人生産技術研究奨励会 3D model construction system and 3D model construction program
JP2006163851A (en) * 2004-12-08 2006-06-22 Nippon Telegr & Teleph Corp <Ntt> Configuration data forming device, configuration data forming method, and configuration data forming program
JP5230354B2 (en) * 2008-10-28 2013-07-10 三菱電機株式会社 POSITIONING DEVICE AND CHANGED BUILDING DETECTION DEVICE
JP5339953B2 (en) * 2009-02-17 2013-11-13 三菱電機株式会社 3D map correction apparatus and 3D map correction program
JP5464915B2 (en) * 2009-06-09 2014-04-09 三菱電機株式会社 Object detection apparatus and object detection method
JP5161936B2 (en) * 2010-08-11 2013-03-13 株式会社パスコ Data analysis apparatus, data analysis method, and program

Also Published As

Publication number Publication date
JP2013053915A (en) 2013-03-21

Similar Documents

Publication Publication Date Title
JP5566353B2 (en) Data analysis apparatus, data analysis method, and program
JP5161936B2 (en) Data analysis apparatus, data analysis method, and program
JP5430627B2 (en) Road accessory detection device, road accessory detection method, and program
JP6652865B2 (en) Feature detection device, feature detection method, and program
JP6125296B2 (en) Data analysis apparatus, data analysis method, and program
JP2007034808A (en) Device, method, and program for discriminating change
Rutzinger et al. Automatic extraction of vertical walls from mobile and airborne laser scanning data
CN104156988A (en) Urban building contour regularization method based on iteration minimum bounding rectangle
JP2006323608A (en) Apparatus and method for creating model of group of three-dimensional structure and system for creating three-dimensional model
JP6013962B2 (en) Feature surface detection apparatus, feature surface detection method, and program
Schlichting et al. Vehicle localization by lidar point correlation improved by change detection
JP5577312B2 (en) Data analysis apparatus, data analysis method, and program
JP6097182B2 (en) Data analysis apparatus, data analysis method, and program
JP6397386B2 (en) Region division processing apparatus, method, and program
JP6600615B2 (en) Clustering device, artifact identification device, trunk detection device, method, and program
Liu et al. High-resolution DEM generated from LiDAR data for water resource management
RU2612571C1 (en) Method and system for recognizing urban facilities
JP6018959B2 (en) Data analysis apparatus, data analysis method, and program
RU2638638C1 (en) Method and system of automatic constructing three-dimensional models of cities
CN113240755B (en) City scene composition method and system based on street view image and vehicle-mounted laser fusion
Liu et al. Segmentation and reconstruction of buildings with aerial oblique photography point clouds
KR101115489B1 (en) Method and system for generating numerical modeling input materials having high revolution based on raster by using airborne lidar data
Huang et al. Ground filtering algorithm for mobile LIDAR using order and neighborhood point information
KR102600821B1 (en) Method and apparatus for estimating object dimensions
Husain et al. A moving window search method for detection of pole like objects using mobile laser scanner data

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130806

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130813

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131011

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140610

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140617

R150 Certificate of patent or registration of utility model

Ref document number: 5566353

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250