JP2021055266A - Stone wall arrangement assistance program, stone wall arrangement assistance method, and stone wall arrangement assistance device - Google Patents

Stone wall arrangement assistance program, stone wall arrangement assistance method, and stone wall arrangement assistance device Download PDF

Info

Publication number
JP2021055266A
JP2021055266A JP2019176448A JP2019176448A JP2021055266A JP 2021055266 A JP2021055266 A JP 2021055266A JP 2019176448 A JP2019176448 A JP 2019176448A JP 2019176448 A JP2019176448 A JP 2019176448A JP 2021055266 A JP2021055266 A JP 2021055266A
Authority
JP
Japan
Prior art keywords
stone
images
collapsed
collapse
generated
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.)
Granted
Application number
JP2019176448A
Other languages
Japanese (ja)
Other versions
JP7268560B2 (en
Inventor
陽輔 原野
Yosuke Harano
陽輔 原野
真貴 斉藤
Maki Saito
真貴 斉藤
山本 淳史
Junji Yamamoto
淳史 山本
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.)
Fujitsu Advanced Engineering Ltd
Original Assignee
Fujitsu Advanced Engineering Ltd
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 Fujitsu Advanced Engineering Ltd filed Critical Fujitsu Advanced Engineering Ltd
Priority to JP2019176448A priority Critical patent/JP7268560B2/en
Publication of JP2021055266A publication Critical patent/JP2021055266A/en
Application granted granted Critical
Publication of JP7268560B2 publication Critical patent/JP7268560B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Retaining Walls (AREA)
  • Image Generation (AREA)
  • Image Analysis (AREA)

Abstract

To provide a stone wall arrangement assistance processing program and a stone wall arrangement assistance method capable of facilitating arrangement of stone materials in a stone wall.SOLUTION: A before-collapse state including the position of each of a plurality of collapsed stone materials before collapse and a rotational angle to the attitude of each before the collapse is acquired through pattern matching between each of a plurality of divided stone wall images generated from a stone wall static image and each of a plurality of adjustment stone material images corresponding to each of a plurality of stone material static images. A stone material three-dimensional model of each of a plurality of collapse stone materials is generated from a stone material moving image obtained by photographing each of the collapsed stone materials from all directions. A stone wall restoration three-dimensional model is generated and output by arranging the generated stone material three-dimensional model of each of the collapsed stone materials on the basis of the acquired before-collapse state of each of the collapsed stone materials.SELECTED DRAWING: Figure 15

Description

本発明は、石垣配置支援プログラム、石垣配置支援方法、及び石垣配置支援装置に関する。 The present invention relates to a stone wall placement support program, a stone wall placement support method, and a stone wall placement support device.

災害によって、城、神社仏閣などの一部が崩落する場合がある。城、神社仏閣などは、人類共通の文化的な財産としての価値があり、原状に復帰させるための修復が行われる。修復作業において、作業者の目視による判断に従って、修復作業が進められる場合があるが、作業者の目視に依存する場合、多大な労力、時間、及び費用を要する。 Due to a disaster, some parts of castles, shrines and temples may collapse. Castles, shrines and temples are valuable as cultural assets common to all humankind, and will be restored to their original state. In the repair work, the repair work may proceed according to the visual judgment of the worker, but if it depends on the visual judgment of the worker, a great deal of labor, time, and cost are required.

労力、時間、及び費用を低減するために、Information Technology(IT技術)を利用して、石垣の修復が行われる場合もある。例えば、崩落前の石垣の表面形状をレーザーで計測して取得した石垣3次元データと、崩落前に石垣の表面に露出していた崩落石材の面をレーザーで計測して取得した石材3次元データとを比較して、石垣における石材の配置状態を特定する技術が存在する。 Information technology may be used to repair stone walls to reduce labor, time, and cost. For example, the stone wall 3D data obtained by measuring the surface shape of the stone wall before the collapse with a laser and the stone material 3D data obtained by measuring the surface of the collapsed stone material exposed on the surface of the stone wall before the collapse with a laser. There is a technique to identify the arrangement state of stone materials in the stone wall by comparing with.

特開2018−104985号公報JP-A-2018-104985

石垣3次元データと石材3次元データとを比較して石垣の配置状態を特定する技術では、レーザー計測によって、各々のデータを取得している。しかしながら、石材の崩落を事前に予測することは困難であり、崩落前の石垣の表面形状をレーザーで計測していない場合、当該技術を利用することはできない。 In the technique of specifying the arrangement state of the stone wall by comparing the stone wall three-dimensional data and the stone material three-dimensional data, each data is acquired by laser measurement. However, it is difficult to predict the collapse of the stone material in advance, and the technology cannot be used unless the surface shape of the stone wall before the collapse is measured by a laser.

本開示では、石垣における石材の配置を検討する作業を容易にすることを目的とする。 An object of the present disclosure is to facilitate the work of examining the arrangement of stone materials in the stone wall.

1つの実施形態では、崩落前の石垣を石垣表面側から撮影した石垣静止画像に基づいて、隣接ブロックが相互に重複部分を有する複数のブロック内の画像である複数の分割石垣画像を生成する。石垣から崩落した複数の崩落石材の各々を、石垣表面に対応する側から撮影した複数の石材静止画像に基づいて、複数の石材静止画像の各々について、複数の調整石材画像を生成する。複数の石材調整石材画像は、各々、石材静止画像に対する回転角が所定角度ずつ異なり、かつ石材静止画像に対する倍率が所定倍率ずつ異なる。生成した複数の分割石垣画像の各々と複数の石材静止画像の各々に対応する複数の調整石材画像の各々とのパターンマッチングにより、石垣静止画像における複数の崩落石材各々の崩落前の位置及び各々の崩落前の姿勢への回転角度を含む崩落前状態を取得する。複数の崩落石材の各々を全方位から撮影した石材動画像から、複数の崩落石材各々の石材3次元グラフィックモデルを生成する。生成した複数の崩落石材各々の石材3次元グラフィックモデルを、取得した複数の崩落石材各々の崩落前状態に基づいて配置して石垣復元3次元グラフィックモデルを生成して出力装置に出力する。 In one embodiment, a plurality of divided stone wall images, which are images in a plurality of blocks in which adjacent blocks have overlapping portions with each other, are generated based on a stone wall still image taken from the stone wall surface side before the collapse. A plurality of adjusted stone images are generated for each of the plurality of stone still images based on the plurality of stone still images taken from the side corresponding to the stone wall surface for each of the plurality of collapsed stones that have collapsed from the stone wall. Each of the plurality of stone-adjusted stone images has a different rotation angle with respect to the stone still image by a predetermined angle, and a magnification with respect to the stone still image differs by a predetermined magnification. By pattern matching each of the generated multiple divided stone wall images and each of the plurality of adjusted stone images corresponding to each of the plurality of stone still images, the positions of the plurality of collapsed stones in the stone wall still image before each collapse and each of them. Acquire the state before collapse including the rotation angle to the posture before collapse. A three-dimensional graphic model of each of the plurality of collapsed stones is generated from the moving images of the stones taken from each of the plurality of collapsed stones from all directions. The stone material 3D graphic model of each of the generated multiple collapsed stone materials is arranged based on the state before the collapse of each of the acquired plurality of collapsed stone materials to generate a stone wall restoration 3D graphic model and output it to the output device.

本開示によれば、石垣における石材の配置を検討する作業を容易にすることができる。 According to the present disclosure, it is possible to facilitate the work of examining the arrangement of stone materials in Ishigaki.

本実施形態の石垣配置支援装置の機能的な構成を例示するブロック図である。It is a block diagram which illustrates the functional structure of the stone wall arrangement support device of this embodiment. 第1実施形態の石垣配置支援装置のハードウェア構成を例示するブロック図である。It is a block diagram which illustrates the hardware composition of the stone wall arrangement support device of 1st Embodiment. 本実施形態の石垣配置支援処理の流れを例示するフローチャートである。It is a flowchart which illustrates the flow of the stone wall arrangement support processing of this embodiment. 本実施形態の位置特定処理の流れを例示するフローチャートである。It is a flowchart which illustrates the flow of the position identification processing of this embodiment. 本実施形態の石材動画像の撮影を説明するための概念図である。It is a conceptual diagram for demonstrating the taking of the stone moving image of this embodiment. 石材静止画像を例示する概念図である。It is a conceptual diagram which illustrates the stone still image. 石材部分画像を例示する概念図である。It is a conceptual diagram which illustrates the stone part image. 崩落前石垣画像を例示する概念図である。It is a conceptual diagram which illustrates the stone wall image before the collapse. 崩落部分石垣画像を説明するための概念図である。It is a conceptual diagram for explaining the collapsed part stone wall image. 崩落部分石垣画像を例示する概念図である。It is a conceptual diagram which illustrates the collapsed part stone wall image. 分割石垣画像を説明するための概念図である。It is a conceptual diagram for explaining a divided stone wall image. 分割石垣画像を例示する概念図である。It is a conceptual diagram which illustrates the divided stone wall image. 回転縮小石材画像を例示する概念図である。It is a conceptual diagram which illustrates the rotation reduction stone image. 分割石垣画像を例示する概念図である。It is a conceptual diagram which illustrates the divided stone wall image. パターンマッチングの結果を表示する画面を例示する概念図である。It is a conceptual diagram which illustrates the screen which displays the result of pattern matching. 配置支援データベースのレコードに含まれるフィールドを例示する概念図である。It is a conceptual diagram which illustrates the field contained in the record of the placement support database. 位置及び角度が特定された石材部分画像を削除した崩落部分石垣画像を例示する概念図である。It is a conceptual diagram which illustrates the collapsed part stone wall image which deleted the stone part image which specified the position and the angle. パターンマッチングの結果を例示する概念図である。It is a conceptual diagram which illustrates the result of pattern matching. 第1実施形態の配置支援処理の流れを例示するフローチャートである。It is a flowchart which illustrates the flow of the arrangement support processing of 1st Embodiment. 第1実施形態の復元された石垣3次元グラフィックモデルを例示する概念図である。It is a conceptual diagram which illustrates the restored stone wall 3D graphic model of 1st Embodiment. 関連技術の平面状模型を使用して復元された石垣を例示する概念図である。It is a conceptual diagram which illustrates the stone wall restored by using the plane model of the related technology. 石垣の内部を説明するための概念図である。It is a conceptual diagram for explaining the inside of the stone wall. 石垣の内部を説明するための概念図である。It is a conceptual diagram for explaining the inside of the stone wall. 第2実施形態の石垣配置支援装置のハードウェア構成を例示するブロック図である。It is a block diagram which illustrates the hardware composition of the stone wall arrangement support device of 2nd Embodiment. 第2実施形態の情報端末のハードウェア構成を例示するブロック図である。It is a block diagram which illustrates the hardware configuration of the information terminal of 2nd Embodiment. 第2実施形態の配置支援処理の流れを例示するフローチャートである。It is a flowchart which illustrates the flow of the arrangement support processing of 2nd Embodiment. 第2実施形態の配置支援処理の流れを例示するフローチャートである。It is a flowchart which illustrates the flow of the arrangement support processing of 2nd Embodiment. 情報端末の配置支援処理の流れを例示するフローチャートである。It is a flowchart which illustrates the flow of the arrangement support processing of an information terminal. 石材3次元模型を例示する概念図である。It is a conceptual diagram which illustrates the stone 3D model. 配置支援画面を例示する概念図である。It is a conceptual diagram which illustrates the arrangement support screen.

以下、実施形態について説明する。なお、以下の実施例は限定を意図しない。また、各実施形態は、処理内容を矛盾させない範囲で適宜組み合わせることができる。 Hereinafter, embodiments will be described. The following examples are not intended to be limited. In addition, each embodiment can be appropriately combined as long as the processing contents do not contradict each other.

[第1実施形態]
<石垣配置支援装置>
図1は、石垣配置支援装置10の機能的な構成を例示する。
[First Embodiment]
<Ishigaki placement support device>
FIG. 1 illustrates a functional configuration of the stone wall arrangement support device 10.

石垣配置支援装置10は、位置特定部11及び配置支援部12を含む。位置特定部11は、石材が崩落する前の石垣の画像である崩落前石垣画像と、崩落した後の石材の画像である崩落石材画像とを使用して、崩落石材が崩落前の石垣で存在した位置及び角度を特定する。なお、石材とは、石垣に含まれる個々の石であるが、特に明記しない限り、ここでは、石垣の表面に積まれる築石と呼ばれる比較的大きい石材を表す。 The Ishigaki placement support device 10 includes a position identification unit 11 and a placement support unit 12. The position identification unit 11 uses the image of the stone wall before the collapse, which is the image of the stone wall before the stone collapses, and the image of the stone wall after the collapse, which is the image of the stone wall after the collapse, and the collapsed stone material exists in the stone wall before the collapse. Specify the position and angle of the stone. The stone material is an individual stone contained in the stone wall, but unless otherwise specified, here, it represents a relatively large stone material called a stone wall that is piled up on the surface of the stone wall.

配置支援部12は、石材画像から生成した3次元グラフィックモデルを、崩落前の石垣を復元するように、位置特定部11で特定された位置及び角度を使用して配置することで、石垣の3次元グラフィックモデルを生成して、出力装置に出力する。 The placement support unit 12 arranges the three-dimensional graphic model generated from the stone image using the position and angle specified by the position identification unit 11 so as to restore the stone wall before the collapse. Generate a 3D graphic model and output it to the output device.

石垣配置支援装置10は、一例として、図2に示すように、Central Processing Unit(CPU)51、一次記憶部52、二次記憶部53、外部インタフェース54及び通信部55を含む。CPU51は、ハードウェアであるプロセッサの一例である。CPU51、一次記憶部52、二次記憶部53、外部インタフェース54及び通信部55は、バス59を介して相互に接続されている。 As an example, the Ishigaki arrangement support device 10 includes a central processing unit (CPU) 51, a primary storage unit 52, a secondary storage unit 53, an external interface 54, and a communication unit 55, as shown in FIG. The CPU 51 is an example of a processor that is hardware. The CPU 51, the primary storage unit 52, the secondary storage unit 53, the external interface 54, and the communication unit 55 are connected to each other via the bus 59.

一次記憶部52は、例えば、Random Access Memory(RAM)などの揮発性のメモリである。二次記憶部53は、例えば、Hard Disk Drive(HDD)、又はSolid State Drive(SSD)などの不揮発性のメモリである。 The primary storage unit 52 is, for example, a volatile memory such as a Random Access Memory (RAM). The secondary storage unit 53 is, for example, a non-volatile memory such as a Hard Disk Drive (HDD) or a Solid State Drive (SSD).

