JP6584735B1 - Image generation apparatus, image generation method, and image generation program - Google Patents

Image generation apparatus, image generation method, and image generation program Download PDF

Info

Publication number
JP6584735B1
JP6584735B1 JP2019535417A JP2019535417A JP6584735B1 JP 6584735 B1 JP6584735 B1 JP 6584735B1 JP 2019535417 A JP2019535417 A JP 2019535417A JP 2019535417 A JP2019535417 A JP 2019535417A JP 6584735 B1 JP6584735 B1 JP 6584735B1
Authority
JP
Japan
Prior art keywords
image
unit
dimensional point
data
coordinates
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
JP2019535417A
Other languages
Japanese (ja)
Other versions
JPWO2020194470A1 (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Application granted granted Critical
Publication of JP6584735B1 publication Critical patent/JP6584735B1/en
Publication of JPWO2020194470A1 publication Critical patent/JPWO2020194470A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/80Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Abstract

画像生成装置(1)は、選択位置判定部(23)と、視点位置判定部(24)と、画像処理部(25)とを備える。選択位置判定部(23)は、表示部(2)に表示された3次元点群のうち選択された3次元点の座標に対応する展開画像上の座標を判定する。画像処理部(25)は、選択位置判定部(23)によって判定された展開画像上の座標を含む範囲である切り出し範囲の画像を展開画像から切り出す切り出し処理を含む画像処理によって生成される切り出し画像を出力画像として生成する。画像処理部(25)は、選択位置判定部(23)によって判定された展開画像上の座標に基づく切り出し範囲の画像の回転処理および反転処理のうち少なくとも一つの処理を含む。The image generation device (1) includes a selection position determination unit (23), a viewpoint position determination unit (24), and an image processing unit (25). The selection position determination unit (23) determines the coordinates on the developed image corresponding to the coordinates of the selected three-dimensional point among the three-dimensional point group displayed on the display unit (2). The image processing unit (25) is a cutout image generated by image processing including cutout processing for cutting out an image of a cutout range that is a range including coordinates on the developed image determined by the selection position determining unit (23) from the developed image. As an output image. The image processing unit (25) includes at least one of rotation processing and inversion processing of the image in the cutout range based on the coordinates on the developed image determined by the selection position determination unit (23).

Description

本発明は、構造物の展開画像のうち一部の領域を切り出すことができる画像生成装置、画像生成方法、および画像生成プログラムに関する。   The present invention relates to an image generation apparatus, an image generation method, and an image generation program that can cut out a partial region of a developed image of a structure.

従来、構造物を撮像して得られる撮像画像から構造物の展開画像を生成する技術が知られている。例えば、特許文献1には、構造物であるトンネル内を複数のカメラを備える車両が走行している状態でこれら複数のカメラの各々で複数回撮像されて得られる画像を繋ぎ合せることで、トンネルの展開画像を得る技術が開示されている。   Conventionally, a technique for generating a developed image of a structure from a captured image obtained by imaging the structure is known. For example, Patent Document 1 discloses that a tunnel is obtained by joining together images obtained by imaging a plurality of times with each of the plurality of cameras while a vehicle including a plurality of cameras is traveling in a tunnel that is a structure. A technique for obtaining a developed image is disclosed.

特開2016−218555号公報JP, 2006-218555, A

構造物の点検を点検員が行う場合、例えば、構造物の変状がある領域を撮像した撮像画像を変状写真台帳に貼り付ける場合があるが、点検員は構造物の設置場所を訪れる必要がある。特許文献1の技術では、上述したように構造物内を車両が走行することで構造物の展開画像を得ることができる。そのため、かかる展開画像を用いることができれば、点検員が構造物の設置場所を訪れなくても、構造物の変状がある領域を撮像した撮像画像を取得することができる。   When an inspector inspects a structure, for example, a captured image obtained by imaging an area where the structure is deformed may be pasted on a deformed photo ledger, but the inspector needs to visit the installation location of the structure There is. In the technique of Patent Document 1, as described above, a developed image of a structure can be obtained by the vehicle traveling in the structure. Therefore, if such a developed image can be used, it is possible to acquire a captured image obtained by capturing an area where the structure is deformed without visiting an installation location of the structure.

しかしながら、特許文献1に記載の展開画像から構造物の変状がある領域を切り出す場合、展開画像から切り出した画像は、同じ領域の画像であっても点検員が実際の構造物を撮像して得られる撮像画像と異なる場合がある。また、構造物内からみた構造物の画像に代えて、構造物外からみた構造物の画像を取得したい場合があり、特許文献1に記載の展開画像から構造物の変状がある領域をそのまま切り出しても、必要な画像が得られない場合がある。   However, when a region having a deformed structure is cut out from the developed image described in Patent Document 1, the inspector images the actual structure even if the image cut out from the developed image is an image of the same region. It may be different from the obtained captured image. In addition, instead of an image of the structure viewed from inside the structure, there is a case where it is desired to obtain an image of the structure viewed from the outside of the structure, and an area where the structure is deformed from the developed image described in Patent Document 1 is left as it is. Even if it is cut out, a necessary image may not be obtained.

本発明は、上記に鑑みてなされたものであって、構造物の展開画像から必要な画像を適切に得ることができる画像生成装置を得ることを目的とする。   The present invention has been made in view of the above, and an object of the present invention is to obtain an image generation apparatus that can appropriately obtain a necessary image from a developed image of a structure.

上述した課題を解決し、目的を達成するために、本発明の画像生成装置は、構造物データ記憶部と、表示処理部と、選択位置判定部と、画像処理部とを備える。構造物データ記憶部は、構造物の3次元点群のデータを含む3次元点群データと、構造物の展開画像のデータと、3次元点群の座標と展開画像の座標との対応関係を示すマッピングデータとを記憶する。表示処理部は、構造物データ記憶部に記憶された3次元点群データに基づいて、3次元点群の画像を表示部に表示する。選択位置判定部は、構造物データ記憶部に記憶された展開画像のデータおよびマッピングデータに基づいて、表示部に表示された3次元点群のうち選択された3次元点の座標に対応する展開画像上の座標を判定する。画像処理部は、選択位置判定部によって判定された展開画像上の座標を含む範囲である切り出し範囲の画像を展開画像から切り出す切り出し処理を含む画像処理によって生成される切り出し画像を出力画像として生成する。画像処理部が実行する画像処理は、選択位置判定部によって判定された展開画像上の座標に基づく切り出し範囲の画像の回転処理および反転処理のうち少なくとも一つの処理を含む。   In order to solve the above-described problems and achieve the object, an image generation apparatus of the present invention includes a structure data storage unit, a display processing unit, a selected position determination unit, and an image processing unit. The structure data storage unit stores the correspondence between the 3D point cloud data including the 3D point cloud data of the structure, the developed image data of the structure, the coordinates of the 3D point cloud, and the coordinates of the developed image. Mapping data to be stored is stored. The display processing unit displays an image of the three-dimensional point group on the display unit based on the three-dimensional point group data stored in the structure data storage unit. The selected position determination unit develops corresponding to the coordinates of the selected three-dimensional point among the three-dimensional point group displayed on the display unit based on the developed image data and mapping data stored in the structure data storage unit. Determine the coordinates on the image. The image processing unit generates, as an output image, a cut-out image generated by image processing including cut-out processing that cuts out an image in a cut-out range that is a range including coordinates on the developed image determined by the selection position determination unit. . The image processing executed by the image processing unit includes at least one of rotation processing and inversion processing of the image in the cutout range based on the coordinates on the developed image determined by the selection position determination unit.

本発明によれば、構造物の展開画像から必要な画像を適切に得ることができる、という効果を奏する。   According to the present invention, there is an effect that a necessary image can be appropriately obtained from a developed image of a structure.

本発明の実施の形態1にかかる画像生成装置の構成例を示す図The figure which shows the structural example of the image generation apparatus concerning Embodiment 1 of this invention. 実施の形態1にかかる画像生成装置による画像処理方法を説明するための図FIG. 6 is a diagram for explaining an image processing method by the image generation apparatus according to the first embodiment; 実施の形態1にかかる画像生成装置の具体的構成例を示す図1 is a diagram illustrating a specific configuration example of an image generation apparatus according to a first embodiment. 実施の形態1にかかる3次元点群データテーブルの一例を示す図The figure which shows an example of the three-dimensional point cloud data table concerning Embodiment 1. FIG. 実施の形態1にかかるトンネルの3次元点群とトンネル軸ベクトルの一例を示す図FIG. 3 is a diagram illustrating an example of a three-dimensional point group and tunnel axis vector of a tunnel according to the first embodiment 実施の形態1にかかるトンネル軸データテーブルの一例を示す図The figure which shows an example of the tunnel axis | shaft data table concerning Embodiment 1. FIG. 実施の形態1にかかる展開画像データテーブルの一例を示す図FIG. 3 is a diagram illustrating an example of a developed image data table according to the first embodiment. 実施の形態1にかかる見上げ図と見下げ図との関係を説明するための図The figure for demonstrating the relationship between the look-up figure and look-down figure concerning Embodiment 1. FIG. 実施の形態1にかかるトンネルの展開画像の一例を示す図The figure which shows an example of the expansion | deployment image of the tunnel concerning Embodiment 1. 実施の形態1にかかるマッピングデータテーブルの一例を示す図The figure which shows an example of the mapping data table concerning Embodiment 1. 実施の形態1にかかる切り出し画像データテーブルの一例を示す図The figure which shows an example of the cut-out image data table concerning Embodiment 1. FIG. 実施の形態1にかかる変状データテーブルの一例を示す図The figure which shows an example of the deformation | transformation data table concerning Embodiment 1. FIG. 実施の形態1にかかる表示処理部による3次元点群の画像の表示部への表示処理を説明するための図FIG. 6 is a diagram for explaining display processing of a three-dimensional point cloud image on the display unit by the display processing unit according to the first embodiment; 実施の形態1にかかる視点位置のトンネルに対する位置を説明するための図The figure for demonstrating the position with respect to the tunnel of the viewpoint position concerning Embodiment 1. FIG. 実施の形態1にかかる視点位置判定部による視点位置のトンネルに対する位置関係を判定するための処理を説明するための図The figure for demonstrating the process for determining the positional relationship with respect to the tunnel of the viewpoint position by the viewpoint position determination part concerning Embodiment 1. FIG. 実施の形態1にかかる画像処理部による画像処理を説明するための図FIG. 3 is a diagram for explaining image processing by the image processing unit according to the first embodiment; 実施の形態1にかかる画像処理部で用いられる閾値と展開画像との関係の一例を示す図FIG. 5 is a diagram illustrating an example of a relationship between a threshold value used in the image processing unit according to the first embodiment and a developed image. 実施の形態1にかかる切り出し画像の一覧を示す画像の一例を示す図The figure which shows an example of the image which shows the list of the cut-out images concerning Embodiment 1. 実施の形態1にかかる切り出し画像の画像状態が見上げ図である場合において視点位置決定部によって決定される視点位置を説明するための図The figure for demonstrating the viewpoint position determined by a viewpoint position determination part in case the image state of the cut-out image concerning Embodiment 1 is a looking-up figure 実施の形態1にかかる切り出し画像の画像状態が見下げ図である場合において視点位置決定部によって決定される視点位置を説明するための図The figure for demonstrating the viewpoint position determined by the viewpoint position determination part in case the image state of the cut-out image concerning Embodiment 1 is a look-down view 実施の形態1にかかる表示処理部によるトンネルの3次元点群の向きの決定処理を説明するための図The figure for demonstrating the determination processing of the direction of the three-dimensional point group of a tunnel by the display process part concerning Embodiment 1. FIG. 実施の形態1にかかる変状データ編集画面の一例を示す図The figure which shows an example of the deformation data edit screen concerning Embodiment 1. 実施の形態1にかかる変状データ編集画面の他の例を示す図The figure which shows the other example of the deformation data edit screen concerning Embodiment 1. FIG. 実施の形態1にかかる変状台帳生成部によって生成される変状画像台帳の一例を示す図The figure which shows an example of the deformed image ledger produced | generated by the deformed ledger production | generation part concerning Embodiment 1. FIG. 実施の形態1にかかる変状展開図生成部によって生成される変状展開図の一例を示す図The figure which shows an example of the deformation | transformation expanded view produced | generated by the deformation | transformation expanded view production | generation part concerning Embodiment 1. FIG. 実施の形態1にかかる画像生成装置の制御部の処理の一例を示すフローチャート6 is a flowchart illustrating an example of processing of a control unit of the image generation apparatus according to the first embodiment. 実施の形態1にかかる出力画像生成処理の一例を示すフローチャート10 is a flowchart illustrating an example of an output image generation process according to the first embodiment. 実施の形態1にかかる3次元点群表示処理の一例を示すフローチャート3 is a flowchart illustrating an example of a three-dimensional point cloud display process according to the first embodiment. 実施の形態1にかかる変状データ編集処理の一例を示すフローチャート10 is a flowchart illustrating an example of deformation data editing processing according to the first embodiment; 実施の形態1にかかる変状画像台帳生成処理の一例を示すフローチャート10 is a flowchart illustrating an example of a deformed image ledger generation process according to the first embodiment. 実施の形態1にかかる変状展開図生成処理の一例を示すフローチャートFIG. 3 is a flowchart illustrating an example of a modified development view generation process according to the first embodiment; 実施の形態1にかかる画像生成装置のハードウェア構成の一例を示す図1 is a diagram illustrating an example of a hardware configuration of an image generation apparatus according to a first embodiment.

以下に、本発明の実施の形態にかかる画像生成装置、画像生成方法、および画像生成プログラムを図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。   Hereinafter, an image generation apparatus, an image generation method, and an image generation program according to embodiments of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

実施の形態1.
図1は、本発明の実施の形態1にかかる画像生成装置の構成例を示す図である。図1に示すように、実施の形態1にかかる画像生成装置1は、構造物データ記憶部11と、制御部20とを備える。
Embodiment 1 FIG.
FIG. 1 is a diagram illustrating a configuration example of an image generation apparatus according to the first embodiment of the present invention. As illustrated in FIG. 1, the image generation apparatus 1 according to the first embodiment includes a structure data storage unit 11 and a control unit 20.

構造物データ記憶部11は、構造物のデータを記憶する。構造物のデータには、構造物の3次元点群データと、構造物の展開画像データと、3次元点群の座標と展開画像上の座標との対応関係を示すマッピングデータとが含まれる。構造物データ記憶部11にデータが記憶される構造物は、例えば、トンネル、橋梁、または下水道などの構造物である。   The structure data storage unit 11 stores structure data. The structure data includes three-dimensional point group data of the structure, development image data of the structure, and mapping data indicating the correspondence between the coordinates of the three-dimensional point group and the coordinates on the development image. The structure in which data is stored in the structure data storage unit 11 is a structure such as a tunnel, a bridge, or a sewer.

3次元点群データには、複数の3次元点のデータが含まれており、各3次元点のデータには、3次元点の3次元における位置を示すデータが含まれる。例えば、3次元点のデータには、XYZ軸座標系における3次元点の座標を示すデータが含まれる。構造物の展開画像データは、構造物の展開画像のデータである。   The three-dimensional point group data includes a plurality of three-dimensional point data, and each three-dimensional point data includes data indicating the three-dimensional position of the three-dimensional point. For example, the three-dimensional point data includes data indicating the coordinates of the three-dimensional point in the XYZ axis coordinate system. The development image data of the structure is data of the development image of the structure.

制御部20は、表示処理部22と、選択位置判定部23と、視点位置判定部24と、画像処理部25とを備える。表示処理部22は、構造物データ記憶部11に記憶された3次元点群データに基づいて、構造物の3次元点群の画像を表示部2に表示する。かかる表示処理部22は、指定された視点位置からみた場合の3次元点群の画像を表示部2に表示する。例えば、表示処理部22は、視点位置を変更された場合、変更後の視点位置からみた場合の3次元点群の画像を表示部2に表示する。   The control unit 20 includes a display processing unit 22, a selection position determination unit 23, a viewpoint position determination unit 24, and an image processing unit 25. The display processing unit 22 displays an image of the three-dimensional point group of the structure on the display unit 2 based on the three-dimensional point group data stored in the structure data storage unit 11. The display processing unit 22 displays an image of the three-dimensional point group when viewed from the designated viewpoint position on the display unit 2. For example, when the viewpoint position is changed, the display processing unit 22 displays an image of the three-dimensional point group when viewed from the changed viewpoint position on the display unit 2.

選択位置判定部23は、構造物データ記憶部11に記憶されたマッピングデータに基づいて、表示部2に表示された構造物の3次元点群のうち選択された3次元点の座標に対応する展開画像上の座標を判定する。視点位置判定部24は、指定された視点位置の構造物に対する位置関係として、かかる視点位置が構造物の内部の位置か構造物の外部の位置かを判定する。   The selection position determination unit 23 corresponds to the coordinates of the selected three-dimensional point among the three-dimensional point group of the structure displayed on the display unit 2 based on the mapping data stored in the structure data storage unit 11. The coordinates on the developed image are determined. The viewpoint position determination unit 24 determines whether the viewpoint position is a position inside the structure or a position outside the structure as a positional relationship with respect to the structure of the designated viewpoint position.

画像処理部25は、選択位置判定部23によって判定された展開画像上の座標と、視点位置判定部24によって判定された視点位置の構造物に対する位置関係とに基づいて、展開画像上の座標を含む範囲である切り出し範囲の画像から切り出し画像を生成する。具体的には、画像処理部25は、展開画像上の座標と視点位置の構造物に対する位置関係とに基づいて、切り出し範囲の画像を展開画像から切り出す処理と、切り出し範囲の画像の向きを変更する処理とを行って、切り出し画像を生成する。切り出し範囲の画像の向きを変更する処理には、切り出し範囲の画像の回転処理および反転処理の少なくとも一つの処理が含まれる。画像処理部25は、生成した切り出し画像を出力画像として出力する。これにより、構造物の展開画像から必要な画像を適切に得ることができる。例えば、展開画像から切り出した画像を点検員が実際の構造物を撮像して得られる撮像画像と同じ向きの画像にすることができる。また、構造物内からみた構造物の画像に代えて、構造物外からみた構造物の画像を取得したい場合において、必要な画像を得ることができる。   The image processing unit 25 calculates the coordinates on the developed image based on the coordinates on the developed image determined by the selection position determining unit 23 and the positional relationship of the viewpoint position determined by the viewpoint position determining unit 24 with respect to the structure. A cut-out image is generated from an image in a cut-out range that is a range to include. Specifically, the image processing unit 25 cuts out the image in the cutout range from the developed image and changes the orientation of the image in the cutout range based on the coordinates on the developed image and the positional relationship of the viewpoint position with the structure. The cut-out image is generated by performing the processing. The processing for changing the orientation of the image in the cutout range includes at least one of rotation processing and inversion processing for the image in the cutout range. The image processing unit 25 outputs the generated cutout image as an output image. Thereby, a required image can be appropriately obtained from the developed image of the structure. For example, an image cut out from a developed image can be made into an image in the same direction as a captured image obtained by an inspector capturing an actual structure. Moreover, when it is desired to obtain an image of a structure viewed from the outside of the structure instead of the image of the structure viewed from the inside of the structure, a necessary image can be obtained.

なお、構造物内からみた構造物の画像および構造物外からみた構造物の画像の一方のみを取得すればよい場合、画像生成装置1は、上記の構成でなくてもよい。例えば、画像生成装置1は、視点位置とは無関係に、展開画像上の座標に基づいて、切り出し範囲の画像を展開画像から切り出す処理と、切り出し範囲の画像の向きを変更する処理とを行って、切り出し画像を生成することができる。この場合、画像生成装置1は、視点位置判定部24を有しない構成であってもよい。   In addition, when only one of the image of the structure viewed from the inside of the structure and the image of the structure viewed from the outside of the structure needs to be acquired, the image generation apparatus 1 may not have the above configuration. For example, the image generation device 1 performs a process of cutting out an image of the cutout range from the developed image and a process of changing the orientation of the image of the cutout range based on the coordinates on the developed image regardless of the viewpoint position. A cut-out image can be generated. In this case, the image generation apparatus 1 may be configured without the viewpoint position determination unit 24.

図2は、実施の形態1にかかる画像生成装置による画像処理方法を説明するための図である。なお、以下においては、構造物がトンネルであるものとして説明するが、構造物は、橋梁、下水道、または他の構造物であってもよい。   FIG. 2 is a diagram for explaining an image processing method performed by the image generation apparatus according to the first embodiment. In the following description, it is assumed that the structure is a tunnel, but the structure may be a bridge, a sewer, or another structure.

図2に示すステップS1では、トンネルの3次元点群データが生成される。かかる3次元点群データは、例えば、計測車両に搭載された不図示の3次元点群計測装置によって得られる。かかる3次元点群計測装置は、例えば、計測車両の走行状態において不図示のレーザスキャナ装置によって得られるトンネルの内壁の計測データから3次元点群データを生成する。   In step S1 shown in FIG. 2, three-dimensional point cloud data of the tunnel is generated. Such 3D point cloud data is obtained, for example, by a 3D point cloud measurement device (not shown) mounted on the measurement vehicle. Such a three-dimensional point cloud measurement device generates three-dimensional point cloud data from, for example, measurement data on the inner wall of a tunnel obtained by a laser scanner (not shown) in the traveling state of the measurement vehicle.

図2に示すステップS2では、トンネルの展開画像データが生成される。トンネルの展開画像データは、例えば、複数のカメラを搭載する計測車両がトンネル内を走行している状態で複数のカメラの各々によって複数回撮像された画像を貼り合わせることで得られるトンネルの内壁の展開画像のデータである。   In step S2 shown in FIG. 2, the developed image data of the tunnel is generated. The developed image data of the tunnel is, for example, the inner wall of the tunnel obtained by pasting together images captured multiple times by each of the plurality of cameras while a measurement vehicle equipped with the plurality of cameras is traveling in the tunnel. This is data of a developed image.

図2に示すステップS3では、3次元点群の座標と展開画像上の座標との対応関係を示すマッピングデータが生成される。マッピングデータは、例えば、3次元点群の3次元座標系を展開画像の2次元座標系に変換する関数を用いた変換処理によって得ることができる。また、マッピングデータは、例えば、特開2012−220471号公報に記載の技術を用いて得ることができる。   In step S3 shown in FIG. 2, mapping data indicating the correspondence between the coordinates of the three-dimensional point group and the coordinates on the developed image is generated. The mapping data can be obtained, for example, by a conversion process using a function for converting a three-dimensional coordinate system of a three-dimensional point group into a two-dimensional coordinate system of a developed image. Further, the mapping data can be obtained by using a technique described in JP 2012-220471 A, for example.

図2に示すステップS4では、トンネルの3次元点群の画像が表示部2に表示される。かかるトンネルの3次元点群の画像は、指定された視点位置からみた場合の画像であり、ユーザ操作などによって視点位置を変更することで、異なる視点位置からみた場合の画像を確認することができる。   In step S <b> 4 shown in FIG. 2, an image of the three-dimensional point group of the tunnel is displayed on the display unit 2. The image of the three-dimensional point cloud of the tunnel is an image viewed from a designated viewpoint position, and an image viewed from a different viewpoint position can be confirmed by changing the viewpoint position by a user operation or the like. .

図2に示すステップS5では、表示部2に表示されたトンネルの3次元点群のうち3次元点が選択される。3次元点の選択は、例えば、不図示のマウスの操作によって行われる。表示処理部22は、表示部2に表示されるカーソルをマウスの操作に応じて移動させる。選択位置判定部23は、マウスへのクリック操作があったときのカーソルが指す位置に最も近い3次元点をユーザ操作によって選択される3次元点として決定する。   In step S5 shown in FIG. 2, a three-dimensional point is selected from the three-dimensional point group of the tunnel displayed on the display unit 2. The selection of the three-dimensional point is performed by operating a mouse (not shown), for example. The display processing unit 22 moves the cursor displayed on the display unit 2 according to the operation of the mouse. The selection position determination unit 23 determines the three-dimensional point closest to the position indicated by the cursor when the mouse is clicked as the three-dimensional point selected by the user operation.

図2に示すステップS6では、選択位置判定部23は、3次元点群の座標と展開画像上の座標との対応関係を示すマッピングデータに基づいて、トンネルの3次元点群のうちユーザ操作によって選択された3次元点の座標に対応する展開画像上の座標を判定する。以下、選択された3次元点の座標に対応する展開画像上の座標を「選択位置」と記載する場合がある。   In step S6 shown in FIG. 2, the selected position determination unit 23 performs a user operation on the 3D point group of the tunnel based on mapping data indicating the correspondence between the coordinates of the 3D point group and the coordinates on the developed image. The coordinates on the developed image corresponding to the coordinates of the selected three-dimensional point are determined. Hereinafter, the coordinates on the developed image corresponding to the coordinates of the selected three-dimensional point may be referred to as “selected position”.

図2に示すステップS7では、視点位置判定部24は、ステップS5において3次元点が選択された場合に指定されていた視点位置のトンネルに対する位置関係を判定する。視点位置判定部24は、視点位置のトンネルに対する位置関係として、かかる視点位置がトンネルの内部の位置かトンネルの外部の位置かを判定する。図2に示す例では、視点位置判定部24によって視点位置がトンネルの外部の位置であると判定される。   In step S7 shown in FIG. 2, the viewpoint position determination unit 24 determines the positional relationship with respect to the tunnel of the viewpoint position specified when the three-dimensional point is selected in step S5. The viewpoint position determination unit 24 determines whether the viewpoint position is a position inside the tunnel or a position outside the tunnel as a positional relationship with respect to the tunnel of the viewpoint position. In the example illustrated in FIG. 2, the viewpoint position determination unit 24 determines that the viewpoint position is a position outside the tunnel.

図2に示すステップS8では、画像処理部25は、展開画像データ、選択位置、および視点位置のトンネルに対する位置関係に基づいて、展開画像上の選択位置を含む切り出し範囲の画像を展開画像から切り出す処理と、切り出し範囲の画像の回転処理および反転処理の少なくとも一つの処理とによって、切り出し画像を生成する。図2に示す例では、視点位置のトンネルに対する位置関係がトンネルの外部の位置であり、展開画像のうち切り出し範囲の画像を反転した画像が切り出し画像として生成される。これにより、構造物の展開画像から必要な画像を適切に得ることができる。   In step S8 shown in FIG. 2, the image processing unit 25 cuts out an image of a cutout range including the selected position on the developed image from the developed image based on the positional relationship of the developed image data, the selected position, and the viewpoint position with respect to the tunnel. A cut-out image is generated by the process and at least one of the rotation process and the inversion process of the image in the cut-out range. In the example illustrated in FIG. 2, the positional relationship of the viewpoint position with respect to the tunnel is a position outside the tunnel, and an image obtained by inverting the image of the cutout range in the developed image is generated as a cutout image. Thereby, a required image can be appropriately obtained from the developed image of the structure.

以下、実施の形態1にかかる画像生成装置1の構成および動作についてさらに具体的に説明する。図3は、実施の形態1にかかる画像生成装置の具体的構成例を示す図である。図3に示すように、実施の形態1にかかる画像生成装置1は、記憶部10と、制御部20と、通信部30とを備える。   Hereinafter, the configuration and operation of the image generation apparatus 1 according to the first embodiment will be described more specifically. FIG. 3 is a diagram illustrating a specific configuration example of the image generation apparatus according to the first embodiment. As illustrated in FIG. 3, the image generation apparatus 1 according to the first embodiment includes a storage unit 10, a control unit 20, and a communication unit 30.

記憶部10は、構造物データ記憶部11と、切り出し画像データ記憶部12と、変状データ記憶部13とを備える。構造物データ記憶部11は、3次元点群データテーブル41と、トンネル軸データテーブル42と、展開画像データテーブル43と、マッピングデータテーブル44とを記憶する。切り出し画像データ記憶部12は、切り出し画像データテーブル45を記憶する。変状データ記憶部13は、変状データテーブル46を記憶する。以下においては、構造物がトンネルであるものとして説明する。   The storage unit 10 includes a structure data storage unit 11, a cut-out image data storage unit 12, and a deformed data storage unit 13. The structure data storage unit 11 stores a three-dimensional point cloud data table 41, a tunnel axis data table 42, a developed image data table 43, and a mapping data table 44. The cutout image data storage unit 12 stores a cutout image data table 45. The deformation data storage unit 13 stores a deformation data table 46. In the following description, it is assumed that the structure is a tunnel.

図4は、実施の形態1にかかる3次元点群データテーブルの一例を示す図である。図4に示す3次元点群データテーブル41には、「3次元点ID(Identifier)」、「X座標」、「Y座標」、および「Z座標」を含む3次元点のデータが複数含まれる。「3次元点ID」は、トンネルの3次元点群に含まれる3次元点の識別情報である。「X座標」、「Y座標」、および「Z座標」は、XYZ座標系における3次元点の座標である。すなわち、「X座標」は、XYZ座標系における3次元点のX座標であり、「Y座標」は、XYZ座標系における3次元点のY座標であり、「Z座標」は、XYZ座標系における3次元点のZ座標である。   FIG. 4 is a diagram illustrating an example of a three-dimensional point cloud data table according to the first embodiment. The three-dimensional point group data table 41 shown in FIG. 4 includes a plurality of pieces of three-dimensional point data including “three-dimensional point ID (Identifier)”, “X coordinate”, “Y coordinate”, and “Z coordinate”. . “3D point ID” is identification information of a 3D point included in the 3D point group of the tunnel. “X coordinate”, “Y coordinate”, and “Z coordinate” are the coordinates of a three-dimensional point in the XYZ coordinate system. That is, the “X coordinate” is the X coordinate of the three-dimensional point in the XYZ coordinate system, the “Y coordinate” is the Y coordinate of the three-dimensional point in the XYZ coordinate system, and the “Z coordinate” is the “X coordinate” in the XYZ coordinate system. This is the Z coordinate of the three-dimensional point.

図4に示す3次元点群データテーブル41では、トンネルの3次元点群に含まれる各3次元点の情報が含まれている。例えば、図4に示す例では、3次元点ID「P1」の3次元点の座標は、X座標「x1」、Y座標「y1」、およびZ座標「z1」である。3次元点ID「P2」の3次元点の座標は、X座標「x2」、Y座標「y2」、およびZ座標「z2」である。3次元点ID「Pn」の3次元点の座標は、X座標「xn」、Y座標「yn」、およびZ座標「zn」である。なお、nは3以上の整数である。   The three-dimensional point group data table 41 shown in FIG. 4 includes information on each three-dimensional point included in the three-dimensional point group of the tunnel. For example, in the example illustrated in FIG. 4, the coordinates of the three-dimensional point with the three-dimensional point ID “P1” are the X coordinate “x1”, the Y coordinate “y1”, and the Z coordinate “z1”. The coordinates of the three-dimensional point with the three-dimensional point ID “P2” are the X coordinate “x2”, the Y coordinate “y2”, and the Z coordinate “z2”. The coordinates of the three-dimensional point with the three-dimensional point ID “Pn” are the X coordinate “xn”, the Y coordinate “yn”, and the Z coordinate “zn”. Note that n is an integer of 3 or more.

図5は、実施の形態1にかかるトンネルの3次元点群とトンネル軸ベクトルの一例を示す図である。図5に示すように、トンネルの3次元点群は、複数の3次元点で構成されており、上述した3次元点ID「P1」の3次元点、3次元点ID「P2」の3次元点、および3次元点ID「Pn」の3次元点などを含む複数の3次元点を含む。また、図5に示すように、トンネル軸ベクトルは、トンネルの延伸方向に沿ったベクトルである。トンネルの延伸方向がX軸と一致する場合、トンネル軸ベクトルの向きは、X軸と一致する。   FIG. 5 is a diagram of an example of the three-dimensional point group and tunnel axis vector of the tunnel according to the first embodiment. As shown in FIG. 5, the three-dimensional point group of the tunnel is composed of a plurality of three-dimensional points, and the three-dimensional point of the three-dimensional point ID “P1” and the three-dimensional point ID “P2” described above. A plurality of three-dimensional points including a point and a three-dimensional point with a three-dimensional point ID “Pn” are included. Further, as shown in FIG. 5, the tunnel axis vector is a vector along the extending direction of the tunnel. When the tunnel extension direction coincides with the X axis, the direction of the tunnel axis vector coincides with the X axis.

図6は、実施の形態1にかかるトンネル軸データテーブルの一例を示す図である。図6に示すトンネル軸データテーブル42には、「ベクトルID」、「X座標」、「Y座標」、「Z座標」、および「ベクトルの向き」を含むトンネル軸ベクトルのデータが複数含まれる。「ベクトルID」は、トンネル軸ベクトルの識別情報である。「X座標」、「Y座標」および「Z座標」は、XYZ座標系におけるトンネル軸ベクトルの位置を示す座標である。「ベクトルの向き」は、XYZ座標系におけるトンネル軸ベクトルの向きを示す情報である。   FIG. 6 is a diagram illustrating an example of a tunnel axis data table according to the first embodiment. The tunnel axis data table 42 shown in FIG. 6 includes a plurality of tunnel axis vector data including “vector ID”, “X coordinate”, “Y coordinate”, “Z coordinate”, and “vector direction”. “Vector ID” is identification information of a tunnel axis vector. “X coordinate”, “Y coordinate” and “Z coordinate” are coordinates indicating the position of the tunnel axis vector in the XYZ coordinate system. “Vector direction” is information indicating the direction of the tunnel axis vector in the XYZ coordinate system.

図6に示す例では、ベクトルID「V1」のトンネル軸ベクトルは、X座標「x11」、Y座標「y11」、およびZ座標「z11」の座標を有し、かつベクトルの向きが「v1」である。ベクトルID「V2」のトンネル軸ベクトルは、X座標「x12」、Y座標「y12」、およびZ座標「z12」の座標を有し、かつベクトルの向きが「v2」である。ベクトルID「Vm」のトンネル軸ベクトルは、X座標「x1m」、Y座標「y1m」、およびZ座標「z1m」の座標を有し、かつベクトルの向きが「vm」である。なお、mは3以上の整数である。   In the example illustrated in FIG. 6, the tunnel axis vector with the vector ID “V1” has the coordinates of the X coordinate “x11”, the Y coordinate “y11”, and the Z coordinate “z11”, and the vector direction is “v1”. It is. The tunnel axis vector of vector ID “V2” has the coordinates of X coordinate “x12”, Y coordinate “y12”, and Z coordinate “z12”, and the direction of the vector is “v2”. The tunnel axis vector of the vector ID “Vm” has the coordinates of the X coordinate “x1m”, the Y coordinate “y1m”, and the Z coordinate “z1m”, and the direction of the vector is “vm”. Note that m is an integer of 3 or more.

図7は、実施の形態1にかかる展開画像データテーブルの一例を示す図である。図7に示す展開画像データテーブル43には、「ドットID」、「X座標」、「Y座標」、「r」、「g」、「b」、および「画像状態」を含むドットのデータが複数含まれる。「ドットID」は、トンネルの展開画像に含まれるドットの識別情報である。FIG. 7 is a diagram illustrating an example of the developed image data table according to the first embodiment. In the developed image data table 43 shown in FIG. 7, dots including “dot ID”, “X d coordinate”, “Y d coordinate”, “r”, “g”, “b”, and “image state” are displayed. Multiple data are included. “Dot ID” is identification information of dots included in the developed image of the tunnel.

「X座標」および「Y座標」は、2次元座標系であるX座標系におけるドットの座標である。すなわち、「X座標」は、X座標系におけるドットのX座標であり、「Y座標」は、X座標系におけるドットのY座標である。「r」、「g」、および「b」は、ドットの色を示す。「r」は、ドットの赤色成分の値を示し、「g」は、ドットの緑色成分の値を示し、「b」は、ドットの青色成分の値を示す。“X d coordinate” and “Y d coordinate” are the coordinates of dots in the X d Y d coordinate system, which is a two-dimensional coordinate system. That is, "X d coordinates" is X d coordinates of the dots in the X d Y d coordinate system, "Y d coordinates" is Y d coordinates of the dots in the X d Y d coordinate system. “R”, “g”, and “b” indicate dot colors. “R” indicates the value of the red component of the dot, “g” indicates the value of the green component of the dot, and “b” indicates the value of the blue component of the dot.

図7に示す例では、ドットID「Do1」のドットの座標は、X座標「x1」およびY座標「y1」であり、ドットID「Do1」の「r」、「g」、および「b」は、「r1」、「g1」、および「b1」である。ドットID「Do2」のドットの座標は、X座標「x2」およびY座標「y2」であり、ドットID「Do2」の「r」、「g」、および「b」は、「r2」、「g2」、および「b2」である。ドットID「Dok」のドットの座標は、X座標「xk」およびY座標「yk」であり、ドットID「Dok」の「r」、「g」、および「b」は、「rk」、「gk」、および「bk」である。なお、kは3以上の整数である。In the example illustrated in FIG. 7, the coordinates of the dot with the dot ID “Do1” are the X d coordinate “x d 1” and the Y d coordinate “y d 1”, and the “r” and “g” of the dot ID “Do1”. And “b” are “r1”, “g1”, and “b1”. The coordinates of the dot with the dot ID “Do2” are the X d coordinate “x d 2” and the Y d coordinate “y d 2”, and “r”, “g”, and “b” of the dot ID “Do2” are , “R2”, “g2”, and “b2”. The coordinates of the dot with the dot ID “Dok” are the X d coordinate “x d k” and the Y d coordinate “y d k”, and “r”, “g”, and “b” of the dot ID “Dok” are , “Rk”, “gk”, and “bk”. Note that k is an integer of 3 or more.

「画像状態」は、トンネルの展開画像が「見上げ図」および「見下げ図」のいずれかであるかを示す情報である。「見上げ図」は、展開図がトンネルの内壁をトンネル内で撮像して得られる複数の画像を繋ぎ合せた展開画像であることを示す。また、「見下げ図」は、見上げ図を反転させた展開画像であり、トンネルの内壁をトンネル外からみた場合の展開画像である。図7に示す例では、トンネルの展開画像が見下げ図であることを示している。   The “image state” is information indicating whether the developed image of the tunnel is “looking up” or “looking down”. The “look-up view” indicates that the developed view is a developed image obtained by connecting a plurality of images obtained by imaging the inner wall of the tunnel in the tunnel. The “look-down view” is a developed image obtained by inverting the look-up view, and is a developed image when the inner wall of the tunnel is viewed from outside the tunnel. In the example shown in FIG. 7, the developed image of the tunnel is a look-down view.

図8は、実施の形態1にかかる見上げ図と見下げ図との関係を説明するための図である。図8に示す例では、説明を分かりやすくするために、トンネルの内壁に生じるひびなどの変状を便宜的に「2」の文字と「5」の文字とで表現している。また、図8に示す例では、トンネルの入口の右端を「a1」とし、トンネルの入口の左端を「b1」とし、トンネルの出口の右端を「a2」とし、トンネルの出口の左端を「b2」としている。   FIG. 8 is a diagram for explaining the relationship between the look-up view and the look-down view according to the first embodiment. In the example shown in FIG. 8, in order to make the explanation easy to understand, the deformation such as a crack generated on the inner wall of the tunnel is expressed by the characters “2” and “5” for convenience. In the example shown in FIG. 8, the right end of the tunnel entrance is “a1”, the left end of the tunnel entrance is “b1”, the right end of the tunnel exit is “a2”, and the left end of the tunnel exit is “b2”. "

トンネルの内壁の画像をトンネルの左端b1,b2を基準として展開することでトンネルの見上げ図が得られる。かかる見上げ図では、「2」の文字が180度回転した状態である。したがって、図8に示す見上げ図から「2」の文字を含む範囲をそのまま切り出した場合、かかる切り出し画像は、点検員が実際の構造物を撮像して得られる撮像画像と向きが異なる画像になる。   By developing the image of the inner wall of the tunnel with reference to the left ends b1 and b2 of the tunnel, a top view of the tunnel can be obtained. In this look-up view, the character “2” is rotated 180 degrees. Therefore, when the range including the character “2” is cut out as it is from the look-up view shown in FIG. 8, the cut-out image is an image having a different orientation from the picked-up image obtained by the inspector picking up the actual structure. .

また、トンネルの内壁の画像をトンネルの右端a1,a2を基準として展開することでトンネルの見下げ図が得られる。かかる見下げ図では、「2」の文字が左右反転した状態であり、また、「5」の文字が180度回転し且つ反転した状態である。したがって、図8に示す見下げ図から「2」の文字または「5」の文字を含む範囲をそのまま切り出した場合、かかる切り出し画像は、点検員が実際の構造物を撮像して得られる撮像画像と向きが異なるものになる。   In addition, the image of the inner wall of the tunnel is developed with reference to the right ends a1 and a2 of the tunnel as a reference, so that a top-down view of the tunnel can be obtained. In such a look-down view, the character “2” is reversed left and right, and the character “5” is rotated 180 degrees and reversed. Therefore, when the range including the character “2” or the character “5” is cut out as it is from the perspective view shown in FIG. 8, such a cut-out image is a picked-up image obtained by an inspector picking up an actual structure. The direction will be different.

図9は、実施の形態1にかかるトンネルの展開画像の一例を示す図である。図9に示すトンネルの展開画像は、X軸がトンネル軸ベクトルと一致するように生成される。図9に示す展開画像では、トンネルの内壁に生じた変状のみが示されているが、トンネルの展開画像には、トンネルの内壁の色なども含まれる。また、トンネルの内壁に照明機器およびファンなどが取り付けられている場合、トンネルの展開画像には、照明機器およびファンなどを示す画像なども含まれる場合がある。なお、トンネルの内壁に生じる変状には、例えば、ひびまたは剥離などである。FIG. 9 is a diagram illustrating an example of a developed image of the tunnel according to the first embodiment. The developed image of the tunnel shown in FIG. 9 is generated so that the Xd axis coincides with the tunnel axis vector. In the developed image shown in FIG. 9, only the deformation that has occurred on the inner wall of the tunnel is shown. However, the developed image of the tunnel includes the color of the inner wall of the tunnel. In addition, when a lighting device and a fan are attached to the inner wall of the tunnel, the developed image of the tunnel may include an image showing the lighting device and the fan. The deformation that occurs on the inner wall of the tunnel is, for example, cracking or peeling.

図10は、実施の形態1にかかるマッピングデータテーブルの一例を示す図である。図10に示すマッピングデータテーブル44には、「X座標」、「Y座標」、「Z座標」、「X座標」、および「Y座標」を含むデータが複数含まれる。「X座標」、「Y座標」、および「Z座標」は、上述したXYZ座標系における3次元座標である。すなわち、「X座標」は、XYZ座標系におけるX座標であり、「Y座標」は、XYZ座標系におけるY座標であり、「Z座標」は、XYZ座標系におけるZ座標である。また、「X座標」および「Y座標」は、上述したX座標系における2次元座標である。すなわち、「X座標」は、X座標系におけるX座標であり、「Y座標」は、X座標系におけるY座標である。FIG. 10 is a diagram illustrating an example of the mapping data table according to the first embodiment. The mapping data table 44 shown in FIG. 10 includes a plurality of data including “X coordinate”, “Y coordinate”, “Z coordinate”, “X d coordinate”, and “Y d coordinate”. “X coordinate”, “Y coordinate”, and “Z coordinate” are three-dimensional coordinates in the XYZ coordinate system described above. That is, “X coordinate” is the X coordinate in the XYZ coordinate system, “Y coordinate” is the Y coordinate in the XYZ coordinate system, and “Z coordinate” is the Z coordinate in the XYZ coordinate system. Further, “X d coordinate” and “Y d coordinate” are two-dimensional coordinates in the above-described X d Y d coordinate system. That is, "X d coordinates" is X d coordinates in X d Y d coordinate system, "Y d coordinates" is Y d coordinates in X d Y d coordinate system.

図10に示す例では、XYZ座標系における3次元座標「x1,y1,z1」は、X座標系における2次元座標「xα,yα」に対応する。XYZ座標系における3次元座標「x2,y2,z2」は、X座標系における2次元座標「xβ,yβ」に対応する。XYZ座標系における3次元座標「xn,yn,zn」は、X座標系における2次元座標「xζ,yζ」に対応する。In the example illustrated in FIG. 10, the three-dimensional coordinates “x1, y1, z1” in the XYZ coordinate system correspond to the two-dimensional coordinates “x d α, y d α” in the X d Y d coordinate system. The three-dimensional coordinates “x2, y2, z2” in the XYZ coordinate system correspond to the two-dimensional coordinates “x d β, y d β” in the X d Y d coordinate system. The three-dimensional coordinates “xn, yn, zn” in the XYZ coordinate system correspond to the two-dimensional coordinates “x d ζ, y d ζ” in the X d Y d coordinate system.

図11は、実施の形態1にかかる切り出し画像データテーブルの一例を示す図である。図11に示す切り出し画像データテーブル45には、「画像ID」、「切り出し画像」、「画像状態」、および「座標範囲」を含む切り出し画像のデータが複数含まれる。「画像ID」は、切り出し画像の識別情報である。「切り出し画像」は、切り出し画像の画像データである。「画像状態」は、切り出し画像が見上げ図の画像であるか見下げ図の画像であるかを示す情報である。「座標範囲」は、展開画像における切り出し画像の座標範囲を示す座標情報であり、X座標範囲と、Y座標範囲が含まれる。FIG. 11 is a diagram illustrating an example of a cut-out image data table according to the first embodiment. The cutout image data table 45 illustrated in FIG. 11 includes a plurality of pieces of cutout image data including “image ID”, “cutout image”, “image state”, and “coordinate range”. “Image ID” is identification information of a cut-out image. “Cutout image” is image data of a cutout image. The “image state” is information indicating whether the cut-out image is a look-up image or a look-down image. The “coordinate range” is coordinate information indicating the coordinate range of the clipped image in the developed image, and includes an Xd coordinate range and a Yd coordinate range.

図11に示す例では、画像ID「IM1」の切り出し画像の画像データ、画像状態、および座標範囲は、「aaa.bmp」、「見上げ図」、および「xαmin1,xαmax1,yαmin1,yαmax1」である。座標範囲「xαmin1,xαmax1,yαmin1,yαmax1」は、X座標範囲がxαmin1からxαmax1までの範囲であり、Y座標範囲がyαmin1からyαmax1までの範囲であることを示す。In the example illustrated in FIG. 11, the image data, the image state, and the coordinate range of the cut-out image with the image ID “IM1” are “aaa.bmp”, “look-up view”, and “x d α min1 , x d α max1 , y d α min1 , y d α max1 ”. The coordinate ranges “x d α min1 , x d α max1 , y d α min1 , y d α max1 ” are ranges where the X d coordinate range is from x d α min1 to x d α max1 , and the Y d coordinate range is This indicates a range from y d α min1 to y d α max1 .

また、画像ID「IM2」の切り出し画像の画像データ、画像状態、および座標範囲は、「bbb.bmp」、「見上げ図」、および「xαmin2,xαmax2,yαmin2,yαmax2」である。座標範囲「xαmin2,xαmax2,yαmin2,yαmax2」は、X座標範囲がxαmin2からxαmax2までの範囲であり、Y座標範囲がyαmin2からyαmax2までの範囲であることを示す。The image data, image state, and coordinate range of the cut-out image with the image ID “IM2” are “bbb.bmp”, “look-up view”, and “x d α min2 , x d α max2 , y d α min2 ,” y d α max2 ”. The coordinate ranges “x d α min2 , x d α max2 , y d α min2 , y d α max2 ” are ranges where the X d coordinate range is from x d α min2 to x d α max2 , and the Y d coordinate range is It indicates that the y d alpha min2 range up y d alpha max2.

図12は、実施の形態1にかかる変状データテーブルの一例を示す図である。図12に示す変状データテーブル46には、「変状ID」および「変状範囲」を含む変状のデータである変状データが複数含まれる。「変状範囲」は、展開画像における変状の座標範囲を示す座標情報であり、X座標範囲と、Y座標範囲が含まれる。FIG. 12 is a diagram illustrating an example of a deformed data table according to the first embodiment. The deformation data table 46 illustrated in FIG. 12 includes a plurality of pieces of deformation data that are deformation data including “deformation ID” and “deformation range”. The “deformation range” is coordinate information indicating a coordinate range of deformation in the developed image, and includes an Xd coordinate range and a Yd coordinate range.

図12に示す例では、変状ID「DF1」の変状範囲は、「xβmin1,xβmax1,yβmin1,yβmax1」である。変状範囲「xβmin1,xβmax1,yβmin1,yβmax1」は、X座標範囲がxβmin1からxβmax1までの範囲であり、Y座標範囲がyβmin1からyβmax1までの範囲であることを示す。変状ID「DF2」の変状範囲は、「xβmin2,xβmax2,yβmin2,yβmax2」である。座標範囲「xβmin2,xβmax2,yβmin2,yβmax2」は、X座標範囲がxβmin2からxβmax2までの範囲であり、Y座標範囲がyβmin2からyβmax2までの範囲であることを示す。In the example shown in FIG. 12, Deformation range Henjo ID "DF1" is "x d β min1, x d β max1, y d β min1, y d β max1 ". The deformation ranges “x d β min1 , x d β max1 , y d β min1 , y d β max1 ” are ranges where the X d coordinate range is from x d β min1 to x d β max1 , and the Y d coordinate range Is in the range from y d β min1 to y d β max1 . Strange-shaped range of Henjo ID "DF2" is "x d β min2, x d β max2, y d β min2, y d β max2 ". The coordinate ranges “x d β min2 , x d β max2 , y d β min2 , y d β max2 ” are ranges where the X d coordinate range is from x d β min2 to x d β max2 , and the Y d coordinate range is This indicates a range from y d β min2 to y d β max2 .

なお、図12に示す変状データテーブル46は、変状の範囲を示す座標情報を含むが、変状データテーブル46の座標情報は、変状の範囲を示す座標情報でなくてもよい。例えば、変状データテーブル46の座標情報は、変状の中心位置を示す座標の情報または変状上の複数の座標の情報であってもよい。また、変状データテーブル46の座標情報は、変状上の複数の座標の情報とかかる複数の座標のうち互いに隣接する座標間を接続する複数のベクトルの情報とを含むベクトル情報であってもよい。   Note that the deformation data table 46 illustrated in FIG. 12 includes coordinate information indicating the deformation range, but the coordinate information of the deformation data table 46 may not be coordinate information indicating the deformation range. For example, the coordinate information of the deformation data table 46 may be information on coordinates indicating the center position of the deformation or information on a plurality of coordinates on the deformation. Further, the coordinate information of the deformation data table 46 may be vector information including information on a plurality of coordinates on the deformation and information on a plurality of vectors connecting adjacent coordinates among the plurality of coordinates. Good.

図3に戻って、画像生成装置1の制御部20を説明する。図3に示すように、制御部20は、入力受付部21と、表示処理部22と、選択位置判定部23と、視点位置判定部24と、画像処理部25と、画像出力部26と、視点位置決定部27と、変状データ編集部28と、変状台帳生成部29と、変状展開図生成部40とを備える。   Returning to FIG. 3, the control unit 20 of the image generation apparatus 1 will be described. As shown in FIG. 3, the control unit 20 includes an input receiving unit 21, a display processing unit 22, a selection position determination unit 23, a viewpoint position determination unit 24, an image processing unit 25, an image output unit 26, A viewpoint position determination unit 27, a deformation data editing unit 28, a deformation ledger generation unit 29, and a deformation development diagram generation unit 40 are provided.

入力受付部21は、入力部3へ入力されるユーザ操作を受け付ける。入力部3は例えばマウスまたはキーボードである。ユーザ操作は、ユーザによる入力部3へ入力される操作であり、例えば、マウスの移動操作、およびマウスへのクリック操作などが含まれる。また、入力部3は、表示部2上に配置されるタッチパネルであってもよい。以下、入力部3へ入力されるユーザ操作を単にユーザ操作と記載する場合がある。   The input receiving unit 21 receives a user operation input to the input unit 3. The input unit 3 is, for example, a mouse or a keyboard. The user operation is an operation input to the input unit 3 by the user, and includes, for example, a mouse movement operation and a mouse click operation. The input unit 3 may be a touch panel arranged on the display unit 2. Hereinafter, a user operation input to the input unit 3 may be simply referred to as a user operation.

表示処理部22は、記憶部10に記憶されたデータなどに基づいて、ユーザ操作に応じた画像を表示部2に表示する。例えば、表示処理部22は、ユーザ操作によって3次元点群の画像を表示する指示がある場合、記憶部10に記憶されたトンネルの3次元点群データに基づいて、トンネルの3次元点群の画像を表示部2に表示することができる。また、表示処理部22は、入力受付部21へのユーザ操作に基づいて、画像処理部25によって生成された切り出し画像を表示部2に表示することができる。   The display processing unit 22 displays an image corresponding to a user operation on the display unit 2 based on the data stored in the storage unit 10. For example, when there is an instruction to display an image of a 3D point cloud by a user operation, the display processing unit 22 determines the 3D point cloud of the tunnel based on the 3D point cloud data of the tunnel stored in the storage unit 10. An image can be displayed on the display unit 2. Further, the display processing unit 22 can display the cut-out image generated by the image processing unit 25 on the display unit 2 based on a user operation on the input receiving unit 21.

図13は、実施の形態1にかかる表示処理部による3次元点群の画像の表示部への表示処理を説明するための図である。表示処理部22は、図13に示す視点位置および視線方向に基づいて、かかる視点位置および視線方向からトンネルの3次元点群をみた場合におけるトンネルの3次元点群の画像を生成し、生成した3次元点群の画像を表示部2に表示する。図13に示す視点位置および視線方向は、ユーザ操作によって変更される。表示処理部22は、視点位置および視線方向が変更される毎に、変更された視点位置および視線方向に基づいて、トンネルの3次元点群の画像を生成し、生成した3次元点群の画像を表示部2に表示する。   FIG. 13 is a diagram for explaining the display processing of the image of the three-dimensional point group on the display unit by the display processing unit according to the first embodiment. Based on the viewpoint position and line-of-sight direction shown in FIG. 13, the display processing unit 22 generates an image of the tunnel three-dimensional point group when the tunnel three-dimensional point group is viewed from the viewpoint position and line-of-sight direction. An image of the three-dimensional point group is displayed on the display unit 2. The viewpoint position and the line-of-sight direction shown in FIG. 13 are changed by a user operation. The display processing unit 22 generates an image of the three-dimensional point cloud of the tunnel based on the changed viewpoint position and line-of-sight direction every time the viewpoint position and line-of-sight direction are changed, and generates the generated three-dimensional point group image. Is displayed on the display unit 2.

図3に示す選択位置判定部23は、表示部2に表示されたトンネルの3次元点群に含まれる3次元点がユーザ操作によって選択された場合、選択された3次元点のXYZ座標系における座標に対応する展開画像上の座標を判定する。   When a three-dimensional point included in the three-dimensional point group of the tunnel displayed on the display unit 2 is selected by a user operation, the selection position determination unit 23 illustrated in FIG. 3 has the selected three-dimensional point in the XYZ coordinate system. The coordinates on the developed image corresponding to the coordinates are determined.

例えば、3次元点群データテーブル41が図4に示す状態であり、マッピングデータテーブル44が図10に示す状態であるとする。この場合、3次元点ID「P1」の3次元点におけるXYZ座標系の3次元座標は、「x1,y1,z1」であり、XYZ座標系の3次元座標「x1,y1,z1」に対応する展開画像上の座標は、X座標系の2次元座標「xα,yα」である。選択位置判定部23は、ユーザ操作によって選択された3次元点が図4に示す3次元点ID「P1」の3次元点である場合、展開画像上の座標が「xα,yα」であると判定する。For example, assume that the three-dimensional point cloud data table 41 is in the state shown in FIG. 4 and the mapping data table 44 is in the state shown in FIG. In this case, the three-dimensional coordinates of the XYZ coordinate system at the three-dimensional point with the three-dimensional point ID “P1” are “x1, y1, z1”, and correspond to the three-dimensional coordinates “x1, y1, z1” of the XYZ coordinate system. The coordinates on the developed image are the two-dimensional coordinates “x d α, y d α” of the X d Y d coordinate system. When the three-dimensional point selected by the user operation is the three-dimensional point with the three-dimensional point ID “P1” illustrated in FIG. 4, the selection position determination unit 23 sets the coordinates on the developed image to “x d α, y d α. Is determined.

また、3次元点ID「P2」の3次元点におけるXYZ座標系の3次元座標は、「x2,y2,z2」であり、XYZ座標系の3次元座標「x2,y2,z2」に対応する展開画像上の座標は、X座標系の2次元座標「xβ,yβ」である。選択位置判定部23は、ユーザ操作によって選択された3次元点が図4に示す3次元点ID「P2」の3次元点である場合、展開画像上の座標が「xβ,yβ」であると判定する。The three-dimensional coordinates of the XYZ coordinate system at the three-dimensional point with the three-dimensional point ID “P2” are “x2, y2, z2”, and correspond to the three-dimensional coordinates “x2, y2, z2” of the XYZ coordinate system. The coordinates on the developed image are two-dimensional coordinates “x d β, y d β” in the X d Y d coordinate system. When the three-dimensional point selected by the user operation is the three-dimensional point with the three-dimensional point ID “P2” illustrated in FIG. 4, the selection position determination unit 23 sets the coordinates on the developed image to “x d β, y d β. Is determined.

なお、選択位置判定部23は、例えば、マウスへのクリック操作があったときのカーソルが指す位置に3次元点がある場合、かかる3次元点をユーザ操作によって選択された3次元点と判定する。また、選択位置判定部23は、カーソルが指す位置に3次元点がない場合、カーソルが指す位置に最も近い3次元点をユーザ操作によって選択された3次元点として決定する。ユーザ操作によって選択される3次元点は、複数であってもよい。この場合、選択位置判定部23は、ユーザ操作によって指定された範囲にある複数の3次元点をユーザ操作によって選択される3次元点と判定することができる。   For example, when there is a three-dimensional point at the position pointed to by the cursor when the mouse is clicked, the selection position determination unit 23 determines the three-dimensional point as a three-dimensional point selected by the user operation. . In addition, when there is no 3D point at the position pointed to by the cursor, the selection position determination unit 23 determines the 3D point closest to the position pointed to by the cursor as the 3D point selected by the user operation. There may be a plurality of three-dimensional points selected by a user operation. In this case, the selection position determination unit 23 can determine a plurality of three-dimensional points in the range specified by the user operation as three-dimensional points selected by the user operation.

視点位置判定部24は、ユーザ操作によって指定された視点位置のトンネルに対する位置関係として、視点位置がトンネルの内部の位置かトンネルの外部の位置かを判定する。図14は、実施の形態1にかかる視点位置のトンネルに対する位置関係を説明するための図である。図14に示すように、選択位置判定部23は、視点位置がトンネルの内壁に囲まれていない位置にある場合、視点位置がトンネルの外部の位置であると判定する。また、選択位置判定部23は、視点位置がトンネルの内壁に囲まれた位置にある場合、視点位置がトンネルの内部の位置であると判定する。   The viewpoint position determination unit 24 determines whether the viewpoint position is a position inside the tunnel or a position outside the tunnel as a positional relationship with respect to the tunnel at the viewpoint position designated by the user operation. FIG. 14 is a diagram for explaining the positional relationship of the viewpoint position with respect to the tunnel according to the first embodiment. As shown in FIG. 14, when the viewpoint position is at a position not surrounded by the inner wall of the tunnel, the selected position determination unit 23 determines that the viewpoint position is a position outside the tunnel. The selection position determination unit 23 determines that the viewpoint position is a position inside the tunnel when the viewpoint position is at a position surrounded by the inner wall of the tunnel.

視点位置判定部24は、3次元点群データとベクトル軸データとを用いて、視点位置がトンネルの内部の位置かトンネルの外部の位置かを判定することができる。例えば、視点位置判定部24は、視点位置を含みトンネル軸ベクトルの向きと直交する平面である投影用平面との距離が予め設定された範囲内の3次元点群の複数の3次元点を投影用平面に投影する。視点位置判定部24は、投影用平面に投影された複数の3次元点に基づいて、視点位置がトンネルの内部の位置か外部の位置かを判定する。   The viewpoint position determination unit 24 can determine whether the viewpoint position is a position inside the tunnel or a position outside the tunnel using the three-dimensional point cloud data and the vector axis data. For example, the viewpoint position determination unit 24 projects a plurality of three-dimensional points of a three-dimensional point group within a range in which a distance from a projection plane that includes the viewpoint position and is orthogonal to the direction of the tunnel axis vector is set in advance. Project to the plane. The viewpoint position determination unit 24 determines whether the viewpoint position is an internal position or an external position based on a plurality of three-dimensional points projected on the projection plane.

図15は、実施の形態1にかかる視点位置判定部による視点位置のトンネルに対する位置関係を判定するための処理を説明するための図である。まず、視点位置判定部24は、トンネル軸ベクトルがY軸方向に一致するように、トンネル軸ベクトルに基づいて3次元点群データに含まれる各3次元点の座標を変換する。なお、視点位置判定部24は、トンネル軸ベクトルがY軸方向に一致している場合、3次元点群データの変換は行わない。   FIG. 15 is a diagram for explaining processing for determining the positional relationship of the viewpoint position with respect to the tunnel by the viewpoint position determination unit according to the first embodiment. First, the viewpoint position determination unit 24 converts the coordinates of each three-dimensional point included in the three-dimensional point group data based on the tunnel axis vector so that the tunnel axis vector matches the Y-axis direction. Note that the viewpoint position determination unit 24 does not convert the three-dimensional point group data when the tunnel axis vector matches the Y-axis direction.

次に、視点位置判定部24は、図15に示すように、視点位置を含み且つトンネル軸ベクトルに対して直交する直交平面G1を設定する。また、視点位置判定部24は、トンネル軸ベクトルの向きに沿った方向において直交平面G1と前後に予め定められた距離離れた平面G2,G3を設定する。視点位置判定部24は、3次元点群に含まれる複数の3次元点のうち平面G2と平面G3とに囲まれた複数の3次元点を抽出する。   Next, as shown in FIG. 15, the viewpoint position determination unit 24 sets an orthogonal plane G1 that includes the viewpoint position and is orthogonal to the tunnel axis vector. The viewpoint position determination unit 24 sets planes G2 and G3 that are separated by a predetermined distance from the orthogonal plane G1 in the direction along the direction of the tunnel axis vector. The viewpoint position determination unit 24 extracts a plurality of 3D points surrounded by the plane G2 and the plane G3 from among a plurality of 3D points included in the 3D point group.

視点位置判定部24は、抽出した複数の3次元点を直交平面G1に投影し、直交平面G1に投影した複数の3次元点を直線化する。例えば、視点位置判定部24は、直交平面G1に投影した複数の3次元点を最小二乗法によって直線化する。視点位置判定部24は、直交平面G1において視点位置が、直線化により得られる直線で囲まれているか否かを判定する。視点位置判定部24は、視点位置が直線で囲まれている場合に、視点位置がトンネルの内部の位置であると判定し、視点位置が直線で囲まれていない場合に、視点位置がトンネルの外部の位置であると判定する。   The viewpoint position determination unit 24 projects the extracted plurality of three-dimensional points on the orthogonal plane G1, and linearizes the plurality of three-dimensional points projected on the orthogonal plane G1. For example, the viewpoint position determination unit 24 linearizes a plurality of three-dimensional points projected on the orthogonal plane G1 by the least square method. The viewpoint position determination unit 24 determines whether or not the viewpoint position is surrounded by a straight line obtained by linearization in the orthogonal plane G1. The viewpoint position determination unit 24 determines that the viewpoint position is a position inside the tunnel when the viewpoint position is surrounded by a straight line, and if the viewpoint position is not surrounded by a straight line, the viewpoint position is the tunnel position. It is determined that the position is outside.

図3に示す画像処理部25は、選択位置判定部23によって判定された展開画像上の座標である選択位置と、視点位置判定部24によって判定された視点位置のトンネルに対する位置関係とに基づいて、切り出し画像を生成し、生成した切り出し画像を出力する。具体的には、画像処理部25は、選択位置と視点位置のトンネルに対する位置関係とに基づいて、選択位置を含む切り出し範囲の画像を展開画像から切り出す処理と、切り出し範囲の画像の回転処理および反転処理の少なくとも一つの処理とを行って、切り出し画像を生成し、生成した切り出し画像を出力画像として出力する。   The image processing unit 25 shown in FIG. 3 is based on the selection position that is the coordinates on the developed image determined by the selection position determination unit 23 and the positional relationship of the viewpoint position determined by the viewpoint position determination unit 24 with respect to the tunnel. Then, a cutout image is generated, and the generated cutout image is output. Specifically, the image processing unit 25 performs a process of cutting out an image of the cutout range including the selection position from the developed image, a rotation process of the image of the cutout range, based on the positional relationship between the selection position and the viewpoint position with respect to the tunnel. At least one of the inversion processes is performed to generate a cutout image, and the generated cutout image is output as an output image.

ここで、回転または反転と選択位置との関係を説明する。図16は、実施の形態1にかかる画像処理部による画像処理を説明するための図である。図17は、実施の形態1にかかる画像処理部で用いられる閾値と展開画像との関係の一例を示す図である。   Here, the relationship between the rotation or inversion and the selection position will be described. FIG. 16 is a diagram for explaining image processing by the image processing unit according to the first embodiment. FIG. 17 is a diagram illustrating an example of a relationship between a threshold value used in the image processing unit according to the first embodiment and a developed image.

図16に示すように、画像処理部25は、選択位置が属する範囲、画像の切り出しに用いるトンネルの展開画像の画像状態、および出力画像にする切り出し画像の画像状態に基づいて、トンネルの展開画像から切り出す画像の処理を行う。図16では、選択位置判定部23によって判定された選択位置のY座標を「Ysel」としており、以下、選択位置座標Yselと記載する。また、図17に示すX軸正方向を右方向とし、X軸負方向を左方向とし、Y軸正方向を下方向とし、Y軸負方向を上方向とする。また、後述する回転は、右回りの回転であるとする。As illustrated in FIG. 16, the image processing unit 25 develops the tunnel development image based on the range to which the selected position belongs, the image state of the development image of the tunnel used to cut out the image, and the image state of the cutout image to be output. The image cut out from the image is processed. In FIG. 16, the Y coordinate of the selected position determined by the selected position determining unit 23 is “Y d sel”, and is hereinafter referred to as a selected position coordinate Y d sel. Also, the Xd- axis positive direction shown in FIG. 17 is the rightward direction, the Xd- axis negative direction is the leftward direction, the Yd- axis positive direction is the downward direction, and the Yd- axis negative direction is the upward direction. Further, the rotation described later is assumed to be clockwise rotation.

ここで、画像状態が見上げ図であるトンネルの展開画像が用いられ且つ出力画像の画像状態がユーザ操作によって見上げ図に指定されたとする。この場合、画像処理部25は、選択位置座標Yselが第1閾値Yth1以下であれば、選択位置を含む切り出し範囲の画像を180度回転して得られる画像である切り出し画像を出力画像として生成する。また、画像処理部25は、選択位置座標Yselが第1閾値Yth1より大きく且つ第2閾値Yth2以下であれば、選択位置を含む切り出し範囲の画像を90度回転して得られる画像である切り出し画像を出力画像として生成する。また、画像処理部25は、選択位置座標Yselが第2閾値Yth2よりも大きければ、選択位置を含む切り出し範囲の画像である切り出し画像をそのまま出力画像として生成する。展開画像と第1閾値Yth1および第2閾値Yth2との関係は図17に示す状態である。Here, it is assumed that a developed image of a tunnel whose image state is a look-up view is used and the image state of the output image is designated as a look-up view by a user operation. In this case, if the selected position coordinate Y d sel is equal to or smaller than the first threshold value Y d th1, the image processing unit 25 outputs a clipped image that is an image obtained by rotating the image of the clipped range including the selected position by 180 degrees. Generate as an image. Further, the image processing unit 25 obtains the image of the cutout range including the selected position by rotating 90 degrees if the selected position coordinate Y d sel is larger than the first threshold Y d th1 and equal to or smaller than the second threshold Y d th2. A cut-out image that is a generated image is generated as an output image. Further, if the selected position coordinate Y d sel is larger than the second threshold Y d th2, the image processing unit 25 generates a cutout image that is an image of the cutout range including the selected position as an output image as it is. The relationship between the developed image and the first threshold value Y d th1 and the second threshold value Y d th2 is as shown in FIG.

また、画像状態が見上げ図であるトンネルの展開画像が用いられ且つ出力画像の画像状態がユーザ操作によって見下げ図に指定されたとする。この場合、画像処理部25は、選択位置座標Yselが第1閾値Yth1以下であれば、選択位置を含む切り出し範囲の画像を上下反転して得られる画像である切り出し画像を出力画像として生成する。また、画像処理部25は、選択位置座標Yselが第1閾値Yth1より大きく且つ第2閾値Yth2以下であれば、選択位置を含む切り出し範囲の画像を270度回転し且つ左右反転して得られる画像である切り出し画像を出力画像として生成する。また、画像処理部25は、選択位置座標Yselが第2閾値Yth2よりも大きければ、選択位置を含む切り出し範囲の画像を左右反転して得られる画像である切り出し画像を出力画像として生成する。Further, it is assumed that a developed image of a tunnel whose image state is a look-up view is used and the image state of the output image is designated as a look-down view by a user operation. In this case, if the selected position coordinate Y d sel is equal to or smaller than the first threshold value Y d th1, the image processing unit 25 outputs a clipped image that is an image obtained by vertically inverting the image of the clipped range including the selected position. Generate as Further, the image processing unit 25 rotates the image of the cutout range including the selection position by 270 degrees and the left and right if the selection position coordinate Y d sel is greater than the first threshold Y d th1 and less than or equal to the second threshold Y d th2. A cut-out image that is an image obtained by inverting is generated as an output image. Further, if the selected position coordinate Y d sel is larger than the second threshold Y d th2, the image processing unit 25 outputs, as an output image, a clipped image that is an image obtained by reversing the image of the clipped range including the selected position. Generate.

また、画像状態が見下げ図であるトンネルの展開画像が用いられ且つ出力画像の画像状態がユーザ操作によって見上げ図に指定されたとする。この場合、画像処理部25は、選択位置座標Yselが第1閾値Yth1以下であれば、選択位置を含む切り出し範囲の画像を上下反転して得られる画像である切り出し画像を出力画像として生成する。また、画像処理部25は、選択位置座標Yselが第1閾値Yth1より大きく且つ第2閾値Yth2以下であれば、選択位置を含む切り出し範囲の画像を90度回転し且つ左右反転して得られる画像である切り出し画像を出力画像として生成する。また、画像処理部25は、選択位置座標Yselが第2閾値Yth2よりも大きければ、選択位置を含む切り出し範囲の画像を左右反転して得られる画像である切り出し画像を出力画像として生成する。Further, it is assumed that a developed image of a tunnel whose image state is a look-down view is used and the image state of the output image is designated as a look-up view by a user operation. In this case, if the selected position coordinate Y d sel is equal to or smaller than the first threshold value Y d th1, the image processing unit 25 outputs a clipped image that is an image obtained by vertically inverting the image of the clipped range including the selected position. Generate as In addition, the image processing unit 25 rotates the image of the cutout range including the selection position by 90 degrees and the left and right if the selection position coordinate Y d sel is greater than the first threshold Y d th1 and less than or equal to the second threshold Y d th2. A cut-out image that is an image obtained by inverting is generated as an output image. Further, the image processing unit 25, the larger the selected position coordinate Y d sel than the second threshold value Y d th2, as an output image clipped image is an image obtained by horizontally inverting the image of the cut-out range including the selected location Generate.

また、画像状態が見下げ図であるトンネルの展開画像が用いられ且つ出力画像の画像状態がユーザ操作によって見下げ図に指定されたとする。この場合、画像処理部25は、選択位置座標Yselが第1閾値Yth1以下であれば、選択位置を含む切り出し範囲の画像を180度回転して得られる画像である切り出し画像を出力画像として生成する。また、画像処理部25は、選択位置座標Yselが第1閾値Yth1より大きく且つ第2閾値Yth2以下であれば、選択位置を含む切り出し範囲の画像を270度回転して得られる画像である切り出し画像を出力画像として生成する。また、画像処理部25は、選択位置座標Yselが第2閾値Yth2よりも大きければ、選択位置を含む切り出し範囲の画像である切り出し画像をそのまま出力画像として生成する。Further, it is assumed that a developed image of a tunnel whose image state is a look-down view is used and the image state of the output image is designated as a look-down view by a user operation. In this case, if the selected position coordinate Y d sel is equal to or smaller than the first threshold value Y d th1, the image processing unit 25 outputs a clipped image that is an image obtained by rotating the image of the clipped range including the selected position by 180 degrees. Generate as an image. Further, the image processing unit 25 obtains the image of the cutout range including the selected position by rotating 270 degrees if the selected position coordinate Y d sel is larger than the first threshold Y d th1 and equal to or smaller than the second threshold Y d th2. A cut-out image that is a generated image is generated as an output image. Further, if the selected position coordinate Y d sel is larger than the second threshold Y d th2, the image processing unit 25 generates a cutout image that is an image of the cutout range including the selected position as an output image as it is.

画像処理部25は、生成した出力画像のデータを記憶部10に記憶することができる。例えば、画像処理部25は、出力画像を切り出し画像として切り出し画像データテーブル45に追加することができる。この場合、画像処理部25は、出力画像のデータ、出力画像の画像状態のデータ、出力画像の座標範囲のデータ、および新たな画像IDを含むデータを切り出し画像のデータとして切り出し画像データテーブル45に追加することができる。   The image processing unit 25 can store the generated output image data in the storage unit 10. For example, the image processing unit 25 can add the output image to the cut-out image data table 45 as a cut-out image. In this case, the image processing unit 25 uses the output image data, the image state data of the output image, the coordinate range data of the output image, and the data including the new image ID as the cut image data in the cut image data table 45. Can be added.

また、画像処理部25は、生成した出力画像のデータを表示処理部22へ出力し、表示処理部22によって出力画像を表示部2に表示させることができる。また、画像処理部25は、生成した出力画像のデータを画像出力部26へ出力し、画像出力部26によって出力画像のデータを通信部30から外部の装置へ送信させることもできる。通信部30は、例えば、LAN(Local Area Network)またはWAN(Wide Area Network)などのネットワークに有線または無線によって接続されており、かかるネットワークを介して外部の装置と通信を行うことができる。   In addition, the image processing unit 25 can output the generated output image data to the display processing unit 22, and the display processing unit 22 can display the output image on the display unit 2. The image processing unit 25 can also output the generated output image data to the image output unit 26, and cause the image output unit 26 to transmit the output image data from the communication unit 30 to an external device. The communication unit 30 is connected to a network such as a LAN (Local Area Network) or a WAN (Wide Area Network) by wire or wirelessly, and can communicate with an external device via the network.

このように、画像処理部25は、選択位置判定部23によって判定された展開画像上の座標である選択位置と、視点位置判定部24によって判定された視点位置のトンネルに対する位置関係とに基づいて、切り出し画像を生成することができる。そのため、例えば、出力画像の画像状態が見上げ図である場合、展開画像から切り出される切り出し画像を、例えば点検員が実際の構造物を撮像して得られる撮像画像と同じ状態にすることができる。したがって、画像生成装置1によって生成される切り出し画像を点検員は直感的に把握することができ、トンネルの点検および状態の把握を効率的に行うことができる。なお、上述した例では、出力画像の画像状態は、ユーザ操作によって指定されるが、出力画像の画像状態は、見上げ図に固定されていてもよく、また、見下げ図に固定されていてもよい。   As described above, the image processing unit 25 is based on the selection position that is the coordinates on the developed image determined by the selection position determination unit 23 and the positional relationship of the viewpoint position determined by the viewpoint position determination unit 24 with respect to the tunnel. A cut-out image can be generated. Therefore, for example, when the image state of the output image is a look-up view, the cut-out image cut out from the developed image can be set to the same state as a picked-up image obtained by, for example, an inspector imaging an actual structure. Therefore, the inspector can intuitively grasp the cut-out image generated by the image generation apparatus 1, and can efficiently inspect the tunnel and grasp the state. In the above-described example, the image state of the output image is designated by a user operation, but the image state of the output image may be fixed to a look-up view or may be fixed to a look-down view. .

図3に示す視点位置決定部27は、切り出し画像データ記憶部12に記憶された切り出し画像が選択された場合に、切り出し画像の座標と指定された視点位置のトンネルに対する位置関係とに基づいて、トンネルの3次元点群に対する視点位置を決定する。表示処理部22は、視点位置決定部27によって決定された視点位置からトンネルの3次元点群をみた場合のトンネルの3次元点群の画像を表示部2に表示する。   When the clipped image stored in the clipped image data storage unit 12 is selected, the viewpoint position determination unit 27 illustrated in FIG. 3 is based on the coordinates of the clipped image and the positional relationship of the specified viewpoint position with respect to the tunnel. Determine the viewpoint position for the 3D point cloud of the tunnel. The display processing unit 22 displays an image of the tunnel three-dimensional point group when the tunnel three-dimensional point group is viewed from the viewpoint position determined by the viewpoint position determination unit 27 on the display unit 2.

図18は、実施の形態1にかかる切り出し画像の一覧を示す画像の一例を示す図である。図18に示すように、表示処理部22は、切り出し画像データ記憶部12に記憶された切り出し画像のサムネイルを一覧表示した画像である一覧画像50を表示部2に表示する。図18に示す一覧画像50には、画像IDが「IM1」,「IM2」,「IM3」,「IM4」の4つの切り出し画像のサムネイルが含まれる。なお、表示処理部22は、切り出し画像のサムネイルの一覧に代えて、切り出し画像のファイル名の一覧を一覧画像50として表示部2に表示することもできる。   FIG. 18 is a diagram illustrating an example of an image showing a list of cutout images according to the first embodiment. As illustrated in FIG. 18, the display processing unit 22 displays a list image 50 that is an image in which thumbnails of cutout images stored in the cutout image data storage unit 12 are displayed as a list on the display unit 2. The list image 50 shown in FIG. 18 includes thumbnails of four clipped images having image IDs “IM1”, “IM2”, “IM3”, and “IM4”. Note that the display processing unit 22 can also display a list of file names of clipped images on the display unit 2 as a list image 50 instead of a list of thumbnails of clipped images.

視点位置決定部27は、一覧画像50が表示部2に表示されている状態で一覧画像50に含まれる複数の切り出し画像のうち、ユーザ操作によって一つの切り出し画像が選択された場合、トンネルの3次元点群に対する視点位置を決定する。   When one cut-out image is selected by a user operation from among a plurality of cut-out images included in the list image 50 in a state where the list image 50 is displayed on the display unit 2, the viewpoint position determination unit 27 Determine the viewpoint position for the dimension point cloud.

ここで、視点位置決定部27による視点位置の決定処理について具体的に説明する。まず、視点位置決定部27は、ユーザ操作によって選択された切り出し画像の画像データ、画像状態、および座標範囲の各々の情報を切り出し画像データ記憶部12の切り出し画像データテーブル45から取得する。例えば、ユーザ操作によって選択された切り出し画像が画像ID「IM1」の切り出し画像であり、切り出し画像データテーブル45が図11に示す状態であるとする。この場合、視点位置決定部27は、画像データ「aaa.bmp」の情報、画像状態「見上げ図」の情報、および座標範囲「xαmin1,xαmax1,yαmin1,yαmax1」の情報を切り出し画像データテーブル45から取得する。Here, the viewpoint position determination processing by the viewpoint position determination unit 27 will be specifically described. First, the viewpoint position determination unit 27 acquires information about each of the image data, the image state, and the coordinate range of the cutout image selected by the user operation from the cutout image data table 45 of the cutout image data storage unit 12. For example, it is assumed that the cutout image selected by the user operation is a cutout image with the image ID “IM1”, and the cutout image data table 45 is in the state illustrated in FIG. In this case, the viewpoint position determination unit 27 includes information on the image data “aaa.bmp”, information on the image state “look-up view”, and coordinate ranges “x d α min1 , x d α max1 , y d α min1 , y d. Information of “α max1 ” is obtained from the cut-out image data table 45.

次に、視点位置決定部27は、切り出し画像データテーブル45から取得した座標範囲に基づいて、ユーザ操作によって選択された切り出し画像の中心位置に対応するXYZ座標系の3次元座標を注視点として算出する。例えば、視点位置決定部27は、ユーザ操作によって選択された切り出し画像の座標範囲が「xαmin1,xαmax1,yαmin1,yαmax1」である場合、切り出し画像の中心位置「Xd_c,Yd_c」を下記式(1),(2)の演算によって求める。かかる中心位置「Xd_c,Yd_c」は、展開画像における切り出し画像の中心位置の座標であり、X座標系の座標である。
d_c=(xαmin1−xαmax1)/2 ・・・(1)
d_c=(yαmin1−yαmax1)/2 ・・・(2)
Next, the viewpoint position determination unit 27 calculates, based on the coordinate range acquired from the clipped image data table 45, the three-dimensional coordinates of the XYZ coordinate system corresponding to the center position of the clipped image selected by the user operation as the gazing point. To do. For example, when the coordinate range of the clipped image selected by the user operation is “x d α min1 , x d α max1 , y d α min1 , y d α max1 ”, the viewpoint position determination unit 27 determines the center of the clipped image. The position “X d — c , Y d — c ” is obtained by calculation of the following formulas (1) and (2). The center position “X d_c , Y d_c ” is the coordinates of the center position of the clipped image in the developed image, and is the coordinate of the X d Y d coordinate system.
Xd_c = ( xd [ alpha] min1-xd [ alpha] max1 ) / 2 (1)
Y dc = (y d α min1 −y d α max1 ) / 2 (2)

そして、視点位置決定部27は、マッピングデータテーブル44を用いて、切り出し画像の中心位置「Xd_c,Yd_c」に対応するXYZ座標系の3次元座標「x,y,z」を演算する。中心位置「Xd_c,Yd_c」がX座標系の2次元座標「xβ,yβ」であり、マッピングデータテーブル44が図10に示す状態であるとする。この場合、中心位置「Xd_c,Yd_c」に対応するXYZ座標系の3次元座標「x,y,z」は、3次元座標「x2,y2,z2」である。Then, the viewpoint position determination unit 27 uses the mapping data table 44 to obtain the three-dimensional coordinates “x c , y c , z c ” of the XYZ coordinate system corresponding to the center position “X d_c , Y d_c ” of the cut-out image. Calculate. Center position "X d_c, Y d_c" is X d Y d coordinate system the two-dimensional coordinate "x d β, y d β" of a, the mapping data table 44 and a state shown in FIG. 10. In this case, the three-dimensional coordinates “x c , y c , z c ” of the XYZ coordinate system corresponding to the center position “X d_c , Y d_c ” are the three-dimensional coordinates “x2, y2, z2”.

視点位置決定部27は、中心位置「Xd_c,Yd_c」に対応するXYZ座標系の3次元座標がマッピングデータテーブル44にない場合、中心位置「Xd_c,Yd_c」に最も距離が近いX座標系の2次元座標をマッピングデータテーブル44から検索する。視点位置決定部27は、検索により得られたX座標系の2次元座標に関連付けられたXYZ座標系の3次元座標をマッピングデータテーブル44から抽出し3次元座標「x,y,z」に決定する。Viewpoint position determination unit 27, the center position "X d_c, Y d_c" If three-dimensional coordinates of the XYZ coordinate system corresponding to is not in the mapping data table 44, the center position "X d_c, Y d_c" whose distance is close to X d Y Searches the two-dimensional coordinates of the d coordinate system from the mapping data table 44. The viewpoint position determination unit 27 extracts the three-dimensional coordinates of the XYZ coordinate system associated with the two-dimensional coordinates of the X d Y d coordinate system obtained by the search from the mapping data table 44, and extracts the three-dimensional coordinates “x c , y c. , Z c ”.

視点位置決定部27は、切り出し画像データテーブル45から取得した画像状態の情報と、3次元座標「x,y,z」とに基づいて、視点位置を決定する。図19は、実施の形態1にかかる切り出し画像の画像状態が見上げ図である場合において視点位置決定部によって決定される視点位置を説明するための図である。図20は、実施の形態1にかかる切り出し画像の画像状態が見下げ図である場合において視点位置決定部によって決定される視点位置を説明するための図である。The viewpoint position determination unit 27 determines the viewpoint position based on the image state information acquired from the cut-out image data table 45 and the three-dimensional coordinates “x c , y c , z c ”. FIG. 19 is a diagram for explaining the viewpoint position determined by the viewpoint position determination unit when the image state of the cut-out image according to the first embodiment is a look-up view. FIG. 20 is a diagram for explaining the viewpoint position determined by the viewpoint position determination unit when the image state of the cut-out image according to the first embodiment is a look-down view.

視点位置決定部27は、切り出し画像データテーブル45から取得した画像状態が見上げ図である場合、図19に示すように、XYZ座標系において3次元座標「x,y,z」に最も距離が近いトンネル軸ベクトル上の点を視点位置に決定する。When the image state acquired from the cut-out image data table 45 is a look-up view, the viewpoint position determination unit 27 has the highest three-dimensional coordinates “x c , y c , z c ” in the XYZ coordinate system as shown in FIG. A point on the tunnel axis vector with a short distance is determined as the viewpoint position.

また、視点位置決定部27は、切り出し画像データテーブル45から取得した画像状態が見下げ図である場合、図20に示すように、XYZ座標系において3次元座標「x,y,z」に最も距離が近いトンネル軸ベクトル上の点を第1の点とする。そして、視点位置決定部27は、図20に示すように、第1の点からトンネルの外方に向かって設定ベクトルvab分だけ離れた第2の点を視点位置に決定する。Further, when the image state acquired from the cut-out image data table 45 is a look-down view, the viewpoint position determination unit 27 has a three-dimensional coordinate “x c , y c , z c ” in the XYZ coordinate system as illustrated in FIG. 20. Let the point on the tunnel axis vector that is closest to be the first point. Then, as illustrated in FIG. 20, the viewpoint position determination unit 27 determines, as the viewpoint position, a second point that is separated from the first point by the set vector vab toward the outside of the tunnel.

表示処理部22は、視点位置決定部27によって決定された視点位置から注視点へ向かう方向にトンネルの3次元点群をみた場合のトンネルの3次元点群の画像を表示部2に表示する。これにより、表示処理部22は、トンネルの3次元点群のうち、ユーザ操作によって選択された切り出し画像に対応するXYZ座標系の領域の画像を、表示部2に表示させることができる。そのため、画像生成装置1のユーザは、ユーザ操作によって選択された切り出し画像の3次元座標における位置を容易に把握することができ、また、切り出し画像に対応する複数の3次元点を確認することができる。   The display processing unit 22 displays an image of the tunnel three-dimensional point group when the tunnel three-dimensional point group is viewed in the direction from the viewpoint position determined by the viewpoint position determination unit 27 toward the gazing point on the display unit 2. Thereby, the display processing unit 22 can cause the display unit 2 to display an image of the XYZ coordinate system region corresponding to the cut-out image selected by the user operation from the three-dimensional point group of the tunnel. Therefore, the user of the image generation apparatus 1 can easily grasp the position in the three-dimensional coordinates of the cutout image selected by the user operation, and can confirm a plurality of three-dimensional points corresponding to the cutout image. it can.

表示処理部22は、トンネルの3次元点群のうち切り出し画像に対応するXYZ座標系の領域の画像を表示部2に表示させる際に、視点位置に対するトンネルの3次元点群の向きを決定する。例えば、表示処理部22は、切り出し画像の中心位置「Xd_c,Yd_c」およびトンネル軸ベクトルに基づいて、視点位置に対するトンネルの3次元点群の向きを決定する。The display processing unit 22 determines the orientation of the tunnel three-dimensional point group with respect to the viewpoint position when the display unit 2 displays an image of the XYZ coordinate system region corresponding to the cut-out image among the three-dimensional point group of the tunnel. . For example, the display processing unit 22 determines the direction of the three-dimensional point group of the tunnel with respect to the viewpoint position based on the center position “X d — c , Y d — c ” and the tunnel axis vector of the cutout image.

図21は、実施の形態1にかかる表示処理部によるトンネルの3次元点群の向きの決定処理を説明するための図である。図21では、視点位置決定部27によって演算された中心位置「Xd_c,Yd_c」のうちY座標を「Ycn」としており、以下、中心位置座標Ycnと記載する。また、図17に示すX軸正方向を右方向とし、X軸負方向を左方向とし、Y軸正方向を下方向とし、Y軸負方向を上方向とする。FIG. 21 is a diagram for explaining the process of determining the direction of the three-dimensional point group of the tunnel by the display processing unit according to the first embodiment. In Figure 21, the calculated center position by the viewpoint position determination unit 27 "X d_c, Y d_c" has a "Y d cn" from Y coordinates of the, hereinafter referred to as center position coordinates Y d cn. Also, the Xd- axis positive direction shown in FIG. 17 is the rightward direction, the Xd- axis negative direction is the leftward direction, the Yd- axis positive direction is the downward direction, and the Yd- axis negative direction is the upward direction.

ここで、ユーザ操作によって一覧画像50から選択された切り出し画像の画像状態が見上げ図であり、展開画像が見下げ図であるとする。この場合、表示処理部22は、図21に示すように、中心位置座標Ycnが第1閾値Yth1以下であれば、トンネル軸ベクトルの向きが右方向に向いた状態のトンネルの3次元点群の画像を表示画像として表示部2に表示する。表示処理部22は、中心位置座標Ycnが第1閾値Yth1より大きく且つ第2閾値Yth2以下であれば、トンネル軸ベクトルの向きが下方向に向いた状態のトンネルの3次元点群の画像を表示画像として表示部2に表示する。表示処理部22は、中心位置座標Ycnが第2閾値Yth2よりも大きければ、トンネル軸ベクトルの向きが左方向に向いた状態のトンネルの3次元点群の画像を表示画像として表示部2に表示する。Here, it is assumed that the image state of the cut-out image selected from the list image 50 by the user operation is a look-up view, and the developed image is a look-down view. In this case, as shown in FIG. 21, if the center position coordinate Y d cn is equal to or smaller than the first threshold Y d th1, the display processing unit 22 3 of the tunnel in a state where the direction of the tunnel axis vector is directed rightward. The image of the dimension point group is displayed on the display unit 2 as a display image. If the center position coordinate Y d cn is greater than the first threshold value Y d th1 and less than or equal to the second threshold value Y d th2, the display processing unit 22 performs three-dimensional tunneling in a state where the direction of the tunnel axis vector is directed downward. The point cloud image is displayed on the display unit 2 as a display image. If the center position coordinate Y d cn is larger than the second threshold value Y d th2, the display processing unit 22 displays a 3D point cloud image of the tunnel with the tunnel axis vector facing leftward as a display image. Part 2 is displayed.

また、ユーザ操作によって一覧画像50から選択された切り出し画像の画像状態が見下げ図であり、展開画像が見下げ図であるとする。この場合、表示処理部22は、図21に示すように、中心位置座標Ycnが第1閾値Yth1以下であれば、トンネル軸ベクトルの向きが左方向に向いた状態のトンネルの3次元点群の画像を表示画像として表示部2に表示する。表示処理部22は、中心位置座標Ycnが第1閾値Yth1より大きく且つ第2閾値Yth2以下であれば、トンネル軸ベクトルの向きが上方向に向いた状態のトンネルの3次元点群の画像を表示画像として表示部2に表示する。表示処理部22は、中心位置座標Ycnが第2閾値Yth2よりも大きければ、トンネル軸ベクトルの向きが右方向に向いた状態のトンネルの3次元点群の画像を表示画像として表示部2に表示する。Further, it is assumed that the image state of the cut-out image selected from the list image 50 by the user operation is a look-down view, and the developed image is a look-down view. In this case, as shown in FIG. 21, if the center position coordinate Y d cn is equal to or less than the first threshold Y d th1, the display processing unit 22 3 of the tunnel in a state where the direction of the tunnel axis vector is directed leftward. The image of the dimension point group is displayed on the display unit 2 as a display image. If the center position coordinate Y d cn is greater than the first threshold value Y d th1 and less than or equal to the second threshold value Y d th2, the display processing unit 22 performs the three-dimensional tunnel in a state where the direction of the tunnel axis vector is directed upward. The point cloud image is displayed on the display unit 2 as a display image. If the center position coordinate Y d cn is larger than the second threshold value Y d th2, the display processing unit 22 displays a three-dimensional point cloud image of the tunnel in a state where the direction of the tunnel axis vector is directed to the right as a display image. Part 2 is displayed.

このように、表示処理部22は、選択された切り出し画像の画像状態と中心位置「Xd_c,Yd_c」とに基づいて、トンネルの3次元点群の向きを変更した画像を表示部2に表示することができる。そのため、ユーザが切り出し画像に対応する3次元点群の位置を直感的に把握することができる。したがって、トンネルの点検および状態の把握を効率的に行うことができる。例えば、切り出し画像の画像状態が見上げ図である場合、切り出し画像を点検員が撮像すると仮定した場合における点検員が見るトンネルの向きを3次元点群の向きにして表示することができる。As described above, the display processing unit 22 displays an image in which the direction of the three-dimensional point group of the tunnel is changed on the display unit 2 based on the image state of the selected clipped image and the center position “X d_c , Y d_c ”. Can be displayed. Therefore, the user can intuitively grasp the position of the three-dimensional point group corresponding to the clipped image. Therefore, it is possible to efficiently inspect the tunnel and grasp the state. For example, when the image state of the cut-out image is a look-up view, the direction of the tunnel viewed by the inspector when it is assumed that the inspector images the cut-out image can be displayed in the direction of the three-dimensional point group.

また、表示処理部22は、ユーザ操作によって展開画像を表示する指示がある場合、構造物データ記憶部11に記憶されたトンネル軸データテーブル42からユーザ操作によって指定された展開画像を取得し、取得した展開画像を表示部2に表示することができる。画像処理部25は、ユーザ操作によって展開画像の一部の領域と出力画像の画像状態とが選択された場合、上述した切り出し画像の生成処理によって切り出し画像を生成することができる。   In addition, when there is an instruction to display a developed image by a user operation, the display processing unit 22 acquires the developed image specified by the user operation from the tunnel axis data table 42 stored in the structure data storage unit 11 and obtains the acquired image. The developed image can be displayed on the display unit 2. When a partial region of the developed image and the image state of the output image are selected by a user operation, the image processing unit 25 can generate a cut-out image by the cut-out image generation process described above.

例えば、画像処理部25は、ユーザ操作によって選択された領域である選択領域の中心位置のうちY座標と、選択された画像状態とに基づいて、切り出し画像を生成する。具体的には、画像処理部25は、選択領域の画像を展開画像から切り出す処理と選択領域の画像の回転処理および反転処理の少なくとも一つの処理とを行うことで、切り出し画像を生成する。なお、選択領域は、選択位置判定部23によって判定された選択位置を含む予め設定された大きさの領域であってもよい。すなわち、選択領域は、3次元点群のうち選択された3次元点に基づく領域であってもよい。   For example, the image processing unit 25 generates a cut-out image based on the Y coordinate and the selected image state among the center positions of the selected region that is the region selected by the user operation. Specifically, the image processing unit 25 generates a cut-out image by performing a process of cutting out the image of the selected area from the developed image and at least one of a rotation process and an inversion process of the image of the selected area. The selection area may be an area having a preset size including the selection position determined by the selection position determination unit 23. That is, the selected region may be a region based on a three-dimensional point selected from the three-dimensional point group.

画像処理部25は、例えば、図16に示す処理条件に基づいて、切り出し画像を生成することができる。この場合、画像処理部25は、ユーザ操作によって選択された領域の中心位置のうちY座標を図16に示す選択位置座標Yselとして扱う。ユーザ操作によって一部の領域が選択された展開画像が見下げ図であり、ユーザ操作によって選択された出力画像の画像状態が見下げ図であり、ユーザ操作によって選択された領域の中心位置のうちY座標が第1閾値Yth1以下であるとする。この場合、画像処理部25は、展開画像のうちユーザ操作によって選択された領域の画像を180度回転することで切り出し画像を生成する。For example, the image processing unit 25 can generate a cut-out image based on the processing conditions illustrated in FIG. In this case, the image processing unit 25 treats the Y coordinate of the center position of the region selected by the user operation as the selected position coordinate Y d sel shown in FIG. The developed image in which a part of the area is selected by the user operation is a look-down view, the image state of the output image selected by the user operation is the look-down view, and the Y coordinate of the center position of the area selected by the user operation Is less than or equal to the first threshold Y d th1. In this case, the image processing unit 25 generates a cut-out image by rotating the image of the region selected by the user operation in the developed image by 180 degrees.

表示処理部22は、ユーザ操作によって展開画像の一部の領域と出力画像の画像状態とが選択されたことに応じて画像処理部25によって切り出し画像が出力画像として生成された場合、かかる出力画像と共にトンネルの3次元点群の画像を表示することができる。この場合、表示処理部22は、上述した3次元点群の表示処理と同様の処理によって、3次元点群の向きを決定し、決定した向きの3次元点群を画像処理部25によって生成された切り出し画像と共に表示部2に表示することができる。このように、画像生成装置1のユーザは、展開画像の一部の領域と出力画像の画像状態とを選択することによって、適切な向きの切り出し画像と3次元点群の画像とを確認することができる。したがって、トンネルの点検および状態の把握を効率的に行うことができる。   When the image processing unit 25 generates a cut-out image as an output image in response to selection of a partial region of the developed image and the image state of the output image by a user operation, the display processing unit 22 outputs the output image. At the same time, an image of a three-dimensional point cloud of the tunnel can be displayed. In this case, the display processing unit 22 determines the direction of the three-dimensional point group by the same process as the above-described three-dimensional point group display process, and the three-dimensional point group having the determined direction is generated by the image processing unit 25. It can be displayed on the display unit 2 together with the clipped image. As described above, the user of the image generation device 1 confirms the clipped image and the image of the three-dimensional point group in an appropriate direction by selecting a partial region of the developed image and the image state of the output image. Can do. Therefore, it is possible to efficiently inspect the tunnel and grasp the state.

図3に示す変状データ編集部28は、展開画像に含まれる変状の画像データである変状データをユーザ操作に基づいて編集する。図22は、実施の形態1にかかる変状データ編集画面の一例を示す図である。表示処理部22は、ユーザ操作によって変状データの編集が要求された場合、図22に示す変状データ編集画面60を表示部2に表示する。   The deformation data editing unit 28 shown in FIG. 3 edits deformation data that is image data of deformation included in the developed image based on a user operation. FIG. 22 is a diagram illustrating an example of a deformed data editing screen according to the first embodiment. The display processing unit 22 displays a modified data editing screen 60 shown in FIG. 22 on the display unit 2 when the modified data is requested to be edited by a user operation.

図22に示すように、変状データ編集画面60は、変状データ表示領域61と、変状ID入力枠62と、位置変更ボタン63a,63b,63c,63dと、広角ボタン64と、望遠ボタン65と、リセットボタン66と、確定ボタン67とを含む。位置変更ボタン63a,63b,63c,63d、広角ボタン64、望遠ボタン65、リセットボタン66、および確定ボタン67は、GUI(Graphical User Interface)のボタンである。   As shown in FIG. 22, the deformation data editing screen 60 includes a deformation data display area 61, a deformation ID input frame 62, position change buttons 63a, 63b, 63c, and 63d, a wide-angle button 64, and a telephoto button. 65, a reset button 66, and a confirmation button 67. The position change buttons 63a, 63b, 63c, 63d, the wide-angle button 64, the telephoto button 65, the reset button 66, and the confirm button 67 are GUI (Graphical User Interface) buttons.

変状データ編集部28は、変状データ編集画面60において、変状ID入力枠62に変状IDが入力された場合、変状ID入力枠62に入力された変状IDに対応する変状範囲の情報を変状データ記憶部13に記憶された変状データテーブル46から取得する。変状データ編集部28は、画像処理部25の処理と同様の処理によって切り出し画像を出力画像として生成する。すなわち、変状データ編集部28は、展開画像の画像状態、出力画像の画像状態、および変状IDに対応する変状範囲に基づいて、変状IDに対応する変状範囲の画像を展開画像から切り出す処理と、変状範囲の画像の回転処理および反転処理の少なくとも一つの処理とを行って、切り出し画像を生成する。表示処理部22は、変状データ編集部28によって生成された出力画像を変状データ表示領域61に表示する。出力画像の画像状態は、予め設定されているが、後述するようにユーザ操作によって変更することもできる。   When the deformation ID is input to the deformation ID input frame 62 on the deformation data editing screen 60, the deformation data editing unit 28 corresponds to the deformation ID input to the deformation ID input frame 62. The range information is acquired from the deformed data table 46 stored in the deformed data storage unit 13. The deformation data editing unit 28 generates a cut-out image as an output image by the same processing as the processing of the image processing unit 25. That is, the deformation data editing unit 28 develops an image of the deformation range corresponding to the deformation ID based on the image state of the expansion image, the image state of the output image, and the deformation range corresponding to the deformation ID. The cut-out image is generated, and at least one of the rotation process and the inversion process of the deformation range image is performed to generate a cut-out image. The display processing unit 22 displays the output image generated by the deformation data editing unit 28 in the deformation data display area 61. The image state of the output image is set in advance, but can be changed by a user operation as will be described later.

変状データテーブル46が図12に示す状態であり、変状ID入力枠62に入力された変状IDが「DF1」であるとする。この場合、変状データ編集部28は、変状データテーブル46において変状ID「DF1」に関連付けられた座標範囲「xβmin1,xβmax1,yβmin1,yβmax1」を切り出し画像データテーブル45から取得する。変状データ編集部28は、座標範囲「xβmin1,xβmax1,yβmin1,yβmax1」の画像を展開画像から切り出しかつ回転または反転して得られる画像である切り出し画像を出力画像として生成する。例えば、展開画像の画像状態が見下げ図であり、出力画像の画像状態が見上げ図であり、座標範囲「xβmin1,xβmax1,yβmin1,yβmax1」の中心位置におけるY座標が第1閾値Yth1より小さいとする。この場合、変状データ編集部28は、座標範囲「xβmin1,xβmax1,yβmin1,yβmax1」の画像を展開画像から切り出し且つ上下反転させて得られる画像である切り出し画像を出力画像として生成する。The deformed data table 46 is in the state shown in FIG. 12, and the deformed ID input to the deformed ID input frame 62 is “DF1”. In this case, the deformation data editing unit 28 sets the coordinate ranges “x d β min1 , x d β max1 , y d β min1 , y d β max1 ” associated with the deformation ID “DF1” in the deformation data table 46. Is obtained from the cut-out image data table 45. The deformation data editing unit 28 cuts out an image having a coordinate range “x d β min1 , x d β max1 , y d β min1 , y d β max1 ” cut out from the developed image and rotated or inverted. Generate an image as an output image. For example, the image state of the developed image is a look-down view, the image state of the output image is a look-up view, and the center position of the coordinate ranges “x d β min1 , x d β max1 , y d β min1 , y d β max1Y d coordinates in is the first threshold value Y d th1 smaller. In this case, the deformation data editing unit 28 is an image obtained by cutting out an image of the coordinate ranges “x d β min1 , x d β max1 , y d β min1 , y d β max1 ” from the developed image and vertically inverting it. A cutout image is generated as an output image.

変状データ編集部28は、変状データテーブル46に変状データが一つも含まれていない場合、構造物データ記憶部11に記憶された展開画像データに基づいて、トンネルの展開画像全体または展開画像の任意の領域を出力画像として生成する。また、変状データ編集部28は、変状ID入力枠62に入力された変状IDが変状データテーブル46にない場合も、構造物データ記憶部11に記憶された展開画像データに基づいて、トンネルの展開画像全体または展開画像の任意の領域を出力画像として生成する。表示処理部22は、変状データ編集部28によって生成された出力画像を表示部2に表示する。   When the deformation data table 46 does not include any deformation data, the deformation data editing unit 28 performs the entire tunnel expansion image or the expansion based on the expansion image data stored in the structure data storage unit 11. An arbitrary area of the image is generated as an output image. Further, even when the deformation ID input to the deformation ID input frame 62 is not in the deformation data table 46, the deformation data editing unit 28 is based on the developed image data stored in the structure data storage unit 11. The entire developed image of the tunnel or an arbitrary region of the developed image is generated as an output image. The display processing unit 22 displays the output image generated by the deformation data editing unit 28 on the display unit 2.

変状データ編集部28は、ユーザ操作によって位置変更ボタン63a,63b,63c,63d、広角ボタン64、および望遠ボタン65のいずれかが操作された場合、操作されたボタンに対応する処理を行う。位置変更ボタン63a,63b,63c,63dは、変状データ表示領域61に表示されている画像の中心位置を右方向、左方向、上方向、および下方向にずらすためのボタンである。広角ボタン64は、変状データ表示領域61に表示されている画像を縮小表示するためのボタンである。望遠ボタン65は、変状データ表示領域61に表示されている画像を拡大表示するためのボタンである。以下、位置変更ボタン63a,63b,63c,63dの各々を区別せずに示す場合、位置変更ボタン63と記載する。   When any of the position change buttons 63a, 63b, 63c, 63d, the wide-angle button 64, and the telephoto button 65 is operated by a user operation, the deformation data editing unit 28 performs processing corresponding to the operated button. The position change buttons 63a, 63b, 63c, and 63d are buttons for shifting the center position of the image displayed in the deformed data display area 61 in the right direction, the left direction, the upward direction, and the downward direction. The wide-angle button 64 is a button for reducing and displaying the image displayed in the deformation data display area 61. The telephoto button 65 is a button for enlarging and displaying the image displayed in the deformation data display area 61. Hereinafter, the position change buttons 63a, 63b, 63c, and 63d will be referred to as position change buttons 63 when shown without distinction.

変状データ編集部28は、位置変更ボタン63が操作された場合、変状データ表示領域61に表示されている画像の中心位置を移動させた画像を出力画像として画像処理部25と同様の処理によって展開画像から生成する。表示処理部22は、変状データ編集部28によって生成された出力画像を変状データ表示領域61に表示する。   When the position change button 63 is operated, the deformation data editing unit 28 performs the same processing as the image processing unit 25 using an image obtained by moving the center position of the image displayed in the deformation data display area 61 as an output image. Is generated from the developed image. The display processing unit 22 displays the output image generated by the deformation data editing unit 28 in the deformation data display area 61.

具体的には、変状データ編集部28は、変状データ表示領域61に表示される画像のX座標系の範囲が位置変更ボタン63への操作によって変更される場合、展開画像から画像を切り出す処理と、回転処理および反転処理の少なくとも一つの処理とを行って、切り出し画像を生成する。ここで、変状データ表示領域61に表示される画像の変更後のX座標系の範囲を切り出し範囲と呼び、かかる切り出し範囲のY座標を中心位置座標Ydcnと呼ぶとする。この場合、変状データ編集部28は、図16に示す選択位置座標Yselを中心位置座標Ydcnに置き換えた処理条件に基づいて、切り出し画像を出力画像として生成することができる。Specifically, when the range of the X d Y d coordinate system of the image displayed in the deformation data display area 61 is changed by operating the position change button 63, the deformation data editing unit 28 starts from the developed image. A cut-out image is generated by performing an image cut-out process and at least one of a rotation process and an inversion process. Here, it referred to as a slicing range X d Y d coordinate system range after the change of the image displayed on the Deformation data display area 61, and is referred to as a center position coordinate Y d dcn the Y d coordinates of such cutout range . In this case, the deformation data editing unit 28 can generate a cut-out image as an output image based on the processing condition in which the selection position coordinate Y d sel shown in FIG. 16 is replaced with the center position coordinate Y d dcn.

例えば、展開画像データテーブル43の展開画像の画像状態が図7に示すように見下げ図であり、変状データ表示領域61に表示される画像が図12に示す変状データテーブル46の画像ID「DF1」の画像であるものとする。また、出力画像が見上げ図であるものとする。この場合、変状データ編集部28は、中心位置座標Ydcnが第1閾値Yth1以下であれば、切り出し範囲の画像を上下反転して得られる画像を出力画像として生成する。変状データ編集部28は、中心位置座標Ydcnが第1閾値Yth1より大きく且つ第2閾値Yth2以下であれば、切り出し範囲の画像を90度回転し且つ左右反転して得られる画像を出力画像として生成する。変状データ編集部28は、中心位置座標Ydcnが第2閾値Yth2よりも大きければ、切り出し範囲の画像である切り出し画像を左右反転出力画像として生成する。For example, the image state of the unfolded image in the unfolded image data table 43 is a look-down view as shown in FIG. 7, and the image displayed in the deformed data display area 61 is the image ID “of the deformed data table 46 shown in FIG. It is assumed that the image is “DF1”. It is also assumed that the output image is a look-up view. In this case, Deformation data editing unit 28, if the center position coordinate Y d dcn first threshold value Y d th1 or less, to generate an image obtained by image cutout range upside down as an output image. If the center position coordinate Y d dcn is greater than the first threshold Y d th1 and less than or equal to the second threshold Y d th2, the deformation data editing unit 28 obtains the image in the cutout range by rotating 90 degrees and left-right reversed. The generated image is generated as an output image. If the center position coordinate Y d dcn is larger than the second threshold Y d th2, the deformation data editing unit 28 generates a cut-out image that is an image in the cut-out range as a left-right inverted output image.

変状データ編集部28は、広角ボタン64または望遠ボタン65が操作された場合、位置変更ボタン63の操作の場合と同様の処理によって、変状データ表示領域61に表示される画像の変更後のX座標系の範囲の画像を切り出し画像として生成する。例えば変状データ編集部28は、広角ボタン64への操作である場合には、変状データ表示領域61に表示される画像のX座標系の範囲を画像の中心位置を変えずに拡大する。そして、変状データ編集部28は、拡大したX座標系の範囲の画像に対し位置変更ボタン63と同様の処理を行って切り出し画像を生成する。When the wide-angle button 64 or the telephoto button 65 is operated, the deformation data editing unit 28 changes the image displayed in the deformation data display area 61 by the same processing as the operation of the position change button 63. An image in the range of the X d Y d coordinate system is generated as a cut-out image. For example, when the deformation data editing unit 28 is an operation to the wide-angle button 64, the range of the X d Y d coordinate system of the image displayed in the deformation data display area 61 is changed without changing the center position of the image. Expanding. Then, the deformed data editing unit 28 performs the same processing as the position change button 63 on the enlarged image in the range of the X d Y d coordinate system to generate a cutout image.

また、変状データ編集部28は、望遠ボタン65への操作である場合には、変状データ表示領域61に表示される画像のX座標系の範囲を画像の中心位置を変えずに縮小する。そして、変状データ編集部28は、縮小したX座標系の範囲の画像に対し位置変更ボタン63と同様の処理を行って切り出し画像を生成する。Further, when the operation is performed on the telephoto button 65, the deformation data editing unit 28 does not change the range of the X d Y d coordinate system of the image displayed in the deformation data display area 61 without changing the center position of the image. Reduce to. Then, the deformation data editing unit 28 performs the same processing as the position change button 63 on the reduced image in the range of the X d Y d coordinate system to generate a cutout image.

変状データ編集部28は、広角ボタン64への操作である場合には、切り出し画像を縮小し、望遠ボタン65への操作である場合には、切り出し画像を拡大することで出力画像を生成する。表示処理部22は、変状データ編集部28によって生成された出力画像を変状データ表示領域61に表示する。   The deformed data editing unit 28 generates an output image by reducing the cut-out image when the operation is performed on the wide-angle button 64 and enlarging the cut-out image when the operation is performed on the telephoto button 65. . The display processing unit 22 displays the output image generated by the deformation data editing unit 28 in the deformation data display area 61.

このように、変状データ編集部28は、変状データ表示領域61に表示される画像のX座標系の範囲を変更する指示がある場合、展開画像から画像の切り出し処理と、回転処理および反転処理の少なくとも一つの処理とによって、切り出し画像を生成する。そして、変状データ編集部28は、生成した切り出し画像を出力画像としたり、生成した切り出し画像を拡大または縮小して出力画像としたりすることができる。Thus, Deformation data editing unit 28, when instructed to change the X d Y d coordinate system range in the image displayed on the Deformation data display area 61, and cutout processing of the image from the unfolded image, the rotation A cut-out image is generated by at least one of the processing and the inversion processing. Then, the deformed data editing unit 28 can use the generated clipped image as an output image, or enlarge or reduce the generated clipped image as an output image.

変状データ編集部28は、変状データ表示領域61に表示される画像のX座標系の範囲を変更した後、リセットボタン66が操作された場合、変状データ表示領域61に表示される画像を初期状態にする。初期状態は、例えば、変状ID入力枠62へ入力された変状IDに対応する変状範囲の画像である。また、初期状態は、上述した展開画像全体または展開画像の任意の領域である場合もある。When the reset button 66 is operated after changing the range of the X d Y d coordinate system of the image displayed in the deformation data display area 61, the deformation data editing unit 28 displays it in the deformation data display area 61. Set the image to be initialized. The initial state is, for example, an image of a deformation range corresponding to the deformation ID input to the deformation ID input frame 62. In addition, the initial state may be the entire developed image described above or an arbitrary region of the developed image.

変状データ編集部28は、変状ID入力枠62へ入力された変状IDの画像であって変状データ表示領域61に表示される画像のX座標系の範囲を変更した後、確定ボタン67が操作された場合、切り出し画像データ記憶部12を更新する。例えば、変状ID入力枠62へ入力された変状IDが図12の変状データテーブル46に示す「DF1」であるとする。この場合、変状データ編集部28は、変状データテーブル46において、座標範囲「xβmin1,xβmax1,yβmin1,yβmax1」を変状データ表示領域61に表示されている画像のX座標系の範囲に変更する。これにより、変状データテーブル46の更新を行うことができる。The deformation data editing unit 28 changes the range of the X d Y d coordinate system of the image of the deformation ID input to the deformation ID input frame 62 and displayed in the deformation data display area 61. When the confirmation button 67 is operated, the cut-out image data storage unit 12 is updated. For example, it is assumed that the deformation ID input to the deformation ID input frame 62 is “DF1” shown in the deformation data table 46 of FIG. In this case, Deformation data editing unit 28, the variable shape data table 46, a display coordinate range "x d β min1, x d β max1, y d β min1, y d β max1 " to Henjo data display area 61 The range is changed to the range of the X d Y d coordinate system of the displayed image. Thereby, the deformation data table 46 can be updated.

また、変状データ編集部28は、変状データテーブル46に変状IDがない画像のX座標系の範囲を変更した後、確定ボタン67が操作された場合、変状データ表示領域61に表示される画像の座標範囲を新たな変状IDと関連付けて変状データテーブル46に追加する。これにより、変状データテーブル46に新たな変状データを追加することができる。In addition, the deformation data editing unit 28 changes the X d Y d coordinate system range of the image having no deformation ID in the deformation data table 46 and then operates the deformation data display area when the confirmation button 67 is operated. The coordinate range of the image displayed in 61 is added to the deformation data table 46 in association with the new deformation ID. As a result, new deformation data can be added to the deformation data table 46.

なお、図22の変状データ編集画面60において、画像状態を入力する画像状態入力枠を設けることもできる。この場合、変状データ編集部28は、画像状態入力枠に入力された画像状態になるように変状データ表示領域61に表示される画像を生成することができる。例えば、画像状態入力枠に入力された画像状態が見下げ図であり、展開画像データテーブル43の展開画像の画像状態が図7に示すように見下げ図であるとする。この場合、変状データ編集部28は、中心位置座標Ydcnが第1閾値Yth1以下であれば、切り出し範囲の画像を180度回転して得られる画像を出力画像として生成する。変状データ編集部28は、中心位置座標Ydcnが第1閾値Yth1より大きく且つ第2閾値Yth2以下であれば、切り出し範囲の画像を270度回転して得られる画像を出力画像として生成する。変状データ編集部28は、中心位置座標Ydcnが第2閾値Yth2よりも大きければ、切り出し範囲の画像である切り出し画像をそのまま出力画像として生成する。Note that an image state input frame for inputting an image state can be provided on the deformation data editing screen 60 of FIG. In this case, the deformed data editing unit 28 can generate an image displayed in the deformed data display area 61 so that the image state input in the image state input frame is obtained. For example, assume that the image state input to the image state input frame is a look-down view, and the image state of the developed image in the developed image data table 43 is a look-down view as shown in FIG. In this case, if the center position coordinate Y d dcn is equal to or smaller than the first threshold value Y d th1, the deformation data editing unit 28 generates an image obtained by rotating the image in the cutout range by 180 degrees as an output image. If the center position coordinate Y d dcn is larger than the first threshold Y d th1 and equal to or smaller than the second threshold Y d th2, the deformation data editing unit 28 outputs an image obtained by rotating the image in the cutout range by 270 degrees. Generate as an image. If the center position coordinate Y d dcn is larger than the second threshold value Y d th2, the deformation data editing unit 28 generates a cut-out image that is an image in the cut-out range as an output image as it is.

また、表示処理部22は、図22に示す変状データ編集画面60にさらに3次元点群の画像を表示する3次元点群表示領域を含む変状データ編集画面を表示部2に表示することができる。図23は、実施の形態1にかかる変状データ編集画面の他の例を示す図である。図23に示す変状データ編集画面60Aは、変状データ編集画面60に加え、3次元点群の画像を表示する3次元点群表示領域68を含む。   Further, the display processing unit 22 displays on the display unit 2 a deformation data editing screen including a three-dimensional point cloud display area for displaying a three-dimensional point cloud image on the deformation data editing screen 60 shown in FIG. Can do. FIG. 23 is a diagram illustrating another example of the modified data editing screen according to the first embodiment. The deformation data editing screen 60A shown in FIG. 23 includes a three-dimensional point cloud display area 68 for displaying an image of a three-dimensional point cloud in addition to the deformation data editing screen 60.

表示処理部22は、図21に示す処理条件で、3次元点群表示領域68に表示するトンネルの3次元点群の向きを決定することができる。具体的には、表示処理部22は、変状データ表示領域61に表示される画像の画像状態、中心位置座標Ydcn、およびトンネル軸ベクトルに基づいて、3次元点群表示領域68に表示するトンネルの3次元点群の向きを決定する。変状データ表示領域61に表示される画像の画像状態は、変状データ表示領域61に表示される画像が見下げ図であるか見上げ図であるかを示す。The display processing unit 22 can determine the direction of the 3D point cloud of the tunnel displayed in the 3D point cloud display area 68 under the processing conditions shown in FIG. Specifically, the display processing unit 22 displays in the three-dimensional point cloud display area 68 based on the image state of the image displayed in the deformed data display area 61, the center position coordinate Y d dcn, and the tunnel axis vector. The direction of the three-dimensional point group of the tunnel to be determined is determined. The image state of the image displayed in the deformed data display area 61 indicates whether the image displayed in the deformed data display area 61 is a look-down view or a look-up view.

例えば、変状データ表示領域61に表示される画像の画像状態が見上げ図であり、展開画像の画像状態が見下げ図であるとする。この場合、表示処理部22は、中心位置座標Ydcenが第1閾値Yth1以下であれば、トンネル軸ベクトルの向きが右方向に向いた状態のトンネルの3次元点群の画像を3次元点群表示領域68に表示する。表示処理部22は、中心位置座標Ydcenが第1閾値Yth1より大きく且つ第2閾値Yth2以下であれば、トンネル軸ベクトルの向きが下方向に向いた状態のトンネルの3次元点群の画像を3次元点群表示領域68に表示する。表示処理部22は、中心位置座標Ydcenが第2閾値Yth2よりも大きければ、トンネル軸ベクトルの向きが左方向に向いた状態のトンネルの3次元点群の画像を3次元点群表示領域68に表示する。For example, assume that the image state of the image displayed in the deformed data display area 61 is a look-up view, and the image state of the developed image is a look-down view. In this case, if the center position coordinate Y d dcen is equal to or less than the first threshold value Y d th1, the display processing unit 22 displays an image of the three-dimensional point group of the tunnel with the tunnel axis vector oriented in the right direction. This is displayed in the dimension point group display area 68. If the center position coordinate Y d dcen is greater than the first threshold value Y d th1 and less than or equal to the second threshold value Y d th2, the display processing unit 22 performs the three-dimensional tunnel in a state where the direction of the tunnel axis vector is directed downward. The point cloud image is displayed in the three-dimensional point cloud display area 68. If the center position coordinate Y d dcen is greater than the second threshold value Y d th2, the display processing unit 22 displays a 3D point cloud image of the tunnel in a state where the direction of the tunnel axis vector is directed leftward. Displayed in the display area 68.

このように、画像生成装置1のユーザは、変状データを編集しながら、適切な向きの切り出し画像と3次元点群の画像とを確認することができる。したがって、変状データの編集を適切且つ効率的に行うことができる。   As described above, the user of the image generation apparatus 1 can check the cut-out image and the image of the three-dimensional point group in an appropriate direction while editing the deformation data. Therefore, the modification data can be edited appropriately and efficiently.

図3に示す変状台帳生成部29は、ユーザ操作による台帳生成指示があると判定した場合、変状データ記憶部13に記憶された変状データテーブル46に基づいて、トンネルに生じている各変状の画像を貼り付けた変状画像台帳を生成する。トンネルの展開画像は、撮像画像であるため、変状画像台帳は変状写真台帳と呼ぶことができる。変状台帳生成部29は、生成した変状画像台帳の情報を画像出力部26へ出力し、画像出力部26から通信部30およびネットワークを介して外部の装置へ送信することができる。例えば、かかる外部の装置がプリンタである場合、変状台帳生成部29は、画像出力部26および通信部30を介して変状画像台帳を外部の装置で印刷することができる。   When the deformed ledger generation unit 29 illustrated in FIG. 3 determines that there is an instruction to generate a ledger by a user operation, each deformed ledger generation unit 29 is generated in the tunnel based on the deformed data table 46 stored in the deformed data storage unit 13. A deformed image ledger to which the deformed image is pasted is generated. Since the developed image of the tunnel is a captured image, the deformed image ledger can be called a deformed photo ledger. The deformed ledger generation unit 29 can output the information of the generated deformed image ledger to the image output unit 26 and can transmit the information from the image output unit 26 to an external device via the communication unit 30 and the network. For example, when the external device is a printer, the deformed ledger generation unit 29 can print the deformed image ledger with the external device via the image output unit 26 and the communication unit 30.

図24は、実施の形態1にかかる変状台帳生成部によって生成される変状画像台帳の一例を示す図である。図24に示す変状画像台帳70は、変状データテーブル46に含まれる複数の変状データに基づいて各変状の画像が予め設定された枠内に配置される。各枠には、変状の画像の他、変状IDおよび変状位置などの情報が含まれる。変状位置は、例えば、図12に示す変状データテーブル46に含まれる変状範囲における中心位置に対応するXYZ座標系における3次元座標である。変状台帳生成部29は、変状データテーブル46に含まれる変状範囲の中心位置を演算し、かかる中心位置に対応するXYZ座標系における3次元座標をマッピングデータテーブル44に基づいて取得し、取得した3次元座標を変状画像台帳70に配置することができる。また、変状台帳生成部29は、変状データテーブル46に含まれる変状範囲に対応するXYZ座標系における3次元座標の範囲をマッピングデータテーブル44に基づいて取得し、取得した3次元座標の範囲を変状画像台帳70に配置することもできる。   FIG. 24 is a diagram illustrating an example of a deformed image ledger generated by the deformable ledger generating unit according to the first embodiment. In the deformed image ledger 70 shown in FIG. 24, each deformed image is arranged in a preset frame based on a plurality of deformed data included in the deformed data table 46. Each frame includes information such as a deformation ID and a deformation position in addition to a deformed image. The deformed position is, for example, a three-dimensional coordinate in the XYZ coordinate system corresponding to the center position in the deformed range included in the deformed data table 46 shown in FIG. The deformation ledger generation unit 29 calculates the center position of the deformation range included in the deformation data table 46, acquires the three-dimensional coordinates in the XYZ coordinate system corresponding to the center position based on the mapping data table 44, The acquired three-dimensional coordinates can be arranged in the deformed image ledger 70. Further, the transformation ledger generation unit 29 obtains a range of three-dimensional coordinates in the XYZ coordinate system corresponding to the transformation range included in the transformation data table 46 based on the mapping data table 44, and acquires the obtained three-dimensional coordinate. The range can also be arranged in the deformed image ledger 70.

なお、図24に示す変状画像台帳70には、各種の情報を記入するための空白の枠が設定される。また、変状台帳生成部29は、ユーザ操作に基づいて、変状画像台帳70のフォーマットを変更することもできる。これにより、画像生成装置1のユーザは所望のフォーマットに変状の画像を貼り付けた変状画像台帳70を得ることができる。   In the deformed image ledger 70 shown in FIG. 24, a blank frame for entering various information is set. The deformable ledger generation unit 29 can also change the format of the deformed image ledger 70 based on a user operation. Thereby, the user of the image generating apparatus 1 can obtain the deformed image ledger 70 in which the deformed image is pasted in a desired format.

変状台帳生成部29は、各変状IDに対応する変状範囲の情報を変状データテーブル46から取得する。変状台帳生成部29は、画像処理部25の処理と同様の処理によって、各変状についての切り出し画像を出力画像として生成する。すなわち、変状台帳生成部29は、展開画像の画像状態、出力画像の画像状態、および変状IDに対応する変状範囲に基づいて、変状IDに対応する変状範囲の画像を展開画像から切り出す処理と、変状範囲の画像の回転処理および反転処理の少なくとも一つの処理とを行って、切り出し画像を変状毎に生成する。これにより、例えば、変状画像台帳70に設定される変状の画像を、点検員が実際の構造物を撮像して得られる撮像画像と同じ状態にすることができる。なお、出力画像の画像状態は、ユーザ操作によって設定することができる。   The transformation ledger generation unit 29 acquires the transformation range information corresponding to each transformation ID from the transformation data table 46. The deformation ledger generation unit 29 generates a cut-out image for each deformation as an output image by the same processing as the processing of the image processing unit 25. That is, the transformation ledger generation unit 29 develops an image of the transformation range corresponding to the transformation ID based on the image state of the development image, the image state of the output image, and the transformation range corresponding to the transformation ID. The cut-out image is generated, and at least one of rotation processing and inversion processing of the image in the deformation range is performed, and a cut-out image is generated for each deformation. Thereby, for example, the deformed image set in the deformed image ledger 70 can be in the same state as a captured image obtained by an inspector capturing an actual structure. The image state of the output image can be set by a user operation.

図3に示す変状展開図生成部40は、変状データ記憶部13に記憶される変状データテーブル46に基づいて、変状展開図を生成する。かかる変状展開図は、トンネルの展開図に変状の画像を配置した図である。   The deformation development view generation unit 40 shown in FIG. 3 generates a deformation development view based on the deformation data table 46 stored in the deformation data storage unit 13. Such a deformed development view is a view in which a deformed image is arranged on a development view of a tunnel.

図25は、実施の形態1にかかる変状展開図生成部によって生成される変状展開図の一例を示す図である。図25に示す変状展開図80には、変状IDが「DF1」〜「DF4」である4つの変状の画像がトンネルの展開図に配置されている。   FIG. 25 is a diagram illustrating an example of a modified development diagram generated by the modified development diagram generation unit according to the first embodiment. In the deformed development view 80 shown in FIG. 25, four deformed images having the deformation IDs “DF1” to “DF4” are arranged in the developed view of the tunnel.

変状展開図生成部40は、変状データテーブル46から各変状の変状範囲を取得し、取得した変状範囲に該当する展開画像の領域をトンネルの展開画像から変状の画像として切り出す。変状展開図生成部40は、切り出した変状の画像をトンネルの展開図に配置し、また、トンネルの展開図に配置した変状の画像に対応する位置に変状IDなどの情報を配置することで、変状展開図80を生成する。変状展開図生成部40は、生成した変状展開図80の情報を画像出力部26へ出力し、画像出力部26から通信部30およびネットワークを介して外部の装置へ送信することができる。例えば、かかる外部の装置がプリンタである場合、変状展開図生成部40は、画像出力部26および通信部30を介して変状展開図80を外部の装置で印刷することができる。   The deformation development diagram generation unit 40 acquires the deformation range of each deformation from the deformation data table 46, and cuts out a developed image area corresponding to the acquired deformation range as a deformation image from the developed image of the tunnel. . The deformed development view generation unit 40 places the cut out deformed image in the developed view of the tunnel, and arranges information such as a deformation ID at a position corresponding to the deformed image placed in the developed view of the tunnel. By doing so, the deformed development view 80 is generated. The deformed development drawing generation unit 40 can output the information of the generated deformed development drawing 80 to the image output unit 26 and transmit the information from the image output unit 26 to an external device via the communication unit 30 and the network. For example, when the external device is a printer, the deformed development drawing generation unit 40 can print the deformed development drawing 80 on the external device via the image output unit 26 and the communication unit 30.

変状展開図生成部40は、図25に示すように、切り出した変状の画像の外周に枠線を追加しており、これにより、変状展開図80において変状の位置を容易に把握することができる。なお、変状展開図生成部40は、枠線に用いる線種を図25に示すような破線としたり、実線にしたりすることができる。また、変状展開図生成部40は、枠線を太線にすることで変状の位置を強調することもできる。   As shown in FIG. 25, the deformed development drawing generation unit 40 adds a frame line to the outer periphery of the cut out deformed image, and thereby easily grasps the position of the deformation in the deformed development drawing 80. can do. The deformed development drawing generation unit 40 can set the line type used for the frame line to a broken line as shown in FIG. 25 or a solid line. In addition, the deformed development drawing generation unit 40 can emphasize the deformed position by making the frame line a thick line.

なお、トンネルの展開図の情報は予め記憶部10に記憶されており、変状展開図生成部40は、記憶部10に記憶されるトンネルの展開図の情報に基づいて、変状展開図80を生成することができる。また、変状展開図生成部40は、展開画像のうち各変状の変状範囲の領域以外の領域を除去した画像をトンネルの展開図に配置することもできる。この場合も、変状展開図生成部40は、変状の画像に対応する位置に変状IDの情報を配置する。   The information of the tunnel development view is stored in the storage unit 10 in advance, and the deformation development view generation unit 40 is based on the information of the tunnel development view stored in the storage unit 10. Can be generated. In addition, the deformed development view generation unit 40 can also arrange an image obtained by removing the region other than the region of the deformation range of each deformed image in the developed view of the tunnel. Also in this case, the deformed development drawing generation unit 40 arranges the information of the deformation ID at a position corresponding to the deformed image.

つづいて、画像生成装置1の動作を、フローチャートを用いて説明する。図26は、実施の形態1にかかる画像生成装置の制御部の処理の一例を示すフローチャートである。   Next, the operation of the image generation apparatus 1 will be described using a flowchart. FIG. 26 is a flowchart of an example of processing of the control unit of the image generation device according to the first embodiment.

図26に示すように、画像生成装置1の制御部20は、3次元点群表示操作があるか否かを判定する(ステップS10)。3次元点群表示操作は、構造物の3次元点群の画像を表示部2に表示するためのユーザ操作である。制御部20は、3次元点群表示操作があると判定した場合(ステップS10:Yes)、記憶部10に記憶された3次元点群データに基づいて、構造物の3次元点群の画像を表示部2に表示する(ステップS11)。   As shown in FIG. 26, the control unit 20 of the image generation apparatus 1 determines whether or not there is a three-dimensional point cloud display operation (step S10). The 3D point cloud display operation is a user operation for displaying an image of the 3D point cloud of the structure on the display unit 2. When it is determined that there is a three-dimensional point cloud display operation (step S10: Yes), the control unit 20 generates an image of the three-dimensional point cloud of the structure based on the three-dimensional point cloud data stored in the storage unit 10. It displays on the display part 2 (step S11).

制御部20は、表示部2に表示された構造物の3次元点群を構成する複数の3次元点の中からユーザ操作によって3次元点の選択があるか否かを判定する(ステップS12)。制御部20は、3次元点の選択がないと判定した場合(ステップS12:No)、ステップS12の処理を繰り返す。制御部20は、3次元点の選択があると判定した場合(ステップS12:Yes)、出力画像生成処理を行う(ステップS13)。かかるステップS13の処理は、図27に示す処理であり、後で詳述する。制御部20は、ステップS13の出力画像生成処理によって生成された出力画像を表示部2に表示する(ステップS14)。   The control unit 20 determines whether or not a three-dimensional point is selected by a user operation from a plurality of three-dimensional points constituting the three-dimensional point group of the structure displayed on the display unit 2 (step S12). . When it is determined that the three-dimensional point is not selected (step S12: No), the control unit 20 repeats the process of step S12. When it is determined that there is a three-dimensional point selection (step S12: Yes), the control unit 20 performs an output image generation process (step S13). The process in step S13 is the process shown in FIG. 27 and will be described in detail later. The control unit 20 displays the output image generated by the output image generation process in step S13 on the display unit 2 (step S14).

制御部20は、ステップS14の処理が終了した場合、または3次元点群表示操作がないと判定した場合(ステップS10:No)、一覧表示操作があるか否かを判定する(ステップS15)。一覧表示操作は、上述した一覧画像50を表示部2に表示するためのユーザ操作である。制御部20は、一覧表示操作があると判定した場合(ステップS15:Yes)、3次元点群表示処理を行う(ステップS16)。かかるステップS16の処理は、図28に示す処理であり、後で詳述する。   When the process of step S14 ends or when it is determined that there is no 3D point cloud display operation (step S10: No), the control unit 20 determines whether there is a list display operation (step S15). The list display operation is a user operation for displaying the above-described list image 50 on the display unit 2. When it is determined that there is a list display operation (step S15: Yes), the control unit 20 performs a three-dimensional point cloud display process (step S16). The process in step S16 is the process shown in FIG. 28 and will be described in detail later.

制御部20は、ステップS16の処理が終了した場合、または一覧表示操作がないと判定した場合(ステップS15:No)、変状データ編集操作があるか否かを判定する(ステップS17)。変状データ編集操作は、変状データを編集するためのユーザ操作である。制御部20は、変状データ編集操作があると判定した場合(ステップS17:Yes)、変状データ編集処理を行う(ステップS18)。かかるステップS18の処理は、図29に示す処理であり、後で詳述する。   When the process of step S16 is completed or when it is determined that there is no list display operation (step S15: No), the control unit 20 determines whether there is a modified data editing operation (step S17). The deformed data editing operation is a user operation for editing deformed data. When it is determined that there is a deformed data editing operation (step S17: Yes), the control unit 20 performs a deformed data editing process (step S18). The processing in step S18 is the processing shown in FIG. 29 and will be described in detail later.

制御部20は、ステップS18の処理が終了した場合、または変状データ編集操作がないと判定した場合(ステップS17:No)、変状画像台帳生成操作があるか否かを判定する(ステップS19)。かかる変状画像台帳生成操作は、変状画像台帳70を生成するためのユーザ操作である。制御部20は、変状画像台帳生成操作があると判定した場合(ステップS19:Yes)、変状画像台帳生成処理を行う(ステップS20)。かかるステップS20の処理は、図30に示す処理であり、後で詳述する。   When the process of step S18 is completed or when it is determined that there is no modified data editing operation (step S17: No), the control unit 20 determines whether there is a modified image ledger generation operation (step S19). ). Such a deformed image ledger generation operation is a user operation for generating the deformed image ledger 70. When it is determined that there is a deformed image ledger generation operation (step S19: Yes), the control unit 20 performs a deformed image ledger generation process (step S20). The process in step S20 is the process shown in FIG. 30, and will be described in detail later.

