基盤技術構築Fundamental Technology

形状の陰関数表現に基づく写真測量 × 全自動数値解析

Integrating Photogrammetry and Fully Automated Numerical Analysis via Implicit Shape Representations

研究概要

背景・動機:

現実の世界を計算機の中に再現し、そこで起こる現象を予測する。数値解析と観測データを結び付けるデジタルツインは、ものづくりや防災、ロボットの行動を支える技術として期待されています。しかし、目の前の対象を解析しようとすると、形状を取り込み、計算のための小さな領域に分割し、物理条件を与えるという準備が必要です。複雑な実物や自然環境では、この解析モデル作成に多くの時間と専門知識を要することが、社会実装を阻む大きなボトルネックの一つになっています。

この課題の根には、複雑な形状とそこで起こる力学現象を、有限の計算資源でどのように表現するかという数理の問題があります。本研究では、形状の表し方と数値解析の方法を一体として捉え直し、現実の世界を計算へつなぐ基盤技術の構築に取り組んでいます。

風景を、そのまま計算へ:

カメラで捉えた風景から、その場所を流れる水や、物体の周囲に広がる音まで計算する。私たちが目指すのは、そのような「視たものをまるごと数値解析する技術」です。設計図のない自然環境や、身の回りの複雑な実物を、観測した姿から力学の計算へとつなげたいと考えています。

出発点となるのは、複数の視点から撮影した写真を使い、物体や空間の三次元形状を復元する写真測量です。復元した形状を数値解析に直接利用できれば、その場にどのような流れや音が生じるのかを、現実の形状に即して調べられます。

形状を関数で表し、計算につなぐ:

鍵になるのが、形状を空間上の関数として記述する「陰関数表現」です。例えば、物体表面からの距離に内外を区別する符号を与えた符号付き距離関数を使えば、値がゼロになる位置が表面を表します。複雑な凹凸や、つながり方の異なる形状も、空間中の関数の値を通じて扱えるようになります。

この形状表現を、物体の境界に沿わない格子でも解析できる「埋め込み境界法」と組み合わせます。ここでは、対象を覆う規則的な格子を使い、写真から学習した形状の情報によって、物体表面で満たすべき条件を計算に組み込みます。複雑な表面に沿って解析メッシュを作る工程を介さず、写真から得られた形状を力学の計算へ直接つなぐことが、この組合せの要点です。[1][2]

観測から力学デジタルツインをつくる:

目標は、写真や各種センサで観測した世界の一部を切り取り、形状の再構成から解析モデルの作成、力学現象の計算までを自動でつなぐことです。この一連の方法をPhoto-Geometric Analysisとして発展させ、観測とともに更新される、完全自動の力学デジタルツインの実現を目指します。

そのためには、形状の推定に加えて、材料の性質や外力、流入条件など、計算に必要な物理条件をどう与え、観測によって更新するかが重要になります。形状の推定誤差が解析結果に及ぼす影響、物体表面での条件の満たし方、計算量と精度の両立を考えることも欠かせません。形状の再構成と数値解析を一つの流れとして設計することで、こうした課題に向き合います。

生物の知覚を越える認識へ:

コウモリは、自ら発した音の反響を手がかりに周囲の空間を捉えます。観測の方法が変われば、世界の捉え方も変わります。本研究では、こうした生物の知覚にも着想を得ながら、観測した形状に力学の情報を結び付け、機械が環境を理解するための新しい方法を探ります。

さらに、数値解析を介すれば、直接は見えない空間の流れや力の分布、条件を変えたときの応答を、物理法則に基づいて推定できます。力学モデルを少数の変数で扱う低次元化とも結び付け、周囲の流れを予測しながら行動するロボットなどへの展開を目指します。生物が備える感覚の再現を越え、観測と計算の組合せによって新しい認識の形をつくる。そのような「超生物的な認識の機械化」を、将来像として描いています。

関連する研究例

写真から音の広がりを計算する