二次記憶部53は、プログラム格納領域53A及びデータ格納領域53Bを含む。プログラム格納領域53Aは、一例として、石垣配置支援プログラムなどのプログラムを記憶している。データ格納領域53Bは、一例として、石垣配置支援プログラムなどのプログラムを実行した際に生成される中間データなどを記憶している。 The secondary storage unit 53 includes a program storage area 53A and a data storage area 53B. The program storage area 53A stores a program such as the Ishigaki placement support program as an example. The data storage area 53B stores, for example, intermediate data generated when a program such as the Ishigaki placement support program is executed.

CPU51は、プログラム格納領域53Aから石垣配置支援プログラムを読み出して一次記憶部52に展開する。CPU51は、石垣配置支援プログラムをロードして実行することで、図1の位置特定部11及び配置支援部12として動作する。 The CPU 51 reads the Ishigaki placement support program from the program storage area 53A and deploys it in the primary storage unit 52. The CPU 51 operates as the position specifying unit 11 and the arrangement support unit 12 in FIG. 1 by loading and executing the stone wall arrangement support program.

なお、石垣配置支援プログラムなどのプログラムは、外部サーバに記憶され、ネットワークを介して、一次記憶部52に展開されてもよい。また、石垣配置支援プログラムなどのプログラムは、Digital Versatile Disc(DVD)などの非一時的記録媒体に記憶され、記録媒体読込装置を介して、一次記憶部52に展開されてもよい。 A program such as the Ishigaki placement support program may be stored in an external server and expanded to the primary storage unit 52 via a network. Further, a program such as the Ishigaki arrangement support program may be stored in a non-temporary recording medium such as a Digital Versatile Disc (DVD) and expanded to the primary storage unit 52 via a recording medium reading device.

外部インタフェース54には外部装置が接続され、外部インタフェース54は、外部装置とCPU51との間の各種情報の送受信を司る。図2では、外部インタフェース54に、外部記憶装置71、カメラ72、ディスプレイ73、マウス74、及び、スキャナ75が有線または無線によって接続されている例を示している。 An external device is connected to the external interface 54, and the external interface 54 controls transmission and reception of various information between the external device and the CPU 51. FIG. 2 shows an example in which an external storage device 71, a camera 72, a display 73, a mouse 74, and a scanner 75 are connected to the external interface 54 by wire or wirelessly.

しかしながら、外部記憶装置71、カメラ72、ディスプレイ73、マウス74、及び、スキャナ75の何れか少なくとも1つは、外部インタフェース54に接続されていなくてもよい。また、外部記憶装置71、カメラ72、ディスプレイ73、マウス74、及び、スキャナ75の何れか少なくとも1つが外部インタフェース54に接続されていてもよい。また、外部記憶装置71、カメラ72、ディスプレイ73、マウス74、及び、スキャナ75の何れか少なくとも1つが、石垣配置支援装置10に内蔵されていてもよいし、ネットワークを介して、石垣配置支援装置10と離隔した位置に配置されていてもよい。 However, at least one of the external storage device 71, the camera 72, the display 73, the mouse 74, and the scanner 75 may not be connected to the external interface 54. Further, at least one of the external storage device 71, the camera 72, the display 73, the mouse 74, and the scanner 75 may be connected to the external interface 54. Further, at least one of the external storage device 71, the camera 72, the display 73, the mouse 74, and the scanner 75 may be built in the Ishigaki placement support device 10, or the Ishigaki placement support device may be built in the Ishigaki placement support device 10 via a network. It may be arranged at a position separated from 10.

外部記憶装置71は、例えば、HDD及びSSDなどの記憶装置であってよい。外部記憶装置71には、崩落前の石垣を撮影して取得された崩落前石垣画像データ、及び、崩落石材を撮影して取得された崩落石材画像データなどが格納されていてもよい。 The external storage device 71 may be, for example, a storage device such as an HDD and an SSD. The external storage device 71 may store the pre-collapse stone wall image data acquired by photographing the stone wall before the collapse, the collapsed stone material image data acquired by photographing the collapsed stone material, and the like.

カメラ72は、崩落前の石垣または崩落石材の静止画像または動画像の撮影に使用される。ディスプレイ73は、位置特定処理の処理結果である石材の崩落前石垣における位置及び角度、及び、配置支援処理の処理結果である石材3次元(3D)グラフィックモデルを使用して復元された石垣の石垣3Dグラフィックモデルなどを表示する。ディスプレイ73に代えて、例えば、プリンタなどで石垣3Dグラフィックモデルをプリントしてもよい。 The camera 72 is used to capture a still image or a moving image of the stone wall or the collapsed stone material before the collapse. The display 73 shows the position and angle of the stone wall before the collapse of the stone, which is the processing result of the position identification process, and the stone wall of the stone wall restored by using the stone three-dimensional (3D) graphic model, which is the processing result of the placement support processing. Display 3D graphic model and so on. Instead of the display 73, for example, a stone wall 3D graphic model may be printed by a printer or the like.

マウス74は、例えば、ユーザによる操作によって、ディスプレイ73に表示された画像内の位置を指定することができる。なお、マウス74に代えて、トラックボール、及びキーボードなどが使用されてもよいし、ディスプレイ73がタッチパネルである場合、ユーザの指またはタッチペンなどが使用されてもよい。スキャナ75は、紙媒体の写真を画像データとして読み込むために使用される。 The mouse 74 can specify a position in the image displayed on the display 73, for example, by an operation by the user. Instead of the mouse 74, a trackball, a keyboard, or the like may be used, and when the display 73 is a touch panel, a user's finger, a touch pen, or the like may be used. The scanner 75 is used to read a photograph on a paper medium as image data.

石垣配置支援装置10は、専用装置であってもよいし、ワークステーション、パーソナルコンピュータ、またはタブレットであってもよい。石垣配置支援装置10は、例えば、ネットワークを介して、他の装置(例えば、パーソナルコンピュータなど)と有線または無線で接続され、他の装置との間で、データを送受信してもよい。 The Ishigaki placement support device 10 may be a dedicated device, a workstation, a personal computer, or a tablet. The Ishigaki arrangement support device 10 may be connected to another device (for example, a personal computer, etc.) by wire or wirelessly via a network, and may transmit / receive data to / from the other device.

<石垣配置支援処理>
図3は、石垣配置支援処理の流れを表すフローチャートの一例である。
<Ishigaki placement support processing>
FIG. 3 is an example of a flowchart showing the flow of the stone wall placement support process.

CPU51は、ステップ100で、崩落石材の崩落前石垣における位置及び角度を特定する位置特定処理を行う。CPU51は、ステップ200で、ステップ100で特定された位置及び角度に基づいて、石材3Dグラフィックモデルを使用して復元した石垣の石垣3Dグラフィックモデルをディスプレイ73に表示する配置支援処理を行う。 In step 100, the CPU 51 performs a position specifying process for specifying the position and angle of the collapsed stone material in the stone wall before the collapse. In step 200, the CPU 51 performs placement support processing for displaying the stone wall 3D graphic model of the stone wall restored using the stone material 3D graphic model on the display 73 based on the position and angle specified in step 100.

図4は、ステップ100の位置特定処理の流れを表すフローチャートの一例である。CPU51は、ステップ101で、崩落石材画像データを取得する。崩落石材画像データは、例えば、崩落石材動画データから静止画像を抽出することで取得される。崩落石材動画データは、図5の矢印S1、S2などで例示するように、ユーザが保持したカメラ72を、石材R1の周辺で移動させながら、石材R1の全体の動画像を全方位から撮影することで取得される。 FIG. 4 is an example of a flowchart showing the flow of the position specifying process in step 100. The CPU 51 acquires the collapsed stone image data in step 101. The collapsed stone image data is acquired, for example, by extracting a still image from the collapsed stone moving image data. As illustrated by the arrows S1 and S2 in FIG. 5, the collapsed stone moving image data captures the entire moving image of the stone R1 from all directions while moving the camera 72 held by the user around the stone R1. Is obtained by.

崩落石材は、目視によって観測され、個別の特徴の記録、スケッチ、撮影などが行われることが多い。このような観測には、多くの時間及び労力を有する。しかしながら、石材R1の全体の動画像を全方位から撮影して保存することで、観測に要する時間及び労力を低減することができ、また、コンピュータを使用した崩落石材の分析などへの利用も容易となる。 Collapsed stones are often observed visually, and individual features are often recorded, sketched, and photographed. Such observations require a lot of time and effort. However, by taking the entire moving image of the stone material R1 from all directions and saving it, the time and labor required for observation can be reduced, and it is easy to use it for analysis of collapsed stone materials using a computer. It becomes.

カメラ72が取得した崩落石材動画データは、有線または無線接続で、外部インタフェース54または通信部55を介して、CPU51に送信される。図6Aは、崩落石材画像の一例である。 The collapsed stone moving image data acquired by the camera 72 is transmitted to the CPU 51 via the external interface 54 or the communication unit 55 by a wired or wireless connection. FIG. 6A is an example of a collapsed stone image.

石垣の表面を向いていた石材の面は、太陽光及び外気などに晒されることにより、石垣の内側に存在していた面とは異なる輝度(又は異なる色合い)を有し、専門家によれば容易に識別することができる。従って、位置及び角度の特定に使用される崩落石材画像として、石垣の表面を向いていた面である可能性が高い面を撮影した静止画像が、専門家によって、選択されてもよい。 The surface of the stone that faces the surface of the stone wall has a different brightness (or different color) from the surface that existed inside the stone wall when exposed to sunlight and outside air, according to experts. It can be easily identified. Therefore, as a collapsed stone image used for specifying the position and angle, a still image obtained by photographing a surface that is likely to be a surface facing the surface of the stone wall may be selected by an expert.

CPU51は、ステップ102で、崩落石材画像の背景を削除した石材部分画像を生成する。図6Bは、図6Aの崩落石材画像の背景を削除した石材部分画像を表す。詳細には、CPU51は、崩落石材画像を、ディスプレイ73に表示する。 In step 102, the CPU 51 generates a stone partial image in which the background of the collapsed stone image is deleted. FIG. 6B shows a stone partial image in which the background of the collapsed stone image of FIG. 6A is deleted. Specifically, the CPU 51 displays the collapsed stone image on the display 73.

ユーザは、ディスプレイ73に表示された崩落石材画像の石材部分を囲む矩形の4つの角の位置を、マウス74を使用して指定する。マウス74が取得した4つの角の位置を示すデータは、有線または無線接続で、外部インタフェース54または通信部55を介して、CPU51に送信される。CPU51は、受信した4つの位置のデータに基づいて、矩形内に含まれる矩形画像データを抽出する。 The user uses the mouse 74 to specify the positions of the four corners of the rectangle surrounding the stone portion of the collapsed stone image displayed on the display 73. The data indicating the positions of the four corners acquired by the mouse 74 is transmitted to the CPU 51 via the external interface 54 or the communication unit 55 by a wired or wireless connection. The CPU 51 extracts rectangular image data included in the rectangle based on the received data at the four positions.

CPU51は、抽出した矩形画像データに対して、エッジ抽出処理などを施すことで、石材部分の外郭エッジを取得し、外郭エッジ内に含まれる画像データを抽出する。この抽出により、CPU51は、図6Aに例示する崩落石材画像から背景が削除された図6Bに例示する石材部分画像を生成することができる。CPU51は、石材部分画像データをデータ格納領域53Bに格納する。 The CPU 51 acquires the outer edge of the stone portion by performing edge extraction processing or the like on the extracted rectangular image data, and extracts the image data included in the outer edge. By this extraction, the CPU 51 can generate the stone partial image illustrated in FIG. 6B in which the background is deleted from the collapsed stone image illustrated in FIG. 6A. The CPU 51 stores the stone partial image data in the data storage area 53B.

CPU51は、ステップ103で、石材部分画像データに対して、回転処理及び縮小処理を施し、調整石材画像の一例である回転縮小石材画像を生成する。詳細には、CPU51は、石材部分画像データに対して、例えば、Affine変換などの既知の回転処理を施すことで、回転処理が施された回転石材画像を生成する。この際、CPU51は、例えば、回転角度を所定角度ずつ増加し、1つの石材部分画像データに対して、複数の回転石材画像データを生成する。所定角度は、例えば、10度であってよく、回転角度を10度ずつ(例えば、10度〜360(10×36)度)変化させることで、36の回転石材画像データが生成される。 In step 103, the CPU 51 performs rotation processing and reduction processing on the stone partial image data to generate a rotation reduction stone image which is an example of the adjustment stone image. Specifically, the CPU 51 performs a known rotation process such as an Affine transformation on the stone partial image data to generate a rotated stone image to which the rotation process has been performed. At this time, for example, the CPU 51 increases the rotation angle by a predetermined angle to generate a plurality of rotating stone image data for one stone partial image data. The predetermined angle may be, for example, 10 degrees, and by changing the rotation angle by 10 degrees (for example, 10 degrees to 360 (10 × 36) degrees), 36 rotating stone image data are generated.

CPU51は、回転石材画像データに対して、既知の縮小処理を行うことで、縮小処理が施された回転縮小石材画像を生成する。この際、CPU51は、倍率を所定倍率ずつ変化させることで、1つの回転石材画像データに対して、複数の回転縮小画像データを生成する。所定倍率は、例えば、0.9であってよく、所定倍率を0.9ずつ(例えば、0.9〜0.912)変化させることで、12の回転縮小石材画像データが生成される。即ち、回転角度を10度ずつ36通り変化させ、倍率を0.9ずつ12通り変化させることで、1つの石材部分画像データに対して、36×12=432の回転縮小石材画像データが生成される。 The CPU 51 performs a known reduction process on the rotating stone image data to generate a rotation reduction stone image that has been reduced. At this time, the CPU 51 generates a plurality of rotation-reduced image data for one rotation stone image data by changing the magnification by a predetermined magnification. The predetermined magnification may be, for example, 0.9, and by changing the predetermined magnification by 0.9 (for example, 0.9 to 0.9 12 ), 12 rotation-reduced stone image data are generated. That is, by changing the rotation angle in 36 ways by 10 degrees and changing the magnification in 12 ways by 0.9, 36 × 12 = 432 rotation-reduced stone image data is generated for one stone partial image data. To.

なお、回転角度を10度ずつ変化させる例について説明したが、回転角度の変化は10度に限定されない。例えば、回転角度の変化は5度であってもよい。また、倍率を0.9倍ずつ変化させる例について説明したが、倍率の変化は0.9倍に限定されない。例えば、倍率の変化は0.8倍でもよいし、回転縮小画像を生成することに代えて、倍率の変化を1.1倍とし、調整石材画像として回転拡大画像を生成してもよい。 Although an example of changing the rotation angle by 10 degrees has been described, the change of the rotation angle is not limited to 10 degrees. For example, the change in rotation angle may be 5 degrees. Further, although an example in which the magnification is changed by 0.9 times has been described, the change in the magnification is not limited to 0.9 times. For example, the change in magnification may be 0.8 times, or instead of generating the rotation reduction image, the change in magnification may be 1.1 times and the rotation enlargement image may be generated as the adjustment stone image.