制御部20は、ステップS20の処理が終了した場合、または変状画像台帳生成操作がないと判定した場合(ステップS19:No)、変状展開図生成操作があるか否かを判定する(ステップS21)。かかる変状展開図生成操作は、変状展開図80を生成するためのユーザ操作である。制御部20は、変状展開図生成操作があると判定した場合(ステップS21:Yes)、変状展開図生成処理を行う(ステップS22)。かかるステップS22の処理は、図31に示す処理であり、後で詳述する。制御部20は、ステップS22の処理を終了した場合、または変状展開図生成操作がないと判定した場合(ステップS21:No)、図26に示す処理を終了する。   When the process of step S20 is completed or when it is determined that there is no deformed image ledger generation operation (step S19: No), the control unit 20 determines whether there is a deformed development diagram generation operation (step). S21). Such a deformed development view generation operation is a user operation for generating the deformed development view 80. When it is determined that there is a deformed development view generation operation (step S21: Yes), the control unit 20 performs a deformed development view generation process (step S22). The process of step S22 is the process shown in FIG. 31, and will be described in detail later. When the process of step S22 ends or when it is determined that there is no deformed development drawing generation operation (step S21: No), the control unit 20 ends the process shown in FIG.

次に、図26に示すステップS13の出力画像生成処理を説明する。図27は、実施の形態1にかかる出力画像生成処理の一例を示すフローチャートである。   Next, the output image generation process in step S13 shown in FIG. 26 will be described. FIG. 27 is a flowchart of an example of the output image generation process according to the first embodiment.