公開画像から復元したフクロウ形状の周囲の音圧分布です。列は500 Hz、1000 Hz、1500 Hz、行は3方向の中央断面を示します。周波数ごとにカラーバーの表示範囲が異なります。図1 公開画像から復元したフクロウ形状の周囲の音圧分布です。列は500 Hz、1000 Hz、1500 Hz、行は3方向の中央断面を示します。周波数ごとにカラーバーの表示範囲が異なります。出典:関連文献 [1] の Fig. 12。

公開データセットのフクロウの写真64枚から形状をニューラル陰関数場として学習し、点音源から出た音が物体の周囲でどのように広がるかを計算しました。符号付き距離関数として得られた形状を、埋め込み境界法の一種であるVolume Penalization法を用いた有限要素解析に取り込み、音の散乱や干渉を求めています。[1]

解析法については、剛体球の問題で理論解との比較と格子を細かくしたときの誤差の減少を確認しました。写真から復元したフクロウ形状では、画像から波動音響解析までをつなぐ方法の有効性を定性的に示しています。この形状での音場の定量的な誤差評価は、今後の課題です。[1]

写真から流れを計算し、並列化で規模を広げる

公開画像から復元したクマ形状の周囲の流線です。左は上方、右は側方から見た20秒時点の結果で、色は流速の大きさを表します。上段と下段では流体の粘性係数が異なります。図2 公開画像から復元したクマ形状の周囲の流線です。左は上方、右は側方から見た20秒時点の結果で、色は流速の大きさを表します。上段と下段では流体の粘性係数が異なります。出典:関連文献 [2] の Fig. 17。

公開データセットのクマの写真123枚から復元した形状を用いて、その周囲を通る流体を解析しました。物体表面で流体が滑らない条件を数値解析に組み込むNitsche法を用い、形状と流体計算を接続しています。さらに、計算領域を分けて複数の計算機で処理する並列計算を導入し、大きな計算規模に対応できる方法を検討しました。[2]

円柱まわりの流れでは、抗力係数と物体後方の渦の長さを既往の値と比較し、解析法の精度を確認しました。写真から復元したクマ形状では、物体の後ろに流れが回り込む領域などを再現し、並列計算の性能も評価しています。実物まわりの流れとの定量的な比較や、粘性に比べて慣性の影響が強い流れ、動く物体への適用が、今後の研究課題です。[2]

共同研究者・共同研究機関

関連文献

Research Overview

Background and Motivation:

A digital twin connects observations with numerical simulations to recreate the physical world on a computer and predict what will happen in it. This technology holds promise for manufacturing, disaster prevention, and guiding how robots act. To simulate even the object in front of us, however, we first need to capture its shape, divide the region of interest into small computational cells, and specify the physical conditions. For complex objects and natural environments, building the model takes considerable time and expertise. This is one of the major bottlenecks to putting these technologies into practice.

Behind this practical obstacle lies a mathematical question: how to represent both a complex shape and the mechanical phenomena that unfold there using finite computing resources. We are developing the foundations for connecting the physical world to numerical simulation by reconsidering the shape representation and the numerical method together.

From a Scene to a Simulation:

Starting with a scene captured by a camera, we want to calculate how water flows through it or how sound travels around an object in it. Our aim is to bring an entire scene, just as we see it, into a numerical simulation. We want to connect observations of natural settings for which no design drawings exist, or of the complex objects we encounter every day, to simulations of the physics of what we see.

We begin with photogrammetry, which uses photographs taken from different viewpoints to reconstruct the three-dimensional shape of an object or a space. If we can use that shape directly in a simulation, we can investigate how fluid flows or sound propagates in the actual geometry of the scene.

Representing Shapes as Functions for Simulation:

We use an implicit shape representation, which describes a shape through a function defined over space. One example is a signed distance function. Its magnitude gives the distance to the object's surface, and its sign tells us whether a point is inside or outside. The surface lies wherever the function is zero. Working with function values lets us handle intricate surface features as well as shapes whose parts connect in different ways.

We combine this representation with an immersed boundary method, which lets us use a grid that need not follow the object's surface. On a regular grid covering the object, shape information learned from photographs is used to impose the conditions that must hold at its surface. This lets us take the shape obtained from photographs directly into a simulation of the physics, without first constructing a mesh that fits a complex surface. [1][2]