なお、石材部分画像データから回転石材画像データを生成し、回転石材画像データから回転縮小石材画像データを生成する例について説明したが、本実施例はこれに限定されない。例えば、石材部分画像データから縮小石材画像データを生成し、縮小石材画像データから回転縮小石材画像データを生成してもよい。 Although an example of generating rotating stone image data from the stone partial image data and generating rotating reduced stone image data from the rotating stone image data has been described, the present embodiment is not limited to this. For example, the reduced stone image data may be generated from the stone partial image data, and the rotation reduced stone image data may be generated from the reduced stone image data.

CPU51は、ステップ104で、崩落前石垣画像データを取得する。図7Aは、崩落前石垣画像の一例である。崩落前石垣画像は、石垣の面に対して正面から撮影した画像であることが望ましい。崩落前石垣画像データは、例えば、予め外部記憶装置71に格納されていてもよい。 In step 104, the CPU 51 acquires the stone wall image data before the collapse. FIG. 7A is an example of a stone wall image before the collapse. It is desirable that the stone wall image before the collapse is an image taken from the front with respect to the surface of the stone wall. The stone wall image data before the collapse may be stored in the external storage device 71 in advance, for example.

予め保存されている崩落前石垣画像データが存在しない場合、崩落前の石垣を撮影した紙媒体の写真を、スキャナ75を使用してスキャンすることで、崩落前石垣画像データを取得してもよい。取得した崩落前石垣画像データは、有線または無線接続で、外部インタフェース54または通信部55を介して、CPU51に送信される。崩落前石垣画像データが、ネットワークを介して接続されたサーバまたはクラウドなどに存在する場合も、有線または無線接続で、外部インタフェース54または通信部55を介して、CPU51に送信してもよい。石垣の崩落が予想されない場合であっても、多数存在するであろう、例えば、観光宣伝用に撮影された紙媒体の写真、または、観光客によってデジタルカメラによって撮影された画像を、崩落前石垣画像として有効に活用することができる。 If the pre-collapse stone wall image data that has been saved in advance does not exist, the pre-collapse stone wall image data may be acquired by scanning a paper medium photograph of the stone wall before the collapse using a scanner 75. .. The acquired pre-collapse stone wall image data is transmitted to the CPU 51 via the external interface 54 or the communication unit 55 via a wired or wireless connection. Even when the pre-collapse stone wall image data exists in a server or cloud connected via a network, it may be transmitted to the CPU 51 via an external interface 54 or a communication unit 55 by a wired or wireless connection. Even if the collapse of the stone wall is not expected, there will be many, for example, a paper photograph taken for tourism promotion or an image taken by a tourist with a digital camera, before the collapse of the stone wall. It can be effectively used as an image.

CPU51は、ステップ105で、崩落前石垣画像の不要部分を削除した石垣部分画像を取得する。石垣部分画像は、背景画像及び石材が崩落していない石垣部分の画像を取り除き、崩落した石垣部分の画像を残した画像であってよい。これにより、処理する画像データのデータ量が少なくなるため、処理の負担を軽減することができる。また、崩落石材の位置及び角度を特定するために不要なデータが減少するため、パターンマッチングにおける精度を向上させることができる。 In step 105, the CPU 51 acquires a stone wall portion image in which unnecessary portions of the stone wall image before collapse are deleted. The stone wall portion image may be an image in which the background image and the image of the stone wall portion in which the stone material has not collapsed are removed, and the image of the collapsed stone wall portion is left. As a result, the amount of image data to be processed is reduced, so that the processing load can be reduced. In addition, since unnecessary data for specifying the position and angle of the collapsed stone material is reduced, the accuracy in pattern matching can be improved.

図7Bは崩落前石垣画像の一例である。CPU51は、崩落前石垣画像をディスプレイ73に表示する。ユーザは、ディスプレイ73に表示された石垣画像の、石材が崩落した部分を含む矩形W1の4つの角の位置を、マウス74を使用して指定する。 FIG. 7B is an example of a stone wall image before the collapse. The CPU 51 displays the stone wall image before the collapse on the display 73. The user uses the mouse 74 to specify the positions of the four corners of the rectangle W1 including the portion where the stone material has collapsed in the stone wall image displayed on the display 73.

マウス74が取得した4つの角の位置を示すデータは、有線または無線接続で、外部インタフェース54または通信部55を介して、CPU51に送信される。CPU51は、受信した4つの角の位置を示すデータに基づいて、矩形W1内に含まれる矩形画像データを抽出することで、崩落前石垣画像データから不要部分を削除した崩落部分石垣画像データを生成する。 The data indicating the positions of the four corners acquired by the mouse 74 is transmitted to the CPU 51 via the external interface 54 or the communication unit 55 by a wired or wireless connection. The CPU 51 extracts the rectangular image data included in the rectangle W1 based on the received data indicating the positions of the four corners, thereby generating the collapsed portion Ishigaki image data in which unnecessary parts are deleted from the pre-collapse Ishigaki image data. To do.

図7Cは、抽出された矩形W1の内側の崩落部分石垣画像の一例である。CPU51は、崩落部分石垣画像データをデータ格納領域53Bに格納する。CPU51は、ステップ106で、崩落部分石垣画像を分割した分割石垣画像を生成する。 FIG. 7C is an example of a collapsed part stone wall image inside the extracted rectangle W1. The CPU 51 stores the collapsed portion stone wall image data in the data storage area 53B. In step 106, the CPU 51 generates a divided stone wall image obtained by dividing the collapsed portion stone wall image.

図8Aは、崩落部分石垣画像の一例である。図8Aに例示する崩落部分石垣画像W1は、横2004画素、縦930画素である。 FIG. 8A is an example of a collapsed part stone wall image. The collapsed portion stone wall image W1 illustrated in FIG. 8A has 2004 pixels in the horizontal direction and 930 pixels in the vertical direction.

CPU51は、崩落部分石垣画像W1に対して、所定画素数の幅及び高さを有するブロックB1を、左上から順番に、ブロックB1の幅の画素数より少ない画素数ずつ横方向にスライドさせる。ブロックB1が右端に到達したら、ブロックB1を左端に戻し、縦方向にブロックB1の高さの画素数より少ない画素数ずつスライドさせる処理をブロックB1が右下に到達するまで繰り返す。CPU51は、各ブロックB1の画像を分割石垣画像として取得する。CPU51は、取得した分割石垣画像データをデータ格納領域53Bに格納する。なお、ブロックB1の幅は、例えば、150画素、高さは、例えば、100画素であってよく、ブロックB1は、横方向及び縦方向に各々20画素ずつスライドさせられてもよい。 The CPU 51 slides the block B1 having a width and height of a predetermined number of pixels laterally with respect to the collapsed portion stone wall image W1 by the number of pixels smaller than the number of pixels of the width of the block B1 in order from the upper left. When the block B1 reaches the right end, the block B1 is returned to the left end, and the process of sliding the block B1 in the vertical direction by a number of pixels smaller than the number of pixels at the height of the block B1 is repeated until the block B1 reaches the lower right end. The CPU 51 acquires an image of each block B1 as a divided stone wall image. The CPU 51 stores the acquired divided stone wall image data in the data storage area 53B. The width of the block B1 may be, for example, 150 pixels, the height may be, for example, 100 pixels, and the block B1 may be slid by 20 pixels each in the horizontal direction and the vertical direction.

図8Bは、分割石垣画像の一例を表す。ブロックB1の幅及び高さの画素数は一例であり、例えば、幅200画素、高さ150画素であってもよい。また、スライドさせる画素数も一例であり、例えば、横方向に10画素ずつ、縦方向に30画素ずつスライドさせてもよい。 FIG. 8B shows an example of the divided stone wall image. The number of pixels in the width and height of the block B1 is an example, and may be, for example, 200 pixels in width and 150 pixels in height. The number of pixels to be slid is also an example. For example, 10 pixels may be slid in the horizontal direction and 30 pixels may be slid in the vertical direction.

CPU51は、ステップ107で、回転縮小石材画像データと、分割石垣画像データとを使用して、パターンマッチングを行うことで、崩落前石垣画像における崩落石材の位置及び角度を取得する。パターンマッチングは、図9Aに一部分を例示する回転縮小石材画像データと、図9Bに一部分を例示する分割石垣画像データとの間で、総当たりで行われる。詳細には、CPU51は、回転縮小石材画像及び分割石垣画像の各画像内において予め定められた特徴点を中心に複数の画素を含む特徴領域(例えば、48×48画素)において、局所特徴量を算出する。 In step 107, the CPU 51 acquires the position and angle of the collapsed stone material in the pre-collapse stone wall image by performing pattern matching using the rotation-reduced stone wall image data and the divided stone wall image data. The pattern matching is performed by brute force between the rotation-reduced stone image data for which a part is exemplified in FIG. 9A and the divided stone wall image data for which a part is exemplified in FIG. 9B. Specifically, the CPU 51 determines the local feature amount in a feature region (for example, 48 × 48 pixels) including a plurality of pixels centered on predetermined feature points in each image of the rotation-reduced stone image and the divided stone wall image. calculate.

局所特徴量としては、例えば、特徴領域内の各画素の対が複数組予め定められ、対とされた画素間の輝度差の符号に応じたビット値(例えば、輝度差が正値の場合は「1」、負値の場合は「0」など)で表される。CPU51は、画素データがRGB値で表されている場合は、既知の変換式により、各画素のRGB値から輝度値を局所特徴量として算出してもよい。また、局所特徴量は、例えば、BRIEF(Binary Robust Independent Elementary Features、二値頑健独立基本特徴)により表された局所特徴量であってもよい。 As the local feature amount, for example, a plurality of pairs of each pixel in the feature region are predetermined, and a bit value corresponding to the sign of the brightness difference between the paired pixels (for example, when the brightness difference is a positive value). It is represented by "1", "0" in the case of a negative value, etc.). When the pixel data is represented by RGB values, the CPU 51 may calculate the luminance value as a local feature amount from the RGB values of each pixel by a known conversion formula. Further, the local feature amount may be, for example, a local feature amount represented by BRIEF (Binary Robust Independent Elementary Features).

CPU51は、回転縮小石材画像における1つの特徴領域の局所特徴量に最も近似した、分割石垣画像における特徴領域を探索し、最も近似した局所特徴量を持つ2つの特徴領域内の特徴点どうしを接続して、ベクトルを生成する。CPU51は、ベクトルを2つの画像間(即ち、回転縮小石材画像と分割石垣画像との間)全体で生成し、各ベクトルの個数を表すヒストグラムを生成する。 The CPU 51 searches for the feature area in the divided stone wall image that most closely resembles the local feature amount of one feature area in the rotation-reduced stone image, and connects the feature points in the two feature areas having the most approximate local feature amount. And generate a vector. The CPU 51 generates vectors as a whole between the two images (that is, between the rotation-reduced stone image and the divided stone wall image), and generates a histogram showing the number of each vector.

CPU51は、ヒストグラムの中で最も個数が多いベクトルを抽出し、画像内において、抽出されたベクトルに対応する特徴点の個数を算出し、算出された個数と画像に含まれる特徴点全部の個数との比率を、類似度として算出する。CPU51は、1つの回転縮小石材画像と1つの分割石垣画像との間で1つの類似度を算出する。 The CPU 51 extracts the vector having the largest number in the histogram, calculates the number of feature points corresponding to the extracted vector in the image, and sets the calculated number and the total number of feature points included in the image. The ratio of is calculated as the similarity. The CPU 51 calculates one similarity between one rotation-reduced stone image and one divided stone wall image.

なお、局所特徴量はBRIEFに限定されず、例えば、ORB(Oriented FAST and Rotated BRIEF、方向付きFASTと回転BRIEF)やBRISK(Binary Robust Invariant Scalable Keypoints)などを使用してもよい。 The local feature amount is not limited to BRIEF, and for example, ORB (Oriented FAST and Rotated BRIEF, Oriented FAST and Rotated BRIEF), BRISK (Binary Robust Invariant Scalable Keypoints), or the like may be used.

CPU51は、ステップ108で、崩落前石垣における崩落石材の位置及び角度が特定されたか否か判定する。詳細には、CPU51は、ディスプレイ73に、パターンマッチングの結果を表示する。図10は、ディスプレイ73に表示されるパターンマッチングの結果の一例を表す。 In step 108, the CPU 51 determines whether or not the position and angle of the collapsed stone material in the pre-collapse stone wall have been specified. Specifically, the CPU 51 displays the result of pattern matching on the display 73. FIG. 10 shows an example of the result of pattern matching displayed on the display 73.

本実施形態では、CPU51は、1つの石材部分画像に対して、類似度が高い順に所定数の分割石垣画像を表示することができる。所定数は、例えば、10であってよい。図10では、1つの石材部分画像RIに対して、類似度が上位10までの分割石垣画像WI1〜WI10が表示されている。分割石垣画像の各々と共に、各々の類似度及び角度を表示してもよい。角度は、表示されている類似度を得た際に使用された回転縮小石材画像を生成した際の石材部分画像の回転角度である。また、角度に代えて、表示されている類似度を得た際に使用された回転縮小画像を表示してもよい。 In the present embodiment, the CPU 51 can display a predetermined number of divided stone wall images in descending order of similarity with respect to one stone partial image. The predetermined number may be, for example, 10. In FIG. 10, the divided stone wall images WI1 to WI10 having the highest similarity to the top 10 are displayed for one stone partial image RI. The similarity and angle of each may be displayed together with each of the divided stone wall images. The angle is the rotation angle of the stone partial image when the rotation-reduced stone image used when the displayed similarity was obtained was generated. Further, instead of the angle, the rotation-reduced image used when the displayed similarity is obtained may be displayed.

ユーザは、マウス74を使用して、表示されている石材部分画像RIに対応する石材部分を含む分割石垣画像WI1〜WI10内の当該石材部分を選択する。対応する石材部分が表示されている分割石垣画像WI1〜WI10内に存在しない場合、ユーザは、例えば、スキップボタンSBを選択することで、石材部分の選択を行わない。選択結果は、有線または無線接続で、外部インタフェース54または通信部55を介して、CPU51に送信される。 The user uses the mouse 74 to select the stone portion in the divided stone wall images WI1 to WI10 including the stone portion corresponding to the displayed stone portion image RI. When the corresponding stone portion does not exist in the divided stone wall images WI1 to WI10 on which the corresponding stone portion is displayed, the user does not select the stone portion by, for example, selecting the skip button SB. The selection result is transmitted to the CPU 51 via the external interface 54 or the communication unit 55 by wired or wireless connection.