図27に示すように、制御部20は、ユーザ操作によって選択された3次元点に対応する展開画像上の座標を判定し(ステップS30)、視点位置のトンネルに対する位置関係を判定する(ステップS31)。次に、制御部20は、ステップS30の判定結果およびステップS31の判定結果に基づいて、切り出し範囲の処理方法を決定する(ステップS32)。切り出し範囲の処理方法は、切り出し範囲の画像の切り出し処理と、切り出し範囲の画像の回転処理および反転処理のうち少なくとも一つの処理を含む方法である。制御部20は、決定した処理方法に基づいて切り出し範囲の処理を行って切り出し画像を出力画像として生成し(ステップS33)、図27に示す処理を終了する。   As shown in FIG. 27, the control unit 20 determines the coordinates on the developed image corresponding to the three-dimensional point selected by the user operation (step S30), and determines the positional relationship of the viewpoint position with respect to the tunnel (step S31). ). Next, the control part 20 determines the processing method of a cut-out range based on the determination result of step S30, and the determination result of step S31 (step S32). The processing method of the cutout range is a method including at least one of the cutout processing of the image of the cutout range, the rotation processing and the inversion processing of the image of the cutout range. Based on the determined processing method, the control unit 20 processes the cutout range to generate a cutout image as an output image (step S33), and ends the process illustrated in FIG.