From Observations to a Digital Twin for Mechanics:

Our goal is to capture part of the world using cameras and other sensors, then automate the entire sequence from reconstructing its geometry and building a model to simulating the physical phenomena that occur there. We are developing this approach under the name Photo-Geometric Analysis. Ultimately, we aim to build a fully automated digital twin that simulates the mechanics of the scene and updates as new observations come in.

Alongside estimating the geometry, we need ways to specify the physical inputs a simulation requires, such as material properties, external forces, and inflow conditions, and to update them as observations come in. We must also understand how errors in the estimated geometry affect the results, how to enforce conditions at the object's surface, and how to balance accuracy with computational cost. We address these questions by designing shape reconstruction and numerical simulation as parts of a single process.

Toward Perception Beyond Biological Senses:

Bats sense the space around them by listening for echoes of their own calls. How we observe the world shapes what we can perceive. Drawing inspiration from biological senses such as echolocation, we are exploring how machines might understand their surroundings by linking the shapes they observe with information about the underlying physics.

Numerical simulation lets us use the laws of physics to infer how fluid flows through a space or how forces are distributed, even when neither is directly visible. It also lets us estimate how the system would respond if conditions changed. We aim to combine these simulations with model reduction, which represents a mechanical model using a small number of variables, and apply them to systems such as robots that act while anticipating the flow around them. Beyond reproducing the senses of living organisms, we envision new forms of perception created by combining observation and computation. Our long-term vision is to give machines ways of perceiving the world that extend beyond biological senses.

Related Research Examples

Using Photographs to Simulate How Sound Travels Around an Object

Sound pressure around an owl-shaped object reconstructed from publicly available photographs. The columns show results at 500, 1,000, and 1,500 Hz. The three rows show central cross sections in three different orientations. The color scale spans a different range at each frequency.Figure 1. Sound pressure around an owl-shaped object reconstructed from publicly available photographs. The columns show results at 500, 1,000, and 1,500 Hz. The three rows show central cross sections in three different orientations. The color scale spans a different range at each frequency. Source: Ref. [1], Fig. 12.

We used 64 photographs of an owl-shaped object from a public dataset to learn a neural implicit representation of its shape. We then simulated how sound from a point source traveled around it. Using volume penalization, a type of immersed boundary method, we incorporated the reconstructed shape, expressed as a signed distance function, into a finite element simulation and calculated how the sound waves scattered and interfered. [1]

We tested the numerical method on a rigid sphere. We compared the results with the theoretical solution and verified that the error decreased as we refined the grid. For the reconstructed owl shape, we showed qualitatively that photographs could serve as the starting point for a wave-based acoustic simulation. Quantifying the error in the computed sound field for this shape remains a task for future work. [1]

Simulating Flow from Photographs and Scaling Up with Parallel Computing

Streamlines around a bear-shaped object reconstructed from publicly available photographs. At 20 seconds, the left panels show the flow from above and the right panels show it from the side. Color indicates flow speed. The top and bottom rows show results for different fluid viscosities.Figure 2. Streamlines around a bear-shaped object reconstructed from publicly available photographs. At 20 seconds, the left panels show the flow from above and the right panels show it from the side. Color indicates flow speed. The top and bottom rows show results for different fluid viscosities. Source: Ref. [2], Fig. 17.

We reconstructed the shape of a bear-shaped object from 123 photographs in a public dataset and simulated the flow past it. We connected the reconstructed shape to the flow simulation by using Nitsche's method to impose the condition that fluid does not slip along the object's surface. We also introduced parallel computation, dividing the computational domain among several computers, to investigate how the method could support larger simulations. [2]

For flow past a cylinder, we checked the accuracy of the method by comparing the drag coefficient and the length of the vortex behind the cylinder with published values. For the reconstructed bear shape, the simulation captured features such as the region of recirculating flow behind the object. We also evaluated the performance of the parallel computation. Quantitative comparisons with flow around the physical object, and applications to flows in which inertia plays a stronger role relative to viscosity and to moving objects, remain topics for future research. [2]

Collaborators

Related Papers