CPU51は、マウス74によって石材部分が選択された場合、ステップ109で、配置支援データベースに、位置特定処理の結果を格納する。例えば、石材部分画像を識別する石材ID、当該石材部分画像を取得する際に使用した石材動画画像を識別する石材動画ID、崩落部分石垣画像における石材部分の位置を識別する石材位置ID、及び、角度を対応付けて、配置支援データベースに格納する。図11に、配置支援データベースのレコードに含まれるフィールドを例示する。石材IDは、例えば、石材部分画像を生成する際に付与され、石材動画IDは、例えば、石材動画像を取得する際に付与され、石材位置IDは、例えば、崩落部分石垣画像に含まれる崩落した石材の各々に手動または自動で付与されている。配置支援データベースは、例えば、データ格納領域53Bに格納されていてもよいし、外部記憶装置71に格納されていてもよい。 When the stone portion is selected by the mouse 74, the CPU 51 stores the result of the position identification process in the placement support database in step 109. For example, a stone ID that identifies a stone partial image, a stone moving image ID that identifies a stone moving image used when acquiring the stone partial image, a stone position ID that identifies the position of a stone portion in a collapsed stone wall image, and The angles are associated and stored in the placement support database. FIG. 11 illustrates the fields included in the records of the placement support database. The stone ID is given when, for example, a stone partial image is generated, the stone moving image ID is given when, for example, a stone moving image is acquired, and the stone position ID is given, for example, when the collapsed partial stone wall image is included. It is manually or automatically applied to each of the stones. The placement support database may be stored in the data storage area 53B or may be stored in the external storage device 71, for example.

CPU51は、ステップ110で、配置支援データベースに格納された石材位置IDに対応する石材部分の画像を崩落部分石垣画像から削除する。CPU51は、配置支援データベースに格納された石材位置IDに対応する石材部分の画像の色を、例えば、「黒」に変更する。図12は、崩落部分石垣画像において位置が特定された石材に対応する石材部分の画像を削除した後の石垣画像を例示する。なお、本実施形態は、石材部分の色を「黒」に変更することで石材部分の画像を削除することに限定されず、例えば、石材部分の色を、「赤」に変更してもよい。 In step 110, the CPU 51 deletes the image of the stone portion corresponding to the stone position ID stored in the placement support database from the collapsed portion stone wall image. The CPU 51 changes the color of the image of the stone portion corresponding to the stone position ID stored in the placement support database to, for example, "black". FIG. 12 illustrates a stone wall image after deleting the image of the stone material portion corresponding to the stone material whose position is specified in the collapsed portion stone wall image. The present embodiment is not limited to deleting the image of the stone portion by changing the color of the stone portion to "black", and for example, the color of the stone portion may be changed to "red". ..

CPU51は、ステップ110で位置が特定された石材に対応する石材部分の画像を崩落部分石垣画像から削除すると、ステップ111で、位置が特定されていない石材部分画像が存在するか否か判定する。ステップ111の判定が肯定された場合、CPU51は、ステップ106に戻る。 When the image of the stone part corresponding to the stone whose position is specified in step 110 is deleted from the collapsed part stone wall image, the CPU 51 determines in step 111 whether or not there is a stone part image whose position is not specified. If the determination in step 111 is affirmed, the CPU 51 returns to step 106.

CPU51は、全ての石材部分画像の石材について崩落部分石垣画像における当該石材の位置を特定できない場合、位置が特定された石材に対応する石材部分の画像を削除した崩落部分石垣画像を使用して、パターンマッチングを再度行う。図13は、パターンマッチングを5回繰り返した場合の処理結果を例示する。図13には、崩落部分石垣画像において位置が特定された石材の個数と当該崩落部分石垣画像に含まれる崩落した石材の総数との比率(「特定/総数」)が示されている。特定率は、当該比率をパーセント(%)単位で表した数値である。 When the position of the stone material in the collapsed part stone wall image cannot be specified for the stone material of all the stone material part images, the CPU 51 uses the collapsed part stone wall image in which the image of the stone material portion corresponding to the stone material whose position has been specified is deleted. Perform pattern matching again. FIG. 13 illustrates a processing result when pattern matching is repeated 5 times. FIG. 13 shows the ratio (“specific / total number”) between the number of stones whose positions are specified in the collapsed part stone wall image and the total number of collapsed stones included in the collapsed part stone wall image. The specific rate is a numerical value expressing the ratio in percent (%) units.

図13に示すように、1回目のマッチングでは、特定率が61.8%であるが、マッチング回数を重ねるごとに特定率が上昇し、5回目のマッチングでは、特定率が82.1%であり、1回目の特定率と比較して、5回目の特定率は20%以上、上昇している。このように、CPU51は、パターンマッチングを複数回繰り返すことで、特定率を向上させることができる。崩落部分石垣画像から既に位置が特定された石材部分の画像を取り除くことで、崩落部分石垣画像における石材の位置の特定が徐々に容易になるためである。 As shown in FIG. 13, in the first matching, the specific rate is 61.8%, but in the fifth matching, the specific rate increases as the number of matchings increases, and the specific rate is 82.1%. Yes, the 5th specific rate has increased by 20% or more compared to the 1st specific rate. In this way, the CPU 51 can improve the specific rate by repeating the pattern matching a plurality of times. This is because by removing the image of the stone part whose position has already been specified from the collapsed part stone wall image, it becomes gradually easier to identify the position of the stone material in the collapsed part stone wall image.

CPU51は、ステップ111の判定が否定された場合、即ち、全ての石材の位置が特定された場合、及び、ステップ108で、ユーザが、全ての石材部分画像について、マウス74でスキップボタンSBを選択したと判定した場合、位置特定処理を終了する。 When the determination in step 111 is denied, that is, when the positions of all the stones are specified, and in step 108, the user selects the skip button SB with the mouse 74 for all the stone partial images. If it is determined that the process has been performed, the position identification process is terminated.

図14は、図3の配置支援処理200の流れの一例を示す。CPU51は、ステップ201で、石材動画データから点群データを生成する。詳細には、石材動画データから所定時間間隔、例えば、1秒毎に静止画像を抽出し、当該抽出した連続する静止画像を使用して石材3Dメッシュモデルを生成するための点群データを生成する。 FIG. 14 shows an example of the flow of the arrangement support process 200 of FIG. In step 201, the CPU 51 generates point cloud data from the stone moving image data. Specifically, a still image is extracted from the stone moving image data at a predetermined time interval, for example, every second, and point cloud data for generating a stone 3D mesh model is generated using the extracted continuous still image. ..

CPU51は、ステップ202で、点群データから石材部分以外の、例えば、背景などの不要部分の点群データを取り除き、ステップ203で、石材3Dメッシュモデルを生成する。石材3Dメッシュモデルは、石材3次元モデルの一例であり、石材3Dメッシュモデルの生成には、例えば、Structure from Motion(SfM)技術を適用することができる。 In step 202, the CPU 51 removes the point cloud data of an unnecessary portion other than the stone portion, for example, the background, from the point cloud data, and in step 203, the stone 3D mesh model is generated. The stone 3D mesh model is an example of a stone 3D model, and for example, the Structure from Motion (SfM) technique can be applied to generate the stone 3D mesh model.

CPU51は、ステップ204で、図11に例示する配置支援データベースに、ステップ201で点群データを生成するために使用した石材動画データの石材動画IDと関連付けて、石材3Dメッシュモデルを識別するモデルIDを格納する。モデルIDは、例えば、石材3Dメッシュモデルが生成される際に付与される。 In step 204, the CPU 51 associates the placement support database illustrated in FIG. 11 with the stone moving image ID of the stone moving image data used for generating the point cloud data in step 201, and identifies the stone 3D mesh model. To store. The model ID is given, for example, when a stone 3D mesh model is generated.

CPU51は、生成した石材3Dメッシュモデルを使用して、石材3Dグラフィックモデルを生成して、ステップ205で、図15に例示するように、生成した石材3Dグラフィックモデルを、例えば、ディスプレイ73に表示する。石材3Dグラフィックモデルは、配置支援データベースのモデルIDに対応する石材位置IDに基づいて位置が決定され、対応する角度に基づいて回転させられることで、崩落前石垣を復元した石垣3Dグラフィックモデルを形成する。 The CPU 51 generates a stone 3D graphic model using the generated stone 3D mesh model, and displays the generated stone 3D graphic model on the display 73, for example, as illustrated in FIG. 15 in step 205. .. The stone 3D graphic model is positioned based on the stone position ID corresponding to the model ID of the placement support database, and is rotated based on the corresponding angle to form a stone wall 3D graphic model in which the stone wall before the collapse is restored. To do.

即ち、石材3Dグラフィックモデルは、石垣表面に対応する面を正面とし、当該正面画像が対応する角度分回転するように回転させられる。なお、石材3Dグラフィックモデルに代えて、石材3Dメッシュモデルを、ディスプレイ73に表示してもよい。また、ディスプレイ73に表示する代わりに、2次元画像に変換して、プリンタでプリントされてもよい。なお、石材3Dグラフィックモデルは、メッシュモデルであってもよいし、不透明なソリッドモデルであってもよいし、透過性を有するソリッドモデルであってもよいし、ワイヤフレームモデルであってもよい。 That is, the stone 3D graphic model is rotated so that the surface corresponding to the surface of the stone wall is the front surface and the front image is rotated by the corresponding angle. Instead of the stone 3D graphic model, the stone 3D mesh model may be displayed on the display 73. Further, instead of displaying the image on the display 73, the image may be converted into a two-dimensional image and printed by a printer. The stone 3D graphic model may be a mesh model, an opaque solid model, a transparent solid model, or a wireframe model.

関連技術では、図16に例示するように、石材の石垣表面に対応する面の形状の平面状の模型DRをプラスチックボードなどで作成し、当該模型DRをテープTPなどで貼り合わせることで、石材の配置を検討する。しかしながら、図17及び図18に例示するように、石垣に石材RRを配置する場合、石材RRどうしは石垣の表面より少し奥側で接する。さらに、石材RRを固定するために、石材裏面の石材どうしの隙間には飼石KRが配置され、石垣表面の凹凸を低減するため、石材正面の石材どうしの隙間には合石ARが配置される。 In the related technology, as illustrated in FIG. 16, a flat model DR having a surface shape corresponding to the stone wall surface of the stone is created with a plastic board or the like, and the model DR is attached with a tape TP or the like to the stone material. Consider the placement of. However, as illustrated in FIGS. 17 and 18, when the stone RRs are arranged on the stone wall, the stone RRs are in contact with each other slightly behind the surface of the stone wall. Furthermore, in order to fix the stone RR, the stone KR is placed in the gap between the stones on the back side of the stone, and in order to reduce the unevenness on the surface of the stone wall, the stone AR is placed in the gap between the stones in front of the stone. To.

図16に例示するような平面状の模型DRでは、石材RRどうしが適切に接合するか、飼石KR及び合石ARの大きさ及び量がどの程度であるか把握することはできない。これに対し、石材3Dグラフィックモデルを使用して、崩落前石垣を復元した石垣3Dグラフィックモデルを生成した場合、石材RRどうしが適切に接合するか、飼石KR及び合石ARの大きさ及び量がどの程度であるか容易に把握することができる。これにより、本物の石材を使用して石垣を復元する計画を適切に策定することができ、積み直しなどの不要な作業の作業量を低減することができる。 In the planar model DR as illustrated in FIG. 16, it is not possible to grasp whether the stone RRs are properly joined to each other and the size and amount of the stone KR and the stone AR. On the other hand, when a stone wall 3D graphic model is used to generate a stone wall 3D graphic model in which the stone wall before the collapse is restored, whether the stone RRs are properly joined, the size and amount of the stone KR and the stone wall AR. Can be easily grasped. As a result, it is possible to appropriately formulate a plan for restoring the stone wall using real stone materials, and it is possible to reduce the amount of unnecessary work such as reloading.

以上説明したように、第1実施形態では、崩落前の石垣を石垣表面側から撮影した石垣静止画像に基づいて、隣接ブロックが相互に重複部分を有する複数のブロック内の画像である複数の分割石垣画像を生成する。石垣から崩落した複数の崩落石材の各々を、石垣表面に対応する側から撮影した複数の石材静止画像に基づいて、複数の石材静止画像の各々について、複数の調整石材画像を生成する。複数の石材調整石材画像は、各々、石材静止画像に対する回転角が所定角度ずつ異なり、かつ石材静止画像に対する倍率が所定倍率ずつ異なる。生成した複数の分割石垣画像の各々と複数の石材静止画像の各々に対応する複数の調整石材画像の各々とのパターンマッチングにより、石垣静止画像における複数の崩落石材各々の崩落前の位置及び各々の崩落前の姿勢への回転角度を含む崩落前状態を取得する。複数の崩落石材の各々を全方位から撮影した石材動画像から、複数の崩落石材各々の石材3次元グラフィックモデルを生成する。生成した複数の崩落石材各々の石材3次元グラフィックモデルを、取得した複数の崩落石材各々の崩落前状態に基づいて配置して石垣復元3次元グラフィックモデルを生成して出力装置に出力する。 As described above, in the first embodiment, a plurality of divisions are images in a plurality of blocks in which adjacent blocks have overlapping portions with each other, based on a still image of the stone wall taken from the surface side of the stone wall before the collapse. Generate a stone wall image. A plurality of adjusted stone images are generated for each of the plurality of stone still images based on the plurality of stone still images taken from the side corresponding to the stone wall surface for each of the plurality of collapsed stones that have collapsed from the stone wall. Each of the plurality of stone-adjusted stone images has a different rotation angle with respect to the stone still image by a predetermined angle, and a magnification with respect to the stone still image differs by a predetermined magnification. By pattern matching each of the generated multiple divided stone wall images and each of the plurality of adjusted stone images corresponding to each of the plurality of stone still images, the positions of the plurality of collapsed stones in the stone wall still image before each collapse and each of them. Acquire the state before collapse including the rotation angle to the posture before collapse. A three-dimensional graphic model of each of the plurality of collapsed stones is generated from the moving images of the stones taken from each of the plurality of collapsed stones from all directions. The stone material 3D graphic model of each of the generated multiple collapsed stone materials is arranged based on the state before the collapse of each of the acquired plurality of collapsed stone materials to generate a stone wall restoration 3D graphic model and output it to the output device.

本実施形態では、上記により、平面上の模型を使用した検討では困難な石材どうしの接合が適切であるか、飼石及び合石の大きさ及び量がどの程度であるかの把握が容易となり、石垣における石材の配置を検討する作業を容易にすることができる。 In the present embodiment, the above makes it easy to grasp whether the joining of stones is appropriate, which is difficult in the examination using a model on a plane, and the size and amount of stones and stones. , It is possible to facilitate the work of examining the arrangement of stone materials in the stone wall.

<第2実施形態>
次に、第2実施形態について説明する。第1実施形態と同様の作用及び構成については同様の参照符号を付し、説明を省略する。
<Second Embodiment>
Next, the second embodiment will be described. The same operations and configurations as those in the first embodiment are designated by the same reference numerals, and the description thereof will be omitted.