次に、図26に示すステップS16の3次元点群表示処理を説明する。図28は、実施の形態1にかかる3次元点群表示処理の一例を示すフローチャートである。   Next, the three-dimensional point cloud display process in step S16 shown in FIG. 26 will be described. FIG. 28 is a flowchart of an example of the 3D point cloud display process according to the first embodiment.

図28に示すように、制御部20は、一覧画像50によって切り出し画像の一覧表示を行う(ステップS40)。制御部20は、ユーザ操作によって切り出し画像が選択されたか否かを判定する(ステップS41)。制御部20は、切り出し画像が選択されない場合(ステップS41:No)、ステップS41の処理を繰り返し行う。制御部20は、切り出し画像が選択された場合(ステップS41:Yes)、注視点を演算し(ステップS42)、視点位置を演算する(ステップS43)。制御部20は、3次元点群の向きを決定し(ステップS44)、決定した向きで3次元点群の画像を生成し、表示部2に表示する(ステップS45)。制御部20は、ステップS45の処理を終了すると、図28に示す処理を終了する。   As shown in FIG. 28, the control unit 20 displays a list of cut-out images using the list image 50 (step S40). The control unit 20 determines whether or not a cutout image is selected by a user operation (step S41). When the cutout image is not selected (Step S41: No), the control unit 20 repeatedly performs the process of Step S41. When the cut-out image is selected (step S41: Yes), the control unit 20 calculates the gazing point (step S42) and calculates the viewpoint position (step S43). The control unit 20 determines the direction of the three-dimensional point group (step S44), generates an image of the three-dimensional point group in the determined direction, and displays it on the display unit 2 (step S45). When the process of step S45 ends, the control unit 20 ends the process shown in FIG.

次に、図26に示すステップS18の変状データ編集処理を説明する。図29は、実施の形態1にかかる変状データ編集処理の一例を示すフローチャートである。   Next, the deformed data editing process in step S18 shown in FIG. 26 will be described. FIG. 29 is a flowchart of an example of deformed data editing processing according to the first embodiment.

図29に示すように、制御部20は、ユーザ操作により変状IDが入力されたか否かを判定する(ステップS50)。制御部20は、変状IDが入力されていないと判定した場合(ステップS50:No)、ステップS50の処理を繰り返す。制御部20は、変状IDが入力されたと判定した場合(ステップS50:Yes)、かかる変状IDに対応する変状範囲の情報を取得する(ステップS51)。また、制御部20は、視点位置のトンネルに対する位置関係を判定する(ステップS52)。   As illustrated in FIG. 29, the control unit 20 determines whether or not a deformation ID is input by a user operation (step S50). When it determines with the deformation | transformation ID not being input (step S50: No), the control part 20 repeats the process of step S50. When it is determined that the deformation ID is input (step S50: Yes), the control unit 20 acquires information on the deformation range corresponding to the deformation ID (step S51). Further, the control unit 20 determines the positional relationship of the viewpoint position with respect to the tunnel (step S52).

制御部20は、視点位置のトンネルに対する位置関係に基づいて、切り出し範囲の処理方法を決定する(ステップS53)。そして、制御部20は、決定した処理方法に基づいて切り出し範囲の処理を行って切り出し画像を出力画像として表示部2に表示する(ステップS54)。制御部20は、ステップS54の処理を終了すると、図29に示す処理を終了する。   The control unit 20 determines a processing method for the cutout range based on the positional relationship of the viewpoint position with respect to the tunnel (step S53). Then, the control unit 20 performs processing of the cutout range based on the determined processing method, and displays the cutout image on the display unit 2 as an output image (step S54). When the process of step S54 ends, the control unit 20 ends the process shown in FIG.