第2実施形態では、石垣配置支援装置は、石材3D模型を3Dプリンタで作成し、当該石材3D模型の崩落部分石垣画像における位置及び角度を出力装置に出力することで、石材3D模型を使用した石材の配置検討を支援する。 In the second embodiment, the stone wall arrangement support device uses the stone material 3D model by creating a stone material 3D model with a 3D printer and outputting the position and angle in the collapsed part stone wall image of the stone material 3D model to the output device. Support the examination of stone layout.

<石垣配置支援装置>
図19は、第2実施形態の石垣配置支援装置20のハードウェア構成を例示する。石垣配置支援装置20は、3Dプリンタ76及びマーカプリンタ77を含む点で、第1実施形態の石垣配置支援装置10と相違する。3Dプリンタ76は、石材3D模型を3Dプリントし、マーカプリンタ76は、石材3D模型の各々を識別する識別情報を含むマーカシールをプリントする。マーカシールは石材3D模型に貼り付けられる。
<Ishigaki placement support device>
FIG. 19 illustrates the hardware configuration of the stone wall arrangement support device 20 of the second embodiment. The stone wall placement support device 20 differs from the stone wall placement support device 10 of the first embodiment in that it includes a 3D printer 76 and a marker printer 77. The 3D printer 76 prints the stone 3D model in 3D, and the marker printer 76 prints a marker sticker containing identification information that identifies each of the stone 3D models. The marker sticker is attached to the stone 3D model.

<情報端末>
図20は、第2実施形態の情報端末30のハードウェア構成を例示する。情報端末30は、一例として、図20に示すように、CPU61、一次記憶部62、二次記憶部63、外部インタフェース64、及び通信部65を含む。CPU61は、ハードウェアであるプロセッサの一例である。CPU61、一次記憶部62、二次記憶部63、外部インタフェース64、及び、通信部65は、バス69を介して相互に接続されている。
<Information terminal>
FIG. 20 illustrates the hardware configuration of the information terminal 30 of the second embodiment. As an example, the information terminal 30 includes a CPU 61, a primary storage unit 62, a secondary storage unit 63, an external interface 64, and a communication unit 65, as shown in FIG. The CPU 61 is an example of a processor that is hardware. The CPU 61, the primary storage unit 62, the secondary storage unit 63, the external interface 64, and the communication unit 65 are connected to each other via the bus 69.

一次記憶部62は、例えば、RAMなどの揮発性のメモリである。二次記憶部63は、例えば、HDD、又はSSDなどの不揮発性のメモリである。 The primary storage unit 62 is, for example, a volatile memory such as a RAM. The secondary storage unit 63 is, for example, a non-volatile memory such as an HDD or an SSD.

二次記憶部63は、プログラム格納領域63A及びデータ格納領域63Bを含む。プログラム格納領域63Aは、一例として、配置支援プログラムなどのプログラムを記憶している。データ格納領域63Bは、一例として、配置支援プログラムなどのプログラムを実行した際に生成される中間データなどを記憶している。 The secondary storage unit 63 includes a program storage area 63A and a data storage area 63B. The program storage area 63A stores a program such as an arrangement support program as an example. As an example, the data storage area 63B stores intermediate data generated when a program such as an arrangement support program is executed.

CPU61は、プログラム格納領域63Aから配置支援プログラムを読み出して一次記憶部62に展開する。CPU61は、配置支援プログラムをロードして実行する。 The CPU 61 reads the placement support program from the program storage area 63A and deploys it in the primary storage unit 62. The CPU 61 loads and executes the placement support program.

なお、配置支援プログラムなどのプログラムは、外部サーバに記憶され、ネットワークを介して、一次記憶部62に展開されてもよい。また、配置支援プログラムなどのプログラムは、DVDなどの非一時的記録媒体に記憶され、記録媒体読込装置を介して、一次記憶部62に展開されてもよい。 A program such as an arrangement support program may be stored in an external server and expanded in the primary storage unit 62 via a network. Further, a program such as an arrangement support program may be stored in a non-temporary recording medium such as a DVD and expanded in the primary storage unit 62 via a recording medium reading device.

外部インタフェース64には外部装置が接続され、外部インタフェース64は、外部装置とCPU61との間の各種情報の送受信を司る。図20では、外部インタフェース64に、カメラ82、及びディスプレイ83が有線または無線によって接続されている例を示している。 An external device is connected to the external interface 64, and the external interface 64 controls the transmission and reception of various information between the external device and the CPU 61. FIG. 20 shows an example in which the camera 82 and the display 83 are connected to the external interface 64 by wire or wirelessly.

しかしながら、カメラ82及びディスプレイ83は、外部インタフェース64に接続されていなくてもよいし、カメラ82及びディスプレイ83の内、一方だけが外部インタフェース64に接続されていてもよい。また、カメラ82及びディスプレイ83の内、何れかまたは両方が、情報端末30に内蔵されていてもよいし、ネットワークを介して、情報端末30と離隔した位置に配置されていてもよい。 However, the camera 82 and the display 83 may not be connected to the external interface 64, or only one of the camera 82 and the display 83 may be connected to the external interface 64. Further, either or both of the camera 82 and the display 83 may be built in the information terminal 30, or may be arranged at a position separated from the information terminal 30 via a network.

情報端末30は、携帯可能なスマートデバイスであってもよいし、通信機能を有するデジタルカメラであってもよいし、パーソナルコンピュータなどであってもよい。 The information terminal 30 may be a portable smart device, a digital camera having a communication function, a personal computer, or the like.

<配置支援処理>
図21Aに、第2実施形態の石垣配置支援装置20における配置支援処理#1の流れを例示する。ステップ201〜ステップ204は、図14のステップ201〜204と同様であるため、説明を省略する。CPU51は、ステップ211で、ステップ203で生成された3Dメッシュモデルを使用して、3Dプリンタ76で石材3D模型を3Dプリントする。図22は、3Dプリントされた石材3D模型の一例を示す。石材3D模型は、実物大であってもよく、一定の倍率で縮小された大きさであってもよい。
<Placement support processing>
FIG. 21A illustrates the flow of the placement support process # 1 in the stone wall placement support device 20 of the second embodiment. Since steps 201 to 204 are the same as steps 201 to 204 in FIG. 14, the description thereof will be omitted. In step 211, the CPU 51 3D prints the stone 3D model with the 3D printer 76 using the 3D mesh model generated in step 203. FIG. 22 shows an example of a 3D printed stone 3D model. The stone 3D model may be full-scale or may be reduced in size at a constant magnification.

CPU51は、ステップ212で、図11に例示する配置支援データベースに格納されている石材3D模型を生成する際に使用された3DメッシュモデルのモデルIDに対応する石材IDを表すマーカを生成する。CPU51は、当該マーカを含むマーカシールをマーカプリンタ77でプリントして、配置支援処理#1を終了する。マーカは、例えば、QRコード(登録商標)、バーコード、または、文字列などであってよい。マーカシールは、例えば、ユーザによって石材3D模型に貼り付けられる。 In step 212, the CPU 51 generates a marker representing the stone ID corresponding to the model ID of the 3D mesh model used when generating the stone 3D model stored in the placement support database illustrated in FIG. The CPU 51 prints a marker sticker including the marker with the marker printer 77, and ends the placement support process # 1. The marker may be, for example, a QR code (registered trademark), a barcode, or a character string. The marker sticker is attached to the stone 3D model by the user, for example.

図21Bに、石垣配置支援装置20における配置支援処理#2の流れを例示する。CPU51は、ステップ213で、情報端末30によって送信されるマーカの画像データを、通信部55を介して受信したか否か判定する。CPU51は、ステップ213の判定が肯定されるまでステップ213を繰り返す。 FIG. 21B illustrates the flow of the placement support process # 2 in the Ishigaki placement support device 20. In step 213, the CPU 51 determines whether or not the image data of the marker transmitted by the information terminal 30 has been received via the communication unit 55. The CPU 51 repeats step 213 until the determination in step 213 is affirmed.

ステップ213の判定が肯定されると、CPU51は、ステップ214で、図23に例示するように、配置支援画面をディスプレイ73に表示する。配置支援画面は、例えば、石材ID D1、石材の石垣表面に対応する面を角度分回転させた画像D2、及び、石垣における石材位置を星マーク及び矢印で示す画像D3を含む。石材IDは、マーカの画像データから既存の技術を使用して取得し、角度及び石材位置は、配置支援データベースから、石材IDに基づいて取得する。 If the determination in step 213 is affirmed, the CPU 51 displays the placement support screen on the display 73 in step 214, as illustrated in FIG. The placement support screen includes, for example, a stone ID D1, an image D2 in which the surface of the stone corresponding to the stone wall surface is rotated by an angle, and an image D3 in which the stone position in the stone wall is indicated by a star mark and an arrow. The stone ID is acquired from the image data of the marker using the existing technique, and the angle and the stone position are acquired from the placement support database based on the stone ID.

ユーザは、表示された情報を参照して、石材3D模型の位置及び角度を決定し、積み重ねることにより、図15に例示した、ディスプレイ73の画面に表示された石垣3Dグラフィックモデルと同様の復元石垣3D模型を作成することができる。 The user determines the position and angle of the stone 3D model with reference to the displayed information, and by stacking the stone 3D models, the restored stone wall similar to the stone wall 3D graphic model displayed on the screen of the display 73 illustrated in FIG. 15 is restored. You can create a 3D model.

CPU51は、ステップ215で、例えば、ユーザが所定のボタンを選択するなど、終了指示を行ったか否か判定する。ステップ215の判定が否定された場合、CPU51はステップ213に戻る。ステップ215の判定が肯定された場合、CPU51は、配置支援処理#2を終了する。 In step 215, the CPU 51 determines whether or not a termination instruction has been given, for example, by selecting a predetermined button by the user. If the determination in step 215 is denied, the CPU 51 returns to step 213. If the determination in step 215 is affirmed, the CPU 51 ends the placement support process # 2.

図21Cに、第2実施形態の情報端末30における配置支援処理の流れを例示する。ユーザは、カメラ82で、石材3D模型に貼り付けられたマーカシールを撮影する。撮影されたマーカの画像データは、有線または無線接続で外部インタフェース64または通信部65を介して、CPU61に送信される。 FIG. 21C illustrates the flow of placement support processing in the information terminal 30 of the second embodiment. The user photographs the marker sticker attached to the stone 3D model with the camera 82. The captured image data of the marker is transmitted to the CPU 61 via the external interface 64 or the communication unit 65 by a wired or wireless connection.

CPU61は、ステップ221で、マーカの画像データを受信したか否か判定する。CPU61は、ステップ221の判定が肯定されるまで、ステップ221を繰り返す。ステップ221の判定が肯定されると、CPU61は、通信部65を介して、マーカの画像データを石垣配置支援装置20に送信して、配置支援処理を終了する。 In step 221 the CPU 61 determines whether or not the image data of the marker has been received. The CPU 61 repeats step 221 until the determination in step 221 is affirmed. When the determination in step 221 is affirmed, the CPU 61 transmits the image data of the marker to the Ishigaki placement support device 20 via the communication unit 65, and ends the placement support process.

なお、情報端末30に代えて、カメラ72でマーカシールを撮影するようにしてもよい。カメラ72で撮影されたマーカの画像データは、外部インタフェース54または通信部55を介して、有線または無線接続でCPU51に送信される。また、図23に例示した配置支援画面は、一例であり、例えば、位置及び角度は数値で表されてもよい。 Instead of the information terminal 30, the camera 72 may take a picture of the marker sticker. The image data of the marker taken by the camera 72 is transmitted to the CPU 51 by wire or wireless connection via the external interface 54 or the communication unit 55. Further, the arrangement support screen illustrated in FIG. 23 is an example, and for example, the position and the angle may be represented numerically.

なお、マーカシールをプリントする代わりに、石材IDをディスプレイに表示し、ユーザが表示された石材IDを参照し、手書きで石材3D模型に石材IDを書き込めるようにしてもよい。この場合も、手書きされた石材IDを撮影することで、既存の手書き文字認識技術を使用して、石材IDを取得することができる。 Instead of printing the marker sticker, the stone ID may be displayed on the display so that the user can refer to the displayed stone ID and handwrite the stone ID on the stone 3D model. Also in this case, by photographing the handwritten stone ID, the stone ID can be acquired by using the existing handwritten character recognition technique.

なお、図3、4、14、21A、21B、21Cのフローチャートは、一例であり、処理の順序は、適宜変更されてもよい。 The flowcharts of FIGS. 3, 4, 14, 21A, 21B, and 21C are examples, and the order of processing may be changed as appropriate.

なお、本実施形態において、プロセッサとしてCPUを例示したが、プロセッサはCPUに限定されない。例えば、プロセッサは、Field-Programmable Gate Array(FPGA)等の製造後に回路構成を変更可能なProgrammable Logic Device(PLD)、及びGraphics Processing Unit(GPU)などであってもよい。これらの各種のプロセッサのうちの1つが単独で使用されてもよいし、同種又は異種の2つ以上のプロセッサが組み合わせて使用されてもよい。 In the present embodiment, the CPU is exemplified as the processor, but the processor is not limited to the CPU. For example, the processor may be a Programmable Logic Device (PLD) whose circuit configuration can be changed after manufacturing such as a Field-Programmable Gate Array (FPGA), a Graphics Processing Unit (GPU), or the like. One of these various processors may be used alone, or two or more processors of the same type or different types may be used in combination.

本実施形態では、崩落前の石垣を石垣表面側から撮影した石垣静止画像に基づいて、隣接ブロックが相互に重複部分を有する複数のブロック内の画像である複数の分割石垣画像を生成する。石垣から崩落した複数の崩落石材の各々を、石垣表面に対応する側から撮影した複数の石材静止画像に基づいて、複数の調整石材画像を生成する。複数の調整石材画像は、複数の石材静止画像の各々について、各々、石材静止画像に対する回転角が所定角度ずつ異なり、かつ石材静止画像に対する倍率が所定倍率ずつ異なる。生成した複数の分割石垣画像の各々と複数の石材静止画像の各々に対応する複数の調整石材画像の各々とのパターンマッチングにより、石垣静止画像における複数の崩落石材各々の崩落前の位置及び各々の崩落前の姿勢への回転角度を含む崩落前状態を取得する。複数の崩落石材の各々を全方位から撮影した石材動画像から、複数の崩落石材各々の石材3次元モデルを生成し、複数の崩落石材の石材3次元モデルの各々に基づいて複数の石材3次元模型を作成する。崩落前状態に基づいて、複数の3次元模型の各々の崩落前の位置及び崩落前の姿勢への回転角度に関する情報を出力装置に出力する。 In the present embodiment, a plurality of divided stone wall images, which are images in a plurality of blocks in which adjacent blocks have overlapping portions with each other, are generated based on a stone wall still image taken from the stone wall surface side before the collapse. For each of the plurality of collapsed stone materials that have collapsed from the stone wall, a plurality of adjusted stone material images are generated based on the plurality of stone material still images taken from the side corresponding to the stone wall surface. The plurality of adjusted stone images differ in the rotation angle with respect to the stone still image by a predetermined angle and the magnification with respect to the stone still image differ by a predetermined magnification for each of the plurality of stone still images. By pattern matching each of the generated multiple divided stone wall images and each of the plurality of adjusted stone images corresponding to each of the plurality of stone still images, the positions of the plurality of collapsed stones in the stone wall still image before each collapse and each of them. Acquire the state before collapse including the rotation angle to the posture before collapse. A three-dimensional model of each of the multiple collapsed stones is generated from the moving images of the stones taken from all directions of each of the plurality of collapsed stones, and a plurality of three-dimensional stones are generated based on each of the three-dimensional models of the multiple collapsed stones. Make a model. Based on the pre-collapse state, information regarding the position of each of the plurality of three-dimensional models before the collapse and the rotation angle to the posture before the collapse is output to the output device.

本実施形態では、上記により、平面状の模型による検討では把握が困難な石材どうしの接合が適切であるか、飼石及び合石の大きさ及び量がどの程度であるかの把握が容易となり、石垣における石材の配置を検討する作業を容易にすることができる。 In the present embodiment, the above makes it easy to grasp whether the joining of stones, which is difficult to grasp by the examination using a flat model, is appropriate, and the size and amount of the stones and stones. , It is possible to facilitate the work of examining the arrangement of stone materials in the stone wall.

また、本実施形態では、ユーザが選択した石材3次元模型をどのように積み重ねればよいかが示されるため、作業の促進を図ることができ、ユーザによる石材3次元模型の取り違えなどによる積み重ねの間違いの発生も低減することができる。石材3次元模型を使用するため、3次元グラフィックスの表示の理解に習熟していないユーザであっても、石材どうしの接合が適切であるか、飼石及び合石の大きさ及び量がどの程度であるかの把握が容易である。 Further, in the present embodiment, since it is shown how to stack the stone three-dimensional models selected by the user, the work can be promoted, and the stacking error due to the user's mistake of the stone three-dimensional model or the like can be achieved. Can also be reduced. Since the stone 3D model is used, even if the user is not familiar with understanding the display of 3D graphics, what is the appropriate size and amount of stones and stones to join the stones together? It is easy to grasp the degree.

以上の各実施形態に関し、更に以下の付記を開示する。 The following additional notes will be further disclosed with respect to each of the above embodiments.

(付記1)
崩落前の石垣を石垣表面側から撮影した石垣静止画像に基づいて、隣接ブロックが相互に重複部分を有する複数のブロック内の画像である複数の分割石垣画像を生成し、
前記石垣から崩落した複数の崩落石材の各々を、前記石垣表面に対応する側から撮影した複数の石材静止画像に基づいて、前記複数の石材静止画像の各々について、各々、前記石材静止画像に対する回転角が所定角度ずつ異なり、かつ前記石材静止画像に対する倍率が所定倍率ずつ異なる複数の調整石材画像を生成し、
生成した前記複数の分割石垣画像の各々と前記複数の石材静止画像の各々に対応する前記複数の調整石材画像の各々とのパターンマッチングにより、前記石垣静止画像における前記複数の崩落石材各々の崩落前の位置及び各々の崩落前の姿勢への回転角度を含む崩落前状態を取得し、
前記複数の崩落石材の各々を全方位から撮影した石材動画像から、前記複数の崩落石材各々の石材3次元グラフィックモデルを生成し、生成した前記複数の前記崩落石材各々の前記石材3次元グラフィックモデルを、取得した前記複数の崩落石材各々の崩落前状態に基づいて配置して石垣復元3次元グラフィックモデルを生成して出力装置に出力する、
石垣配置支援処理をコンピュータに実行させるプログラム。
(付記2)
崩落前の石垣を石垣表面側から撮影した石垣静止画像に基づいて、隣接ブロックが相互に重複部分を有する複数のブロック内の画像である複数の分割石垣画像を生成し、
前記石垣から崩落した複数の崩落石材の各々を、前記石垣表面に対応する側から撮影した複数の石材静止画像に基づいて、前記複数の石材静止画像の各々について、各々、前記石材静止画像に対する回転角が所定角度ずつ異なり、かつ前記石材静止画像に対する倍率が所定倍率ずつ異なる複数の調整石材画像を生成し、
生成した前記複数の分割石垣画像の各々と前記複数の石材静止画像の各々に対応する前記複数の調整石材画像の各々とのパターンマッチングにより、前記石垣静止画像における前記複数の崩落石材各々の崩落前の位置及び各々の崩落前の姿勢への回転角度を含む崩落前状態を取得し、
前記複数の崩落石材の各々を全方位から撮影した石材動画像から、前記複数の崩落石材各々の石材3次元モデルを生成し、前記複数の崩落石材の前記石材3次元モデルの各々に基づいて複数の石材3次元模型を作成し、
前記崩落前状態に基づいて、前記複数の3次元模型の各々の前記崩落前の位置及び前記崩落前の姿勢への回転角度に関する情報を出力装置に出力する、
石垣配置支援処理をコンピュータに実行させるプログラム。
(付記3)
前記回転角度に関する情報は、前記石材静止画像を前記回転角度分回転させた静止画像である、
付記2のプログラム。
(付記4)
前記複数の崩落石材の各々の前記崩落前の位置及び前記崩落前の姿勢への回転角度に関する情報と、前記複数の崩落石材の各々を識別する識別情報とを関連付けて記憶し、
前記複数の崩落石材の各々に対応する前記識別情報を表す複数のマーカを作成し、
前記複数の石材3次元模型の各々に付加された前記マーカを撮影することで取得した前記識別情報に基づいて、前記識別情報に対応する前記崩落前の位置及び前記崩落前の姿勢への回転角度を取得する、
付記2または付記3のプログラム。
(付記5)
コンピュータが、
崩落前の石垣を石垣表面側から撮影した石垣静止画像に基づいて、隣接ブロックが相互に重複部分を有する複数のブロック内の画像である複数の分割石垣画像を生成し、
前記石垣から崩落した複数の崩落石材の各々を、前記石垣表面に対応する側から撮影した複数の石材静止画像に基づいて、前記複数の石材静止画像の各々について、各々、前記石材静止画像に対する回転角が所定角度ずつ異なり、かつ前記石材静止画像に対する倍率が所定倍率ずつ異なる複数の調整石材画像を生成し、
生成した前記複数の分割石垣画像の各々と前記複数の石材静止画像の各々に対応する前記複数の調整石材画像の各々とのパターンマッチングにより、前記石垣静止画像における前記複数の崩落石材各々の崩落前の位置及び各々の崩落前の姿勢への回転角度を含む崩落前状態を取得し、
前記複数の崩落石材の各々を全方位から撮影した石材動画像から、前記複数の崩落石材各々の石材3次元グラフィックモデルを生成し、生成した前記複数の前記崩落石材各々の前記石材3次元グラフィックモデルを、取得した前記複数の崩落石材各々の崩落前状態に基づいて配置して石垣復元3次元グラフィックモデルを生成して出力装置に出力する、
石垣配置支援方法。
(付記6)
コンピュータが、
崩落前の石垣を石垣表面側から撮影した石垣静止画像に基づいて、隣接ブロックが相互に重複部分を有する複数のブロック内の画像である複数の分割石垣画像を生成し、
前記石垣から崩落した複数の崩落石材の各々を、前記石垣表面に対応する側から撮影した複数の石材静止画像に基づいて、前記複数の石材静止画像の各々について、各々、前記石材静止画像に対する回転角が所定角度ずつ異なり、かつ前記石材静止画像に対する倍率が所定倍率ずつ異なる複数の調整石材画像を生成し、
生成した前記複数の分割石垣画像の各々と前記複数の石材静止画像の各々に対応する前記複数の調整石材画像の各々とのパターンマッチングにより、前記石垣静止画像における前記複数の崩落石材各々の崩落前の位置及び各々の崩落前の姿勢への回転角度を含む崩落前状態を取得し、
前記複数の崩落石材の各々を全方位から撮影した石材動画像から、前記複数の崩落石材各々の石材3次元モデルを生成し、前記複数の崩落石材の前記石材3次元モデルの各々に基づいて複数の石材3次元模型を作成し、
前記崩落前状態に基づいて、前記複数の3次元模型の各々の前記崩落前の位置及び前記崩落前の姿勢への回転角度に関する情報を出力装置に出力する、
石垣配置支援方法。
(付記7)
前記回転角度に関する情報は、前記石材静止画像を前記回転角度分回転させた静止画像である、
付記6の石垣配置支援方法。
(付記8)
前記複数の崩落石材の各々の前記崩落前の位置及び前記崩落前の姿勢への回転角度に関する情報と、前記複数の崩落石材の各々を識別する識別情報とを関連付けて記憶し、
前記複数の崩落石材の各々に対応する前記識別情報を表す複数のマーカを作成し、
前記複数の石材3次元模型の各々に付加された前記マーカを撮影することで取得した前記識別情報に基づいて、前記識別情報に対応する前記崩落前の位置及び前記崩落前の姿勢への回転角度を取得する、
付記6または付記7の石垣配置支援方法。
(付記9)
崩落前の石垣を石垣表面側から撮影した石垣静止画像に基づいて、隣接ブロックが相互に重複部分を有する複数のブロック内の画像である複数の分割石垣画像を生成し、前記石垣から崩落した複数の崩落石材の各々を、前記石垣表面に対応する側から撮影した複数の石材静止画像に基づいて、前記複数の石材静止画像の各々について、各々、前記石材静止画像に対する回転角が所定角度ずつ異なり、かつ前記石材静止画像に対する倍率が所定倍率ずつ異なる複数の調整石材画像を生成し、生成した前記複数の分割石垣画像の各々と前記複数の石材静止画像の各々に対応する前記複数の調整石材画像の各々とのパターンマッチングにより、前記石垣静止画像における前記複数の崩落石材各々の崩落前の位置及び各々の崩落前の姿勢への回転角度を含む崩落前状態を取得する位置特定部と、
前記複数の崩落石材の各々を全方位から撮影した石材動画像から、前記複数の崩落石材各々の石材3次元グラフィックモデルを生成し、生成した前記複数の前記崩落石材各々の前記石材3次元グラフィックモデルを、取得した前記複数の崩落石材各々の崩落前状態に基づいて配置して石垣復元3次元グラフィックモデルを生成して出力装置に出力する配置支援部と、
を含む、石垣配置支援装置。
(付記10)
崩落前の石垣を石垣表面側から撮影した石垣静止画像に基づいて、隣接ブロックが相互に重複部分を有する複数のブロック内の画像である複数の分割石垣画像を生成し、前記石垣から崩落した複数の崩落石材の各々を、前記石垣表面に対応する側から撮影した複数の石材静止画像に基づいて、前記複数の石材静止画像の各々について、各々、前記石材静止画像に対する回転角が所定角度ずつ異なり、かつ前記石材静止画像に対する倍率が所定倍率ずつ異なる複数の調整石材画像を生成し、生成した前記複数の分割石垣画像の各々と前記複数の石材静止画像の各々に対応する前記複数の調整石材画像の各々とのパターンマッチングにより、前記石垣静止画像における前記複数の崩落石材各々の崩落前の位置及び各々の崩落前の姿勢への回転角度を含む崩落前状態を取得する位置特定部と、
前記複数の崩落石材の各々を全方位から撮影した石材動画像から、前記複数の崩落石材各々の石材3次元モデルを生成し、前記複数の崩落石材の前記石材3次元モデルの各々に基づいて複数の石材3次元模型を作成し、前記崩落前状態に基づいて、前記複数の3次元模型の各々の前記崩落前の位置及び前記崩落前の姿勢への回転角度に関する情報を出力装置に出力する配置支援部と、
を含む、石垣配置支援装置。
(付記11)
前記回転角度に関する情報は、前記石材静止画像を前記回転角度分回転させた静止画像である、
付記10の石垣配置支援装置。
(付記12)
前記位置特定部は、
前記複数の崩落石材の各々の前記崩落前の位置及び前記崩落前の姿勢への回転角度に関する情報と、前記複数の崩落石材の各々を識別する識別情報とを関連付けて記憶し、
前記配置支援部は、
前記複数の崩落石材の各々に対応する前記識別情報を表す複数のマーカを作成し、
前記複数の石材3次元模型の各々に付加された前記マーカを撮影することで取得した前記識別情報に基づいて、前記識別情報に対応する前記崩落前の位置及び前記崩落前の姿勢への回転角度を取得する、
付記10または付記11の石垣配置支援装置。
(Appendix 1)
Based on the stone wall still image taken from the stone wall surface side before the collapse, a plurality of divided stone wall images, which are images in a plurality of blocks in which adjacent blocks have overlapping parts with each other, are generated.
Each of the plurality of collapsed stones collapsed from the stone wall is rotated with respect to the stone still image for each of the plurality of stone still images based on the plurality of stone still images taken from the side corresponding to the stone wall surface. A plurality of adjusted stone images in which the angles differ by a predetermined angle and the magnification with respect to the stone still image differs by a predetermined magnification are generated.
By pattern matching between each of the generated plurality of divided stone wall images and each of the plurality of adjusted stone image images corresponding to each of the plurality of stone still images, before the collapse of each of the plurality of collapsed stone materials in the stone wall still image. Acquire the pre-collapse state including the position of and the rotation angle to each pre-collapse posture.
A three-dimensional graphic model of each of the plurality of collapsed stones is generated from the moving images of the stones taken from each of the plurality of collapsed stones from all directions, and the three-dimensional graphic model of the stones of each of the plurality of collapsed stones generated. Is arranged based on the state before the collapse of each of the acquired plurality of collapsed stone materials to generate a stone wall restoration 3D graphic model and output it to the output device.
Ishigaki A program that causes a computer to perform placement support processing.
(Appendix 2)
Based on the stone wall still image taken from the stone wall surface side before the collapse, a plurality of divided stone wall images, which are images in a plurality of blocks in which adjacent blocks have overlapping parts with each other, are generated.
Each of the plurality of collapsed stones collapsed from the stone wall is rotated with respect to the stone still image for each of the plurality of stone still images based on the plurality of stone still images taken from the side corresponding to the stone wall surface. A plurality of adjusted stone images in which the angles differ by a predetermined angle and the magnification with respect to the stone still image differs by a predetermined magnification are generated.
By pattern matching between each of the generated plurality of divided stone wall images and each of the plurality of adjusted stone image images corresponding to each of the plurality of stone still images, before the collapse of each of the plurality of collapsed stone materials in the stone wall still image. Acquire the pre-collapse state including the position of and the rotation angle to each pre-collapse posture.
A three-dimensional model of each of the plurality of collapsed stones is generated from the moving images of the stones taken from each of the plurality of collapsed stones from all directions, and a plurality of three-dimensional models of the plurality of collapsed stones are generated based on each of the three-dimensional models of the collapsed stones. Created a three-dimensional model of the stone material of
Based on the pre-collapse state, information regarding the position of each of the plurality of three-dimensional models before the collapse and the rotation angle to the posture before the collapse is output to the output device.
Ishigaki A program that causes a computer to perform placement support processing.
(Appendix 3)
The information regarding the rotation angle is a still image obtained by rotating the stone still image by the rotation angle.
Appendix 2 program.
(Appendix 4)
Information on the position of each of the plurality of collapsed stones before the collapse and the rotation angle to the posture before the collapse is stored in association with the identification information for identifying each of the plurality of collapsed stones.
A plurality of markers representing the identification information corresponding to each of the plurality of collapsed stone materials were created.
Based on the identification information acquired by photographing the markers attached to each of the plurality of stone three-dimensional models, the position before the collapse and the rotation angle to the posture before the collapse corresponding to the identification information. To get,
Appendix 2 or Appendix 3 program.
(Appendix 5)
The computer
Based on the stone wall still image taken from the stone wall surface side before the collapse, a plurality of divided stone wall images, which are images in a plurality of blocks in which adjacent blocks have overlapping parts with each other, are generated.
Each of the plurality of collapsed stones collapsed from the stone wall is rotated with respect to the stone still image for each of the plurality of stone still images based on the plurality of stone still images taken from the side corresponding to the stone wall surface. A plurality of adjusted stone images in which the angles differ by a predetermined angle and the magnification with respect to the stone still image differs by a predetermined magnification are generated.
By pattern matching between each of the generated plurality of divided stone wall images and each of the plurality of adjusted stone image images corresponding to each of the plurality of stone still images, before the collapse of each of the plurality of collapsed stone materials in the stone wall still image. Acquire the pre-collapse state including the position of and the rotation angle to each pre-collapse posture.
A three-dimensional graphic model of each of the plurality of collapsed stones is generated from the moving images of the stones taken from each of the plurality of collapsed stones from all directions, and the three-dimensional graphic model of the stones of each of the plurality of collapsed stones generated. Is arranged based on the state before the collapse of each of the acquired plurality of collapsed stone materials to generate a stone wall restoration 3D graphic model and output it to the output device.
Ishigaki placement support method.
(Appendix 6)
The computer
Based on the stone wall still image taken from the stone wall surface side before the collapse, a plurality of divided stone wall images, which are images in a plurality of blocks in which adjacent blocks have overlapping parts with each other, are generated.
Each of the plurality of collapsed stones collapsed from the stone wall is rotated with respect to the stone still image for each of the plurality of stone still images based on the plurality of stone still images taken from the side corresponding to the stone wall surface. A plurality of adjusted stone images in which the angles differ by a predetermined angle and the magnification with respect to the stone still image differs by a predetermined magnification are generated.
By pattern matching between each of the generated plurality of divided stone wall images and each of the plurality of adjusted stone image images corresponding to each of the plurality of stone still images, before the collapse of each of the plurality of collapsed stone materials in the stone wall still image. Acquire the pre-collapse state including the position of and the rotation angle to each pre-collapse posture.
A three-dimensional model of each of the plurality of collapsed stones is generated from the moving images of the stones taken from each of the plurality of collapsed stones from all directions, and a plurality of three-dimensional models of the plurality of collapsed stones are generated based on each of the three-dimensional models of the collapsed stones. Created a three-dimensional model of the stone material of
Based on the pre-collapse state, information regarding the position of each of the plurality of three-dimensional models before the collapse and the rotation angle to the posture before the collapse is output to the output device.
Ishigaki placement support method.
(Appendix 7)
The information regarding the rotation angle is a still image obtained by rotating the stone still image by the rotation angle.
Appendix 6 Ishigaki placement support method.
(Appendix 8)
Information on the position of each of the plurality of collapsed stones before the collapse and the rotation angle to the posture before the collapse is stored in association with the identification information for identifying each of the plurality of collapsed stones.
A plurality of markers representing the identification information corresponding to each of the plurality of collapsed stone materials were created.
Based on the identification information acquired by photographing the markers attached to each of the plurality of stone three-dimensional models, the position before the collapse and the rotation angle to the posture before the collapse corresponding to the identification information. To get,
The stone wall placement support method of Appendix 6 or Appendix 7.
(Appendix 9)
Based on the stone wall still image of the stone wall before the collapse from the surface side of the stone wall, a plurality of divided stone wall images which are images in a plurality of blocks in which adjacent blocks have overlapping parts are generated, and a plurality of images collapsed from the stone wall. Based on a plurality of stone still images taken from the side corresponding to the stone wall surface, the rotation angle of each of the plurality of stone still images differs by a predetermined angle with respect to the stone still image. In addition, a plurality of adjusted stone images having different magnifications with respect to the stone still image are generated, and the plurality of adjusted stone images corresponding to each of the generated divided stone wall images and each of the plurality of stone still images are generated. By pattern matching with each of the above, a position specifying part for acquiring the position before the collapse of each of the plurality of collapsed stone materials in the stone wall still image and the rotation angle to the posture before the collapse, and the position specifying part including the rotation angle to the posture before the collapse.
A three-dimensional graphic model of each of the plurality of collapsed stones is generated from the moving images of the stones taken from each of the plurality of collapsed stones from all directions, and the three-dimensional graphic model of the stones of each of the plurality of collapsed stones generated. Is arranged based on the state before the collapse of each of the acquired plurality of collapsed stone materials, and the stone wall restoration 3D graphic model is generated and output to the output device.
Ishigaki placement support device, including.
(Appendix 10)
Based on the stone wall still image of the stone wall before the collapse from the surface side of the stone wall, a plurality of divided stone wall images which are images in a plurality of blocks in which adjacent blocks have overlapping parts are generated, and a plurality of images collapsed from the stone wall. Based on a plurality of stone still images taken from the side corresponding to the stone wall surface, the rotation angle of each of the plurality of stone still images differs by a predetermined angle with respect to the stone still image. In addition, a plurality of adjusted stone images having different magnifications with respect to the stone still image are generated, and the plurality of adjusted stone images corresponding to each of the generated divided stone wall images and each of the plurality of stone still images are generated. By pattern matching with each of the above, a position specifying part for acquiring the position before the collapse of each of the plurality of collapsed stone materials in the stone wall still image and the rotation angle to the posture before the collapse, and the position specifying part including the rotation angle to the posture before the collapse.
A three-dimensional stone model of each of the plurality of collapsed stones is generated from the moving images of the stones taken from each of the plurality of collapsed stones from all directions, and a plurality of three-dimensional models of the plurality of collapsed stones are generated based on each of the three-dimensional models of the collapsed stones. A three-dimensional model of the stone material is created, and based on the pre-collapse state, information regarding the position of each of the plurality of three-dimensional models before the collapse and the rotation angle to the posture before the collapse is output to the output device. With the support department
Ishigaki placement support device, including.
(Appendix 11)
The information regarding the rotation angle is a still image obtained by rotating the stone still image by the rotation angle.
Appendix 10 stone wall placement support device.
(Appendix 12)
The position specifying part is
Information on the position of each of the plurality of collapsed stones before the collapse and the rotation angle to the posture before the collapse is stored in association with the identification information for identifying each of the plurality of collapsed stones.
The placement support department
A plurality of markers representing the identification information corresponding to each of the plurality of collapsed stone materials were created.
Based on the identification information acquired by photographing the markers attached to each of the plurality of stone three-dimensional models, the position before the collapse and the rotation angle to the posture before the collapse corresponding to the identification information. To get,
The stone wall placement support device of Appendix 10 or Appendix 11.