次に、図26に示すステップS20の変状画像台帳生成処理を説明する。図30は、実施の形態1にかかる変状画像台帳生成処理の一例を示すフローチャートである。   Next, the deformed image ledger generation process in step S20 shown in FIG. 26 will be described. FIG. 30 is a flowchart of an example of the deformed image ledger generation process according to the first embodiment.

図30に示すように、制御部20は、変状データテーブル46から1つの変状IDを選択し(ステップS60)、選択した変状IDに対応する変状範囲の情報を変状データテーブル46から取得する(ステップS61)。次に、制御部20は、展開画像の画像状態、出力画像の画像状態、および変状IDに対応する変状範囲に基づいて、切り出し範囲の処理方法を決定する(ステップS62)。そして、制御部20は、決定した処理方法に基づいて切り出し範囲の処理を行って切り出し画像を出力画像として生成する(ステップS63)。   As shown in FIG. 30, the control unit 20 selects one deformation ID from the deformation data table 46 (step S60), and stores information on the deformation range corresponding to the selected deformation ID. (Step S61). Next, the control unit 20 determines the processing method of the cutout range based on the image state of the developed image, the image state of the output image, and the deformation range corresponding to the deformation ID (step S62). And the control part 20 performs the process of a cutout range based on the determined processing method, and produces | generates a cutout image as an output image (step S63).