10 石垣配置支援装置
11 位置特定部
12 配置支援部
51 CPU
52 一次記憶部
53 二次記憶部
10 Ishigaki placement support device 11 Position identification unit 12 Placement support unit 51 CPU
52 Primary storage 53 Secondary storage

Claims (8)

崩落前の石垣を石垣表面側から撮影した石垣静止画像に基づいて、隣接ブロックが相互に重複部分を有する複数のブロック内の画像である複数の分割石垣画像を生成し、
前記石垣から崩落した複数の崩落石材の各々を、前記石垣表面に対応する側から撮影した複数の石材静止画像に基づいて、前記複数の石材静止画像の各々について、各々、前記石材静止画像に対する回転角が所定角度ずつ異なり、かつ前記石材静止画像に対する倍率が所定倍率ずつ異なる複数の調整石材画像を生成し、
生成した前記複数の分割石垣画像の各々と前記複数の石材静止画像の各々に対応する前記複数の調整石材画像の各々とのパターンマッチングにより、前記石垣静止画像における前記複数の崩落石材各々の崩落前の位置及び各々の崩落前の姿勢への回転角度を含む崩落前状態を取得し、
前記複数の崩落石材の各々を全方位から撮影した石材動画像から、前記複数の崩落石材各々の石材3次元グラフィックモデルを生成し、生成した前記複数の前記崩落石材各々の前記石材3次元グラフィックモデルを、取得した前記複数の崩落石材各々の崩落前状態に基づいて配置して石垣復元3次元グラフィックモデルを生成して出力装置に出力する、
石垣配置支援処理をコンピュータに実行させるプログラム。
Based on the stone wall still image taken from the stone wall surface side before the collapse, a plurality of divided stone wall images, which are images in a plurality of blocks in which adjacent blocks have overlapping parts with each other, are generated.
Each of the plurality of collapsed stones collapsed from the stone wall is rotated with respect to the stone still image for each of the plurality of stone still images based on the plurality of stone still images taken from the side corresponding to the stone wall surface. A plurality of adjusted stone images in which the angles differ by a predetermined angle and the magnification with respect to the stone still image differs by a predetermined magnification are generated.
By pattern matching between each of the generated plurality of divided stone wall images and each of the plurality of adjusted stone image images corresponding to each of the plurality of stone still images, before the collapse of each of the plurality of collapsed stone materials in the stone wall still image. Acquire the pre-collapse state including the position of and the rotation angle to each pre-collapse posture.
A three-dimensional graphic model of each of the plurality of collapsed stones is generated from the moving images of the stones taken from each of the plurality of collapsed stones from all directions, and the three-dimensional graphic model of the stones of each of the plurality of collapsed stones generated. Is arranged based on the state before the collapse of each of the acquired plurality of collapsed stone materials to generate a stone wall restoration 3D graphic model and output it to the output device.
Ishigaki A program that causes a computer to perform placement support processing.
崩落前の石垣を石垣表面側から撮影した石垣静止画像に基づいて、隣接ブロックが相互に重複部分を有する複数のブロック内の画像である複数の分割石垣画像を生成し、
前記石垣から崩落した複数の崩落石材の各々を、前記石垣表面に対応する側から撮影した複数の石材静止画像に基づいて、前記複数の石材静止画像の各々について、各々、前記石材静止画像に対する回転角が所定角度ずつ異なり、かつ前記石材静止画像に対する倍率が所定倍率ずつ異なる複数の調整石材画像を生成し、
生成した前記複数の分割石垣画像の各々と前記複数の石材静止画像の各々に対応する前記複数の調整石材画像の各々とのパターンマッチングにより、前記石垣静止画像における前記複数の崩落石材各々の崩落前の位置及び各々の崩落前の姿勢への回転角度を含む崩落前状態を取得し、
前記複数の崩落石材の各々を全方位から撮影した石材動画像から、前記複数の崩落石材各々の石材3次元モデルを生成し、前記複数の崩落石材の前記石材3次元モデルの各々に基づいて複数の石材3次元模型を作成し、
前記崩落前状態に基づいて、前記複数の3次元模型の各々の前記崩落前の位置及び前記崩落前の姿勢への回転角度に関する情報を出力装置に出力する、
石垣配置支援処理をコンピュータに実行させるプログラム。
Based on the stone wall still image taken from the stone wall surface side before the collapse, a plurality of divided stone wall images, which are images in a plurality of blocks in which adjacent blocks have overlapping parts with each other, are generated.
Each of the plurality of collapsed stones collapsed from the stone wall is rotated with respect to the stone still image for each of the plurality of stone still images based on the plurality of stone still images taken from the side corresponding to the stone wall surface. A plurality of adjusted stone images in which the angles differ by a predetermined angle and the magnification with respect to the stone still image differs by a predetermined magnification are generated.
By pattern matching between each of the generated plurality of divided stone wall images and each of the plurality of adjusted stone image images corresponding to each of the plurality of stone still images, before the collapse of each of the plurality of collapsed stone materials in the stone wall still image. Acquire the pre-collapse state including the position of and the rotation angle to each pre-collapse posture.
A three-dimensional model of each of the plurality of collapsed stones is generated from the moving images of the stones taken from each of the plurality of collapsed stones from all directions, and a plurality of three-dimensional models of the plurality of collapsed stones are generated based on each of the three-dimensional models of the collapsed stones. Created a three-dimensional model of the stone material of
Based on the pre-collapse state, information regarding the position of each of the plurality of three-dimensional models before the collapse and the rotation angle to the posture before the collapse is output to the output device.
Ishigaki A program that causes a computer to perform placement support processing.
前記回転角度に関する情報は、前記石材静止画像を前記回転角度分回転させた静止画像である、
請求項2に記載のプログラム。
The information regarding the rotation angle is a still image obtained by rotating the stone still image by the rotation angle.
The program according to claim 2.
前記複数の崩落石材の各々の前記崩落前の位置及び前記崩落前の姿勢への回転角度に関する情報と、前記複数の崩落石材の各々を識別する識別情報とを関連付けて記憶し、
前記複数の崩落石材の各々に対応する前記識別情報を表す複数のマーカを作成し、
前記複数の石材3次元模型の各々に付加された前記マーカを撮影することで取得した前記識別情報に基づいて、前記識別情報に対応する前記崩落前の位置及び前記崩落前の姿勢への回転角度を取得する、
請求項2または請求項3に記載のプログラム。
Information on the position of each of the plurality of collapsed stones before the collapse and the rotation angle to the posture before the collapse is stored in association with the identification information for identifying each of the plurality of collapsed stones.
A plurality of markers representing the identification information corresponding to each of the plurality of collapsed stone materials were created.
Based on the identification information acquired by photographing the markers attached to each of the plurality of stone three-dimensional models, the position before the collapse and the rotation angle to the posture before the collapse corresponding to the identification information. To get,
The program according to claim 2 or 3.
コンピュータが、
崩落前の石垣を石垣表面側から撮影した石垣静止画像に基づいて、隣接ブロックが相互に重複部分を有する複数のブロック内の画像である複数の分割石垣画像を生成し、
前記石垣から崩落した複数の崩落石材の各々を、前記石垣表面に対応する側から撮影した複数の石材静止画像に基づいて、前記複数の石材静止画像の各々について、各々、前記石材静止画像に対する回転角が所定角度ずつ異なり、かつ前記石材静止画像に対する倍率が所定倍率ずつ異なる複数の調整石材画像を生成し、
生成した前記複数の分割石垣画像の各々と前記複数の石材静止画像の各々に対応する前記複数の調整石材画像の各々とのパターンマッチングにより、前記石垣静止画像における前記複数の崩落石材各々の崩落前の位置及び各々の崩落前の姿勢への回転角度を含む崩落前状態を取得し、
前記複数の崩落石材の各々を全方位から撮影した石材動画像から、前記複数の崩落石材各々の石材3次元グラフィックモデルを生成し、生成した前記複数の前記崩落石材各々の前記石材3次元グラフィックモデルを、取得した前記複数の崩落石材各々の崩落前状態に基づいて配置して石垣復元3次元グラフィックモデルを生成して出力装置に出力する、
石垣配置支援方法。
The computer
Based on the stone wall still image taken from the stone wall surface side before the collapse, a plurality of divided stone wall images, which are images in a plurality of blocks in which adjacent blocks have overlapping parts with each other, are generated.
Each of the plurality of collapsed stones collapsed from the stone wall is rotated with respect to the stone still image for each of the plurality of stone still images based on the plurality of stone still images taken from the side corresponding to the stone wall surface. A plurality of adjusted stone images in which the angles differ by a predetermined angle and the magnification with respect to the stone still image differs by a predetermined magnification are generated.
By pattern matching between each of the generated plurality of divided stone wall images and each of the plurality of adjusted stone image images corresponding to each of the plurality of stone still images, before the collapse of each of the plurality of collapsed stone materials in the stone wall still image. Acquire the pre-collapse state including the position of and the rotation angle to each pre-collapse posture.
A three-dimensional graphic model of each of the plurality of collapsed stones is generated from the moving images of the stones taken from each of the plurality of collapsed stones from all directions, and the three-dimensional graphic model of the stones of each of the plurality of collapsed stones generated. Is arranged based on the state before the collapse of each of the acquired plurality of collapsed stone materials to generate a stone wall restoration 3D graphic model and output it to the output device.
Ishigaki placement support method.
コンピュータが、
崩落前の石垣を石垣表面側から撮影した石垣静止画像に基づいて、隣接ブロックが相互に重複部分を有する複数のブロック内の画像である複数の分割石垣画像を生成し、
前記石垣から崩落した複数の崩落石材の各々を、前記石垣表面に対応する側から撮影した複数の石材静止画像に基づいて、前記複数の石材静止画像の各々について、各々、前記石材静止画像に対する回転角が所定角度ずつ異なり、かつ前記石材静止画像に対する倍率が所定倍率ずつ異なる複数の調整石材画像を生成し、
生成した前記複数の分割石垣画像の各々と前記複数の石材静止画像の各々に対応する前記複数の調整石材画像の各々とのパターンマッチングにより、前記石垣静止画像における前記複数の崩落石材各々の崩落前の位置及び各々の崩落前の姿勢への回転角度を含む崩落前状態を取得し、
前記複数の崩落石材の各々を全方位から撮影した石材動画像から、前記複数の崩落石材各々の石材3次元モデルを生成し、前記複数の崩落石材の前記石材3次元モデルの各々に基づいて複数の石材3次元模型を作成し、
前記崩落前状態に基づいて、前記複数の3次元模型の各々の前記崩落前の位置及び前記崩落前の姿勢への回転角度に関する情報を出力装置に出力する、
石垣配置支援方法。
The computer
Based on the stone wall still image taken from the stone wall surface side before the collapse, a plurality of divided stone wall images, which are images in a plurality of blocks in which adjacent blocks have overlapping parts with each other, are generated.
Each of the plurality of collapsed stones collapsed from the stone wall is rotated with respect to the stone still image for each of the plurality of stone still images based on the plurality of stone still images taken from the side corresponding to the stone wall surface. A plurality of adjusted stone images in which the angles differ by a predetermined angle and the magnification with respect to the stone still image differs by a predetermined magnification are generated.
By pattern matching between each of the generated plurality of divided stone wall images and each of the plurality of adjusted stone image images corresponding to each of the plurality of stone still images, before the collapse of each of the plurality of collapsed stone materials in the stone wall still image. Acquire the pre-collapse state including the position of and the rotation angle to each pre-collapse posture.
A three-dimensional model of each of the plurality of collapsed stones is generated from the moving images of the stones taken from each of the plurality of collapsed stones from all directions, and a plurality of three-dimensional models of the plurality of collapsed stones are generated based on each of the three-dimensional models of the collapsed stones. Created a three-dimensional model of the stone material of
Based on the pre-collapse state, information regarding the position of each of the plurality of three-dimensional models before the collapse and the rotation angle to the posture before the collapse is output to the output device.
Ishigaki placement support method.
崩落前の石垣を石垣表面側から撮影した石垣静止画像に基づいて、隣接ブロックが相互に重複部分を有する複数のブロック内の画像である複数の分割石垣画像を生成し、前記石垣から崩落した複数の崩落石材の各々を、前記石垣表面に対応する側から撮影した複数の石材静止画像に基づいて、前記複数の石材静止画像の各々について、各々、前記石材静止画像に対する回転角が所定角度ずつ異なり、かつ前記石材静止画像に対する倍率が所定倍率ずつ異なる複数の調整石材画像を生成し、生成した前記複数の分割石垣画像の各々と前記複数の石材静止画像の各々に対応する前記複数の調整石材画像の各々とのパターンマッチングにより、前記石垣静止画像における前記複数の崩落石材各々の崩落前の位置及び各々の崩落前の姿勢への回転角度を含む崩落前状態を取得する位置特定部と、
前記複数の崩落石材の各々を全方位から撮影した石材動画像から、前記複数の崩落石材各々の石材3次元グラフィックモデルを生成し、生成した前記複数の前記崩落石材各々の前記石材3次元グラフィックモデルを、取得した前記複数の崩落石材各々の崩落前状態に基づいて配置して石垣復元3次元グラフィックモデルを生成して出力装置に出力する配置支援部と、
を含む、石垣配置支援装置。
Based on the stone wall still image of the stone wall before the collapse from the surface side of the stone wall, a plurality of divided stone wall images which are images in a plurality of blocks in which adjacent blocks have overlapping parts are generated, and a plurality of images collapsed from the stone wall. Based on a plurality of stone still images taken from the side corresponding to the stone wall surface, the rotation angle of each of the plurality of stone still images differs by a predetermined angle with respect to the stone still image. In addition, a plurality of adjusted stone images having different magnifications with respect to the stone still image are generated, and the plurality of adjusted stone images corresponding to each of the generated divided stone wall images and each of the plurality of stone still images are generated. By pattern matching with each of the above, a position specifying part for acquiring the position before the collapse of each of the plurality of collapsed stone materials in the stone wall still image and the rotation angle to the posture before the collapse, and the position specifying part including the rotation angle to the posture before the collapse.
A three-dimensional graphic model of each of the plurality of collapsed stones is generated from the moving images of the stones taken from each of the plurality of collapsed stones from all directions, and the three-dimensional graphic model of the stones of each of the plurality of collapsed stones generated. Is arranged based on the state before the collapse of each of the acquired plurality of collapsed stone materials, and the stone wall restoration 3D graphic model is generated and output to the output device.
Ishigaki placement support device, including.
崩落前の石垣を石垣表面側から撮影した石垣静止画像に基づいて、隣接ブロックが相互に重複部分を有する複数のブロック内の画像である複数の分割石垣画像を生成し、前記石垣から崩落した複数の崩落石材の各々を、前記石垣表面に対応する側から撮影した複数の石材静止画像に基づいて、前記複数の石材静止画像の各々について、各々、前記石材静止画像に対する回転角が所定角度ずつ異なり、かつ前記石材静止画像に対する倍率が所定倍率ずつ異なる複数の調整石材画像を生成し、生成した前記複数の分割石垣画像の各々と前記複数の石材静止画像の各々に対応する前記複数の調整石材画像の各々とのパターンマッチングにより、前記石垣静止画像における前記複数の崩落石材各々の崩落前の位置及び各々の崩落前の姿勢への回転角度を含む崩落前状態を取得する位置特定部と、
前記複数の崩落石材の各々を全方位から撮影した石材動画像から、前記複数の崩落石材各々の石材3次元モデルを生成し、前記複数の崩落石材の前記石材3次元モデルの各々に基づいて複数の石材3次元模型を作成し、前記崩落前状態に基づいて、前記複数の3次元模型の各々の前記崩落前の位置及び前記崩落前の姿勢への回転角度に関する情報を出力装置に出力する配置支援部と、
を含む、石垣配置支援装置。
Based on the stone wall still image of the stone wall before the collapse from the surface side of the stone wall, a plurality of divided stone wall images which are images in a plurality of blocks in which adjacent blocks have overlapping parts are generated, and a plurality of images collapsed from the stone wall. Based on a plurality of stone still images taken from the side corresponding to the stone wall surface, the rotation angle of each of the plurality of stone still images differs by a predetermined angle with respect to the stone still image. In addition, a plurality of adjusted stone images having different magnifications with respect to the stone still image are generated, and the plurality of adjusted stone images corresponding to each of the generated divided stone wall images and each of the plurality of stone still images are generated. By pattern matching with each of the above, a position specifying part for acquiring the position before the collapse of each of the plurality of collapsed stone materials in the stone wall still image and the rotation angle to the posture before the collapse, and the position specifying part including the rotation angle to the posture before the collapse.
A three-dimensional stone model of each of the plurality of collapsed stones is generated from the moving images of the stones taken from each of the plurality of collapsed stones from all directions, and a plurality of three-dimensional models of the plurality of collapsed stones are generated based on each of the three-dimensional models of the collapsed stones. A three-dimensional model of the stone material is created, and based on the pre-collapse state, information regarding the position of each of the plurality of three-dimensional models before the collapse and the rotation angle to the posture before the collapse is output to the output device. With the support department
Ishigaki placement support device, including.
JP2019176448A 2019-09-27 2019-09-27 Stone wall placement support program, stone wall placement support method, and stone wall placement support device Active JP7268560B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019176448A JP7268560B2 (en) 2019-09-27 2019-09-27 Stone wall placement support program, stone wall placement support method, and stone wall placement support device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019176448A JP7268560B2 (en) 2019-09-27 2019-09-27 Stone wall placement support program, stone wall placement support method, and stone wall placement support device

Publications (2)

Publication Number Publication Date
JP2021055266A true JP2021055266A (en) 2021-04-08
JP7268560B2 JP7268560B2 (en) 2023-05-08

Family

ID=75269991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019176448A Active JP7268560B2 (en) 2019-09-27 2019-09-27 Stone wall placement support program, stone wall placement support method, and stone wall placement support device

Country Status (1)

Country Link
JP (1) JP7268560B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000160579A (en) * 1998-11-26 2000-06-13 Kajima Corp Stone wall restoring construction method
JP2004094518A (en) * 2002-08-30 2004-03-25 Oki Electric Ind Co Ltd Figure tracing device and figure tracing method and its program
WO2010116763A1 (en) * 2009-04-10 2010-10-14 パナソニック株式会社 Object detection device, object detection system, integrated circuit for object detection, camera with object detection function, and object detection method
JP2011065349A (en) * 2009-09-16 2011-03-31 Hazama Corp Method for managing demolished stone
JP2019095821A (en) * 2017-11-17 2019-06-20 株式会社パスコ Stone wall management system, stone wall management method, and computer program
JP2020165114A (en) * 2019-03-28 2020-10-08 富士通株式会社 Stone location locating program, stone location locating system, and stone location locating device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000160579A (en) * 1998-11-26 2000-06-13 Kajima Corp Stone wall restoring construction method
JP2004094518A (en) * 2002-08-30 2004-03-25 Oki Electric Ind Co Ltd Figure tracing device and figure tracing method and its program
WO2010116763A1 (en) * 2009-04-10 2010-10-14 パナソニック株式会社 Object detection device, object detection system, integrated circuit for object detection, camera with object detection function, and object detection method
JP2011065349A (en) * 2009-09-16 2011-03-31 Hazama Corp Method for managing demolished stone
JP2019095821A (en) * 2017-11-17 2019-06-20 株式会社パスコ Stone wall management system, stone wall management method, and computer program
JP2020165114A (en) * 2019-03-28 2020-10-08 富士通株式会社 Stone location locating program, stone location locating system, and stone location locating device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"熊本城における、崩落前の石垣石材位置を特定する画像処理技術の実証実験を完了 (富士通株式会社、株式会社", プレスリリース, JPN7023001139, 11 March 2019 (2019-03-11), ISSN: 0005016501 *
"石垣復元を効率化 雄測量設計がシステム開発", 山梨建設新聞, JPN7023001141, 8 December 2018 (2018-12-08), ISSN: 0005016503 *
戸田 真志他: "解説 認識・検出 (画像処理技術を用いた熊本城石垣復興支援のための石材輪郭抽出 Stone Contour Extrac", 画像ラボ, vol. 第30巻 第6号, JPN7023001140, 10 June 2019 (2019-06-10), pages 53 - 58, ISSN: 0005016502 *

Also Published As

Publication number Publication date
JP7268560B2 (en) 2023-05-08

Similar Documents

Publication Publication Date Title
Burger et al. Digital image processing: An algorithmic introduction
Solem Programming Computer Vision with Python: Tools and algorithms for analyzing images
JP6176598B2 (en) Dimension measurement program, dimension measurement apparatus, and dimension measurement method
GB2559446A (en) Generating a three-dimensional model from a scanned object
CN101689308B (en) Imparting three-dimensional characteristics in a two-dimensional space
CN106997613B (en) 3D model generation from 2D images
JP2017130146A (en) Image management apparatus, image management method and program
JP6293386B2 (en) Data processing apparatus, data processing method, and data processing program
US11314400B2 (en) Unified digital content selection system for vector and raster graphics
JP6918306B2 (en) Photo management equipment, photo management methods, and programs
JP6432871B2 (en) Book digitization method and book digitization apparatus
CN110956147B (en) Method and device for generating training data
US10444959B2 (en) Method and apparatus for managing multiple views for graphics data
US10430458B2 (en) Automated data extraction from a chart from user screen selections
JP7268560B2 (en) Stone wall placement support program, stone wall placement support method, and stone wall placement support device
US20230259270A1 (en) Systems and methods for managing digital notes
KR100943451B1 (en) System for manufacturing ortho image using tiff format of dem-tiff and method therefor
WO2021176877A1 (en) Image processing device, image processing method, and image processing program
Gupta et al. Image feature detection using an improved implementation of maximally stable extremal regions for augmented reality applications
JP2005227929A (en) Processing method for photography image of object, image display system, program and recording medium
JP2007241370A (en) Portable device and imaging device
JP6617873B2 (en) Copy paste method, program
AU2019213404B2 (en) Unified selection model for vector and raster graphics
JP6795770B2 (en) Information processing device and its processing method and program
US20230306763A1 (en) Image processing method, image processing apparatus, and image processing system

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20210823

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20211007

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220609

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20230206

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20230206

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230228

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230404

R150 Certificate of patent or registration of utility model

Ref document number: 7268560

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150