制御部20は、変状データテーブル46から全ての変状IDを選択したか否かを判定する(ステップS64)。制御部20は、全ての変状IDを選択していないと判定した場合(ステップS64:No)、処理をステップS60へ移行する。制御部20は、全ての変状IDを選択したと判定した場合(ステップS64:Yes)、生成した各変状IDに対応する出力画像を含む変状画像台帳70を生成する(ステップS65)。制御部20は、生成した変状画像台帳70を出力し(ステップS66)、図30に示す処理を終了する。   The control unit 20 determines whether or not all the deformation IDs have been selected from the deformation data table 46 (step S64). When it determines with the control part 20 not selecting all the deformation | transformation ID (step S64: No), it transfers a process to step S60. When it determines with having selected all the deformation | transformation ID (step S64: Yes), the control part 20 produces | generates the deformation | transformation image ledger 70 containing the output image corresponding to each produced | generated deformation | transformation ID (step S65). The control unit 20 outputs the generated deformed image ledger 70 (step S66) and ends the process shown in FIG.

次に、図26に示すステップS22の変状展開図生成処理を説明する。図31は、実施の形態1にかかる変状展開図生成処理の一例を示すフローチャートである。   Next, the deformed development view generation process in step S22 shown in FIG. 26 will be described. FIG. 31 is a flowchart of an example of a modified development view generation process according to the first embodiment.

図31に示すように、制御部20は、変状データテーブル46から各変状IDに対応する変状範囲の情報を取得し(ステップS70)、展開画像のうち各変状IDに対応する変状範囲の画像を変状の画像として切り出す(ステップS71)。制御部20は、切り出した各変状IDに対応する変状の画像を構造物の展開図に配置して変状展開図80を生成する(ステップS72)。そして、制御部20は、生成した変状展開図80を出力し(ステップS73)、図31に示す処理を終了する。   As shown in FIG. 31, the control unit 20 acquires information on the deformation range corresponding to each deformation ID from the deformation data table 46 (step S70), and changes the deformation ID corresponding to each deformation ID in the developed image. The image in the shape range is cut out as a deformed image (step S71). The control unit 20 arranges the deformed images corresponding to the cut out deformed IDs in the developed view of the structure to generate the deformed developed view 80 (step S72). And the control part 20 outputs the produced | generated deformation | transformation expansion | deployment drawing 80 (step S73), and complete | finishes the process shown in FIG.

図32は、実施の形態1にかかる画像生成装置のハードウェア構成の一例を示す図である。図32に示すように、画像生成装置1は、プロセッサ101と、メモリ102と、入出力回路103と、通信装置104とを備えるコンピュータを含む。   FIG. 32 is a diagram illustrating an example of a hardware configuration of the image generation apparatus according to the first embodiment. As illustrated in FIG. 32, the image generation device 1 includes a computer including a processor 101, a memory 102, an input / output circuit 103, and a communication device 104.

プロセッサ101、メモリ102、入出力回路103、および通信装置104は、例えば、バス105によって互いにデータの送受信が可能である。通信部30は、通信装置104で実現される。記憶部10は、メモリ102によって実現される。プロセッサ101は、メモリ102に記憶されたプログラムを読み出して実行することによって、入力受付部21、表示処理部22、選択位置判定部23、視点位置判定部24、画像処理部25、画像出力部26、視点位置決定部27、変状データ編集部28、変状台帳生成部29、および変状展開図生成部40の機能を実行する。プロセッサ101は、例えば、処理回路の一例であり、CPU(Central Processing Unit)、DSP(Digital Signal Processer)、およびシステムLSI(Large Scale Integration)のうち一つ以上を含む。   For example, the processor 101, the memory 102, the input / output circuit 103, and the communication device 104 can transmit and receive data to and from each other via a bus 105. The communication unit 30 is realized by the communication device 104. The storage unit 10 is realized by the memory 102. The processor 101 reads out and executes a program stored in the memory 102, thereby executing an input receiving unit 21, a display processing unit 22, a selection position determination unit 23, a viewpoint position determination unit 24, an image processing unit 25, and an image output unit 26. The functions of the viewpoint position determination unit 27, the modified data editing unit 28, the modified ledger generation unit 29, and the modified development view generation unit 40 are executed. The processor 101 is an example of a processing circuit, and includes one or more of a CPU (Central Processing Unit), a DSP (Digital Signal Processor), and a system LSI (Large Scale Integration).

メモリ102は、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、EPROM(Erasable Programmable Read Only Memory)、およびEEPROM(登録商標)(Electrically Erasable Programmable Read Only Memory)のうち一つ以上を含む。また、メモリ102は、コンピュータが読み取り可能なプログラムが記録された記録媒体を含む。かかる記録媒体は、不揮発性または揮発性の半導体メモリ、磁気ディスク、フレキシブルメモリ、光ディスク、コンパクトディスク、およびDVD(Digital Versatile Disc)のうち一つ以上を含む。なお、画像生成装置1は、ASIC(Application Specific Integrated Circuit)およびFPGA(Field Programmable Gate Array)などの集積回路を含んでいてもよい。   The memory 102 includes at least one of RAM (Random Access Memory), ROM (Read Only Memory), flash memory, EPROM (Erasable Programmable Read Only Memory), and EEPROM (registered trademark) (Electrically Erasable Programmable Read Only Memory). Including. The memory 102 includes a recording medium on which a computer-readable program is recorded. Such a recording medium includes one or more of a nonvolatile or volatile semiconductor memory, a magnetic disk, a flexible memory, an optical disk, a compact disk, and a DVD (Digital Versatile Disc). The image generation apparatus 1 may include an integrated circuit such as an application specific integrated circuit (ASIC) and a field programmable gate array (FPGA).

以上のように、実施の形態1にかかる画像生成装置1は、構造物データ記憶部11と、表示処理部22と、選択位置判定部23と、画像処理部25とを備える。構造物データ記憶部11は、構造物の3次元点群のデータを含む3次元点群データと、構造物の展開画像のデータと、3次元点群の座標と展開画像の座標との対応関係を示すマッピングデータとを記憶する。表示処理部22は、構造物データ記憶部11に記憶された3次元点群データに基づいて、3次元点群の画像を表示部2に表示する。選択位置判定部23は、構造物データ記憶部11に記憶された展開画像のデータおよびマッピングデータに基づいて、表示部2に表示された3次元点群のうち選択された3次元点の座標に対応する展開画像上の座標を判定する。画像処理部25は、選択位置判定部23によって判定された展開画像上の座標を含む範囲である切り出し範囲の画像を展開画像から切り出す切り出し処理を含む画像処理によって生成される切り出し画像を出力画像として生成する。画像処理部25が実行する画像処理は、選択位置判定部23によって判定された展開画像上の座標に基づく切り出し範囲の画像の回転処理および反転処理のうち少なくとも一つの処理を含む。これにより、構造物の展開画像から必要な画像を適切に得ることができる。   As described above, the image generation apparatus 1 according to the first embodiment includes the structure data storage unit 11, the display processing unit 22, the selection position determination unit 23, and the image processing unit 25. The structure data storage unit 11 has a correspondence relationship between 3D point cloud data including 3D point cloud data of the structure, development image data of the structure, coordinates of the 3D point cloud, and coordinates of the development image. And mapping data indicative of The display processing unit 22 displays an image of the three-dimensional point group on the display unit 2 based on the three-dimensional point group data stored in the structure data storage unit 11. The selection position determination unit 23 sets the coordinates of the selected three-dimensional point out of the three-dimensional point group displayed on the display unit 2 based on the developed image data and mapping data stored in the structure data storage unit 11. The coordinates on the corresponding developed image are determined. The image processing unit 25 outputs, as an output image, a cutout image generated by image processing including cutout processing that cuts out an image of a cutout range that is a range including coordinates on the developed image determined by the selection position determination unit 23 from the developed image. Generate. The image processing executed by the image processing unit 25 includes at least one of rotation processing and inversion processing of the image in the cutout range based on the coordinates on the developed image determined by the selection position determination unit 23. Thereby, a required image can be appropriately obtained from the developed image of the structure.

また、画像生成装置1は、視点位置が構造物の内部の位置か構造物の外部の位置かを判定する視点位置判定部24を備える。表示処理部22は、構造物データ記憶部11に記憶された3次元点群データに基づいて、3次元点群を指定された視点位置からみた場合の3次元点群の画像を表示部2に表示する。視点位置判定部24は、指定された視点位置の構造物に対する位置関係として指定された視点位置が構造物の内部の位置か構造物の外部の位置かを判定する。画像処理部25が実行する画像処理は、選択位置判定部23によって判定された展開画像上の座標と視点位置判定部24によって判定された位置関係とに基づく切り出し範囲の画像の回転処理および反転処理のうち少なくとも一つの処理を含む。これにより、構造物内からみた構造物の画像および構造物外からみた構造物の画像のうち指定された視点位置に応じた画像を得ることができる。   The image generation apparatus 1 further includes a viewpoint position determination unit 24 that determines whether the viewpoint position is a position inside the structure or a position outside the structure. Based on the 3D point cloud data stored in the structure data storage unit 11, the display processing unit 22 displays an image of the 3D point cloud when the 3D point cloud is viewed from the designated viewpoint position on the display unit 2. indicate. The viewpoint position determination unit 24 determines whether the viewpoint position specified as the positional relationship with respect to the structure at the specified viewpoint position is a position inside the structure or a position outside the structure. The image processing performed by the image processing unit 25 is rotation processing and inversion processing of an image in the cutout range based on the coordinates on the developed image determined by the selection position determination unit 23 and the positional relationship determined by the viewpoint position determination unit 24. Including at least one process. As a result, an image corresponding to the designated viewpoint position can be obtained from the image of the structure viewed from the inside of the structure and the image of the structure viewed from the outside of the structure.

また、視点位置判定部24は、指定された視点位置を含み構造物の延伸方向である第1方向に直交する直交平面G1と予め設定された範囲内の3次元点群の複数の3次元点を直交平面G1に投影し、直交平面G1に投影された複数の3次元点に基づいて、指定された視点位置が構造物の内部の位置か構造物の外部の位置かを判定する。これにより、指定された視点位置が構造物の内部の位置か構造物の外部の位置かを3次元点群のデータを用いて判定することができる。   In addition, the viewpoint position determination unit 24 includes a plurality of three-dimensional points of a three-dimensional point group within a preset range and an orthogonal plane G1 that includes the specified viewpoint position and is orthogonal to the first direction that is the extending direction of the structure. Are projected onto the orthogonal plane G1, and based on the plurality of three-dimensional points projected onto the orthogonal plane G1, it is determined whether the designated viewpoint position is a position inside the structure or a position outside the structure. Thereby, it can be determined using the data of the three-dimensional point group whether the designated viewpoint position is a position inside the structure or a position outside the structure.

また、画像生成装置1は、切り出し画像データ記憶部12と、視点位置決定部27とを備える。切り出し画像データ記憶部12は、切り出し画像を示すデータを、展開画像における切り出し画像の座標範囲と、視点位置の構造物に対する位置関係とに関連付けて記憶する。視点位置決定部27は、切り出し画像が選択された場合に、かかる切り出し画像の座標範囲と、視点位置の構造物に対する位置関係とに基づいて、3次元点群に対する視点位置を決定する。表示処理部22は、視点位置決定部27によって決定された視点位置から3次元点群をみた場合の3次元点群の画像を表示部2に表示する。これにより、切り出し画像を生成したときの視点位置のデータがない場合であっても、表示部2に表示される3次元点群の向きを適切に決定することができる。   The image generation device 1 also includes a cut-out image data storage unit 12 and a viewpoint position determination unit 27. The cutout image data storage unit 12 stores data indicating the cutout image in association with the coordinate range of the cutout image in the developed image and the positional relationship of the viewpoint position with respect to the structure. When a cutout image is selected, the viewpoint position determination unit 27 determines the viewpoint position with respect to the three-dimensional point group based on the coordinate range of the cutout image and the positional relationship of the viewpoint position with respect to the structure. The display processing unit 22 displays on the display unit 2 an image of the three-dimensional point group when the three-dimensional point group is viewed from the viewpoint position determined by the viewpoint position determining unit 27. Thereby, even when there is no viewpoint position data when the cut-out image is generated, the direction of the three-dimensional point group displayed on the display unit 2 can be appropriately determined.

また、視点位置決定部27は、視点位置の構造物に対する位置関係に基づいて、切り出し画像の座標範囲における中心位置と構造物の内部の特定座標とを結ぶ直線上の座標を視点位置に決定する。特定座標は、例えば、トンネル軸ベクトル上の座標である。これにより、切り出し画像を生成したときの視点位置のデータがない場合であっても、視点位置を適切に決定することができる。   In addition, the viewpoint position determination unit 27 determines, as the viewpoint position, a coordinate on a straight line connecting the center position in the coordinate range of the clipped image and the specific coordinates inside the structure based on the positional relationship of the viewpoint position with respect to the structure. . The specific coordinates are, for example, coordinates on the tunnel axis vector. Thereby, even when there is no data of the viewpoint position when the cut-out image is generated, the viewpoint position can be appropriately determined.

また、表示処理部22は、切り出し画像の座標範囲における中心位置と視点位置の構造物に対する位置関係とに基づいて、3次元点群の向きを決定し、決定した向きの3次元点群の画像を表示部2に表示する。これにより、表示部2に表示される3次元点群の向きを適切に決定することができる。   The display processing unit 22 determines the direction of the three-dimensional point group based on the center position in the coordinate range of the cut-out image and the positional relationship of the viewpoint position with respect to the structure, and the image of the three-dimensional point group in the determined direction. Is displayed on the display unit 2. Thereby, the direction of the three-dimensional point group displayed on the display unit 2 can be appropriately determined.

また、画像生成装置1は、変状データ記憶部13と、変状データ編集部28とを備える。変状データ記憶部13は、構造物の展開画像における構造物の変状の座標範囲である変状座標範囲の情報を含む変状データを記憶する。変状データ編集部28は、変状データをユーザ操作に基づいて編集する。変状データ編集部28は、ユーザ操作が変状座標範囲を変更する操作である場合、変更後の変状座標範囲の画像を展開画像から切り出す処理と変更後の変状座標範囲の画像の回転処理および反転処理の少なくとも一つの処理とにより得られる画像である切り出し画像を生成する。表示処理部22は、変状データ編集部28によって生成された切り出し画像を表示部2に表示する。これにより、例えば、点検員が実際の構造物を撮像して得られる撮像画像と同様の向きで変状の画像を表示することができ、変状データの変更を容易に行うことができる。   In addition, the image generation apparatus 1 includes a deformation data storage unit 13 and a deformation data editing unit 28. The deformation data storage unit 13 stores deformation data including information on a deformation coordinate range that is a coordinate range of deformation of the structure in the developed image of the structure. The deformation data editing unit 28 edits the deformation data based on a user operation. When the user operation is an operation for changing the deformed coordinate range, the deformed data editing unit 28 performs processing for cutting out the image of the changed deformed coordinate range from the developed image and rotation of the image of the changed deformed coordinate range. A cut-out image that is an image obtained by at least one of the processing and the inversion processing is generated. The display processing unit 22 displays the cut-out image generated by the deformation data editing unit 28 on the display unit 2. Thereby, for example, the deformed image can be displayed in the same direction as the captured image obtained by the inspector imaging the actual structure, and the deformed data can be easily changed.

また、変状データ編集部28は、変状座標範囲が変更された後、変更後の変状座標範囲を確定するためのユーザ操作があった場合、変状データ記憶部13に記憶されている変状データに含まれる座標範囲を変更後の変状座標範囲に変更する。これにより、変状データの変更を容易に行うことができる。   In addition, after the deformed coordinate range is changed, the deformed data editing unit 28 is stored in the deformed data storage unit 13 when there is a user operation for determining the changed deformed coordinate range. The coordinate range included in the deformation data is changed to the changed coordinate range after the change. Thereby, change data can be changed easily.

また、画像生成装置1は、変状台帳生成部29を備える。変状台帳生成部29は、変状データに基づいて、変状座標範囲の画像を展開画像から切り出す処理と変状座標範囲の画像の回転処理および反転処理の少なくとも一つの処理とにより得られる画像である切り出し画像を構造物の変状画像として生成し、かかる変状画像を含む台帳情報を生成する変状台帳生成部29を備える。これにより、構造物の展開画像から適切な向きの変状画像を含む台帳情報を得ることができる。   Further, the image generation apparatus 1 includes a deformed ledger generation unit 29. The deformed ledger generation unit 29 is an image obtained by cutting out the image of the deformed coordinate range from the developed image based on the deformed data, and at least one of rotation processing and inversion processing of the deformed coordinate range image. Is generated as a deformed image of a structure, and a deformed ledger generation unit 29 is generated for generating ledger information including the deformed image. Thereby, the ledger information including the deformed image in an appropriate direction can be obtained from the developed image of the structure.

また、画像生成装置1は、変状展開図生成部40を備える。変状展開図生成部40は、変状データに基づいて、展開画像から切り出した変状座標範囲の画像を構造物の展開図に配置することによって、変状展開図80を生成する。これにより、展開画像から得られる変状画像を構造物の展開図に配置した変状展開図80を生成することができる。   Further, the image generation device 1 includes a deformed development view generation unit 40. Based on the deformation data, the deformed development view generation unit 40 generates a deformed development view 80 by placing an image of the deformed coordinate range cut out from the developed image in the development view of the structure. Accordingly, it is possible to generate a deformed development view 80 in which the deformed image obtained from the developed image is arranged on the development view of the structure.

以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。   The configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.

1 画像生成装置、2 表示部、3 入力部、10 記憶部、11 構造物データ記憶部、12 切り出し画像データ記憶部、13 変状データ記憶部、20 制御部、21 入力受付部、22 表示処理部、23 選択位置判定部、24 視点位置判定部、25 画像処理部、26 画像出力部、27 視点位置決定部、28 変状データ編集部、29 変状台帳生成部、30 通信部、40 変状展開図生成部、41 3次元点群データテーブル、42 トンネル軸データテーブル、43 展開画像データテーブル、44 マッピングデータテーブル、45 切り出し画像データテーブル、46 変状データテーブル、50 一覧画像、60 変状データ編集画面、60A 変状データ編集画面、61 変状データ表示領域、62 変状ID入力枠、63,63a,63b,63c,63d 位置変更ボタン、64 広角ボタン、65 望遠ボタン、66 リセットボタン、67 確定ボタン、68 3次元点群表示領域、70 変状画像台帳、80 変状展開図。   DESCRIPTION OF SYMBOLS 1 Image generation apparatus, 2 Display part, 3 Input part, 10 Storage part, 11 Structure data storage part, 12 Cut-out image data storage part, 13 Deformation data storage part, 20 Control part, 21 Input reception part, 22 Display process Unit, 23 selection position determination unit, 24 viewpoint position determination unit, 25 image processing unit, 26 image output unit, 27 viewpoint position determination unit, 28 modified data editing unit, 29 modified ledger generation unit, 30 communication unit, 40 modification Shape development diagram generation unit, 41 3D point cloud data table, 42 tunnel axis data table, 43 development image data table, 44 mapping data table, 45 cutout image data table, 46 deformation data table, 50 list image, 60 deformation Data editing screen, 60A deformation data editing screen, 61 deformation data display area, 62 deformation ID input frame, 63, 6 a, 63 b, 63c, 63d position change button, 64 wide angle button, 65 telephoto button 66 reset button 67 enter button, 68 three-dimensional point group display area, 70 Henjo image ledger, 80 Deformation developed view.

Claims (12)

構造物の3次元点群のデータを含む3次元点群データと、前記構造物の展開画像のデータと、前記3次元点群の座標と前記展開画像の座標との対応関係を示すマッピングデータとを記憶する構造物データ記憶部と、
前記構造物データ記憶部に記憶された前記3次元点群データに基づいて、前記3次元点群の画像を表示部に表示する表示処理部と、
前記構造物データ記憶部に記憶された前記展開画像のデータおよび前記マッピングデータに基づいて、前記表示部に表示された前記3次元点群のうち選択された3次元点の座標に対応する前記展開画像上の座標を判定する選択位置判定部と、
前記選択位置判定部によって判定された前記展開画像上の座標を含む範囲である切り出し範囲の画像を前記展開画像から切り出す切り出し処理を含む画像処理によって生成される切り出し画像を出力画像として生成する画像処理部と、を備え、
前記画像処理部が実行する前記画像処理は、
前記選択位置判定部によって判定された前記展開画像上の座標に基づく前記切り出し範囲の画像の回転処理および反転処理のうち少なくとも一つの処理を含む
ことを特徴とする画像生成装置。
Three-dimensional point cloud data including data of a three-dimensional point cloud of the structure, development image data of the structure, mapping data indicating a correspondence relationship between the coordinates of the three-dimensional point cloud and the coordinates of the development image; A structure data storage unit for storing
A display processing unit that displays an image of the three-dimensional point group on a display unit based on the three-dimensional point group data stored in the structure data storage unit;
The development corresponding to the coordinates of the selected three-dimensional point among the three-dimensional point group displayed on the display unit based on the data of the developed image and the mapping data stored in the structure data storage unit A selection position determination unit for determining coordinates on the image;
Image processing for generating, as an output image, a cut-out image generated by image processing including cut-out processing for cutting out an image in a cut-out range that is a range including coordinates on the developed image determined by the selection position determination unit And comprising
The image processing executed by the image processing unit is:
An image generation apparatus comprising: at least one of a rotation process and an inversion process of the image in the cutout range based on the coordinates on the developed image determined by the selection position determination unit.
視点位置が前記構造物の内部の位置か前記構造物の外部の位置かを判定する視点位置判定部を備え、
前記表示処理部は、
前記構造物データ記憶部に記憶された前記3次元点群データに基づいて、前記3次元点群を指定された視点位置からみた場合の前記3次元点群の画像を前記表示部に表示し、
前記視点位置判定部は、
前記指定された視点位置の前記構造物に対する位置関係として前記指定された視点位置が前記構造物の内部の位置か前記構造物の外部の位置かを判定し、
前記画像処理部が実行する前記画像処理は、
前記選択位置判定部によって判定された前記展開画像上の座標と前記視点位置判定部によって判定された前記位置関係とに基づく前記切り出し範囲の画像の回転処理および反転処理のうち少なくとも一つの処理を含む
ことを特徴とする請求項1に記載の画像生成装置。
A viewpoint position determination unit that determines whether the viewpoint position is an internal position of the structure or an external position of the structure;
The display processing unit
Based on the 3D point cloud data stored in the structure data storage unit, an image of the 3D point cloud when the 3D point cloud is viewed from a specified viewpoint position is displayed on the display unit,
The viewpoint position determination unit
Determining whether the designated viewpoint position is a position inside the structure or a position outside the structure as a positional relationship of the designated viewpoint position with respect to the structure;
The image processing executed by the image processing unit is:
Including at least one of rotation processing and inversion processing of the image in the cut-out range based on the coordinates on the developed image determined by the selection position determination unit and the positional relationship determined by the viewpoint position determination unit The image generating apparatus according to claim 1.
前記構造物は、
第1方向に延伸する構造物であり、
前記視点位置判定部は、
前記視点位置を含み前記第1方向に直交する平面と予め設定された範囲内の前記3次元点群の複数の3次元点を前記平面に投影し、前記平面に投影された前記複数の3次元点に基づいて、前記視点位置が前記構造物の内部の位置か前記構造物の外部の位置かを判定する
ことを特徴とする請求項2に記載の画像生成装置。
The structure is
A structure extending in the first direction;
The viewpoint position determination unit
The plane including the viewpoint position and orthogonal to the first direction and a plurality of 3D points of the 3D point group within a preset range are projected onto the plane, and the plurality of 3D projected onto the plane The image generating apparatus according to claim 2, wherein it is determined based on a point whether the viewpoint position is a position inside the structure or a position outside the structure.
前記切り出し画像を示すデータを、前記展開画像における前記切り出し画像の座標範囲と前記位置関係とに関連付けて記憶する切り出し画像データ記憶部と、
前記切り出し画像が選択された場合に、前記切り出し画像の座標範囲と前記位置関係とに基づいて、前記3次元点群に対する視点位置を決定する視点位置決定部と、を備え、
前記表示処理部は、
前記視点位置決定部によって決定された視点位置から前記3次元点群をみた場合の前記3次元点群の画像を前記表示部に表示する
ことを特徴とする請求項2または3に記載の画像生成装置。
A cut-out image data storage unit that stores data indicating the cut-out image in association with the coordinate range of the cut-out image in the developed image and the positional relationship;
A viewpoint position determination unit that determines a viewpoint position for the three-dimensional point group based on the coordinate range of the clipped image and the positional relationship when the clipped image is selected;
The display processing unit
The image generation according to claim 2 or 3, wherein an image of the three-dimensional point group when the three-dimensional point group is viewed from the viewpoint position determined by the viewpoint position determining unit is displayed on the display unit. apparatus.
前記視点位置決定部は、
前記位置関係に基づいて、前記切り出し画像の座標範囲における中心位置と前記構造物の内部の特定座標とを結ぶ直線上の座標を視点位置に決定する
ことを特徴とする請求項4に記載の画像生成装置。
The viewpoint position determination unit
The image according to claim 4, wherein a coordinate on a straight line connecting a center position in a coordinate range of the cut-out image and a specific coordinate inside the structure is determined as a viewpoint position based on the positional relationship. Generator.
前記表示処理部は、
前記切り出し画像の座標範囲における中心位置と前記位置関係とに基づいて、前記3次元点群の向きを決定し、決定した向きの3次元点群の画像を前記表示部に表示する
ことを特徴とする請求項4または5に記載の画像生成装置。
The display processing unit
A direction of the three-dimensional point group is determined based on a center position in the coordinate range of the cut-out image and the positional relationship, and an image of the three-dimensional point group having the determined direction is displayed on the display unit. The image generation apparatus according to claim 4 or 5.
前記展開画像における前記構造物の変状の座標範囲である変状座標範囲の情報を含む変状データを記憶する変状データ記憶部と、
前記変状データをユーザ操作に基づいて編集する変状データ編集部と、を備え、
前記変状データ編集部は、
前記ユーザ操作が前記変状座標範囲を変更する操作である場合、変更後の前記変状座標範囲の画像を前記展開画像から切り出す処理と変更後の前記変状座標範囲の画像の回転処理および反転処理の少なくとも一つの処理とにより得られる画像である切り出し画像を生成し、
前記表示処理部は、
前記変状データ編集部によって生成された切り出し画像を前記表示部に表示する
ことを特徴とする請求項2から6のいずれか一つに記載の画像生成装置。
A deformation data storage unit that stores deformation data including information of a deformed coordinate range that is a deformed coordinate range of the structure in the developed image;
A deformation data editing unit that edits the deformation data based on a user operation,
The deformation data editing unit
When the user operation is an operation of changing the deformed coordinate range, a process of cutting out the image of the deformed coordinate range after the change from the developed image, and a rotation process and an inversion of the image of the deformed coordinate range after the change Generating a cut-out image that is an image obtained by at least one of the processes;
The display processing unit
The image generation apparatus according to claim 2, wherein the cut-out image generated by the deformed data editing unit is displayed on the display unit.
前記変状データ編集部は、
前記変状座標範囲が変更された後、変更後の前記変状座標範囲を確定するためのユーザ操作があった場合、前記変状データ記憶部に記憶されている前記変状データに含まれる座標範囲を前記変更後の変状座標範囲に変更する
ことを特徴とする請求項7に記載の画像生成装置。
The deformation data editing unit
Coordinates included in the deformation data stored in the deformation data storage unit when a user operation for determining the changed deformation coordinate range is performed after the deformation coordinate range is changed The image generation apparatus according to claim 7, wherein a range is changed to the modified coordinate range after the change.
前記変状データに基づいて、前記変状座標範囲の画像を前記展開画像から切り出す処理と前記変状座標範囲の画像の回転処理および反転処理の少なくとも一つの処理とにより得られる画像である切り出し画像を前記構造物の変状画像として生成し、前記変状画像を含む台帳情報を生成する変状台帳生成部を備える
ことを特徴とする請求項7または8に記載の画像生成装置。
Based on the deformation data, a cut-out image that is an image obtained by cutting out the image of the deformed coordinate range from the developed image and at least one of rotation processing and inversion processing of the image of the deformed coordinate range The image generating apparatus according to claim 7, further comprising: a deformed ledger generating unit that generates a deformed image of the structure and generates ledger information including the deformed image.
前記変状データに基づいて、前記展開画像から切り出した前記変状座標範囲の画像を前記構造物の展開図に配置することによって、変状展開図を生成する変状展開図生成部を備える
ことを特徴とする請求項7から9のいずれか一つに記載の画像生成装置。
A deformation development view generation unit configured to generate a deformation development view by placing an image of the deformation coordinate range cut out from the development image on the development view of the structure based on the deformation data; The image generation apparatus according to claim 7, wherein the image generation apparatus is an image generation apparatus.
コンピュータが実行する画像生成方法であって、
構造物の3次元点群のデータを含む3次元点群データと、前記構造物の展開画像のデータと、前記3次元点群の座標と前記展開画像の座標との対応関係を示すマッピングデータとを記憶する記憶部に記憶された前記3次元点群データに基づいて、前記3次元点群の画像を表示部に表示する表示処理ステップと、
前記記憶部に記憶された前記展開画像のデータおよび前記マッピングデータに基づいて、前記表示部に表示された前記3次元点群のうち選択された3次元点の座標に対応する前記展開画像上の座標を判定する選択位置判定ステップと、
前記選択位置判定ステップによって判定された前記展開画像上の座標を含む範囲である切り出し範囲の画像を前記展開画像から切り出す切り出し処理を含む画像処理によって生成される切り出し画像を出力画像として生成する画像処理ステップと、を含み、
前記画像処理ステップの前記画像処理は、
前記選択位置判定ステップによって判定された前記展開画像上の座標に基づく前記切り出し範囲の画像の回転処理および反転処理のうち少なくとも一つの処理を含む
ことを特徴とする画像生成方法。
An image generation method executed by a computer,
Three-dimensional point cloud data including data of a three-dimensional point cloud of the structure, development image data of the structure, mapping data indicating a correspondence relationship between the coordinates of the three-dimensional point cloud and the coordinates of the development image; Display processing step for displaying an image of the three-dimensional point group on the display unit based on the three-dimensional point group data stored in the storage unit storing
On the developed image corresponding to the coordinates of the selected three-dimensional point among the three-dimensional point group displayed on the display unit based on the data of the developed image and the mapping data stored in the storage unit A selection position determination step for determining coordinates;
Image processing for generating, as an output image, a cut-out image generated by image processing including cut-out processing for cutting out an image of a cut-out range that is a range including coordinates on the developed image determined by the selection position determining step. And including steps,
The image processing of the image processing step includes
An image generation method comprising: at least one of rotation processing and inversion processing of the image in the cutout range based on the coordinates on the developed image determined by the selection position determination step.
構造物の3次元点群のデータを含む3次元点群データと、前記構造物の展開画像のデータと、前記3次元点群の座標と前記展開画像の座標との対応関係を示すマッピングデータとを記憶する記憶部に記憶された前記3次元点群データに基づいて、前記3次元点群の画像を表示部に表示する表示処理ステップと、
前記記憶部に記憶された前記展開画像のデータおよび前記マッピングデータに基づいて、前記表示部に表示された前記3次元点群のうち選択された3次元点の座標に対応する前記展開画像上の座標を判定する選択位置判定ステップと、
前記選択位置判定ステップによって判定された前記展開画像上の座標を含む範囲である切り出し範囲の画像を前記展開画像から切り出す切り出し処理を含む画像処理によって生成される切り出し画像を出力画像として生成する画像処理ステップと、をコンピュータに実行させ、
前記画像処理ステップの前記画像処理は、
前記選択位置判定ステップによって判定された前記展開画像上の座標に基づく前記切り出し範囲の画像の回転処理および反転処理のうち少なくとも一つの処理を含む
ことを特徴とする画像生成プログラム。
Three-dimensional point cloud data including data of a three-dimensional point cloud of the structure, development image data of the structure, mapping data indicating a correspondence relationship between the coordinates of the three-dimensional point cloud and the coordinates of the development image; Display processing step for displaying an image of the three-dimensional point group on the display unit based on the three-dimensional point group data stored in the storage unit storing
On the developed image corresponding to the coordinates of the selected three-dimensional point among the three-dimensional point group displayed on the display unit based on the data of the developed image and the mapping data stored in the storage unit A selection position determination step for determining coordinates;
Image processing for generating, as an output image, a cut-out image generated by image processing including cut-out processing for cutting out an image of a cut-out range that is a range including coordinates on the developed image determined by the selection position determining step. Step to the computer,
The image processing of the image processing step includes
An image generation program comprising: at least one of rotation processing and inversion processing of the image in the cutout range based on the coordinates on the developed image determined by the selection position determination step.
JP2019535417A 2019-03-25 2019-03-25 Image generation apparatus, image generation method, and image generation program Active JP6584735B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2019/012601 WO2020194470A1 (en) 2019-03-25 2019-03-25 Image generation device, image generation method, and image generation program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2019160386A Division JP6732082B1 (en) 2019-09-03 2019-09-03 Image generation apparatus, image generation method, and image generation program

Publications (2)

Publication Number Publication Date
JP6584735B1 true JP6584735B1 (en) 2019-10-02
JPWO2020194470A1 JPWO2020194470A1 (en) 2021-04-30

Family

ID=68095338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019535417A Active JP6584735B1 (en) 2019-03-25 2019-03-25 Image generation apparatus, image generation method, and image generation program

Country Status (2)

Country Link
JP (1) JP6584735B1 (en)
WO (1) WO2020194470A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021068194A (en) * 2019-10-24 2021-04-30 三菱電機株式会社 Information processing device, generation method and generation program
JP7466382B2 (en) 2020-06-05 2024-04-12 三井住友建設株式会社 Information processing device, information processing method, and program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024047782A1 (en) * 2022-08-31 2024-03-07 三菱電機株式会社 Point group data drawing system, server, point group data drawing device, and point group data drawing method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09161068A (en) * 1995-12-12 1997-06-20 Furukawa Electric Co Ltd:The Picture photographing method and picture edition device using the method
JP2003185589A (en) * 2001-12-20 2003-07-03 Nishimatsu Constr Co Ltd Investigation system and investigation method for change in surface state of concrete
JP2010218132A (en) * 2009-03-16 2010-09-30 Nozawa Denshi Kogyo Kk System for development of surface image of tube inner wall
JP2017079024A (en) * 2015-10-22 2017-04-27 日本ユニシス株式会社 Image processing device, identical portion detection method by image matching, and image processing program thereby
JP2017211314A (en) * 2016-05-26 2017-11-30 東急建設株式会社 Detection method of degenerative part and inspection device of degenerative part
WO2018155590A1 (en) * 2017-02-24 2018-08-30 国立研究開発法人理化学研究所 Identifying device, identifying method and program for identifying position of wall surface inside tunnel appearing in photographic image

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09161068A (en) * 1995-12-12 1997-06-20 Furukawa Electric Co Ltd:The Picture photographing method and picture edition device using the method
JP2003185589A (en) * 2001-12-20 2003-07-03 Nishimatsu Constr Co Ltd Investigation system and investigation method for change in surface state of concrete
JP2010218132A (en) * 2009-03-16 2010-09-30 Nozawa Denshi Kogyo Kk System for development of surface image of tube inner wall
JP2017079024A (en) * 2015-10-22 2017-04-27 日本ユニシス株式会社 Image processing device, identical portion detection method by image matching, and image processing program thereby
JP2017211314A (en) * 2016-05-26 2017-11-30 東急建設株式会社 Detection method of degenerative part and inspection device of degenerative part
WO2018155590A1 (en) * 2017-02-24 2018-08-30 国立研究開発法人理化学研究所 Identifying device, identifying method and program for identifying position of wall surface inside tunnel appearing in photographic image

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021068194A (en) * 2019-10-24 2021-04-30 三菱電機株式会社 Information processing device, generation method and generation program
JP7304790B2 (en) 2019-10-24 2023-07-07 三菱電機株式会社 Information processing device, generation method, and generation program
JP7466382B2 (en) 2020-06-05 2024-04-12 三井住友建設株式会社 Information processing device, information processing method, and program

Also Published As

Publication number Publication date
WO2020194470A1 (en) 2020-10-01
JPWO2020194470A1 (en) 2021-04-30

Similar Documents

Publication Publication Date Title
US10964108B2 (en) Augmentation of captured 3D scenes with contextual information
JP5263049B2 (en) Information processing apparatus, information processing method, and program
JP6584735B1 (en) Image generation apparatus, image generation method, and image generation program
JP2005050035A (en) Image photographing device and image processing method
JP6921686B2 (en) Generator, generation method, and program
JPH1049704A (en) Image conversion method
JP6110780B2 (en) Additional information display system
JP2016224173A (en) Control device and control method
US11985294B2 (en) Information processing apparatus, information processing method, and program
JP6732082B1 (en) Image generation apparatus, image generation method, and image generation program
JP2013066058A (en) Image processing device, image processing method, and program
JPH11164325A (en) Panorama image generating method and recording medium recording its program
JP5664859B2 (en) Image conversion apparatus, image generation system, image conversion method, and image generation method
JP7179633B2 (en) Measuring method, measuring device and program
JP2007004293A (en) Image processor and method
WO2020090420A1 (en) Information processing device, control method therefor, program, and storage medium
JP6700539B2 (en) Video processing device, video processing method, and video processing program
US11915356B2 (en) Semi-automatic 3D scene optimization with user-provided constraints
CN108293107A (en) Display processing unit, display processing method and the computer-readable medium for executing display processing method
JP2006092201A (en) Three-dimensional image display device
JP4368748B2 (en) Content editing method, document file structure, information processing apparatus and system, and program
JP4681639B2 (en) Image generation apparatus, image analysis system, and computer program
JP2013182331A (en) Image display program and image display device
JP2019160290A (en) Generation device, generation method, and generation program
JP2023114651A (en) Image production method, information processing device, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190627

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20190627

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20190718

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: 20190806

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190903

R150 Certificate of patent or registration of utility model

Ref document number: 6584735

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250