査読付き雑誌論文の一覧へ戻るBack to Peer-reviewed journal papers
2D Slice-Driven Physics-Based 3D Motion Estimation Framework for Pancreatic Radiotherapy
- 著者Authors
- Y. Hara, N. Kadoya, N. Mitsume, N. Ienaga, R. Umezawa, K. Jingu, Y. Kuroda†
- 掲載先Published in
- IEEE Transactions on Radiation and Plasma Medical Sciences
- 巻号、ページVolume, pages
- Vol.8, No.1, pp.64–75
- 年Year
- 2024
- 種類Type
- 査読付き雑誌論文Peer-reviewed journal papers
- Link
- https://doi.org/10.1109/TRPMS.2023.3313132
- arXiv
- https://arxiv.org/abs/2310.08834
- 研究テーマTopics
- 大規模並列解析Large-scale parallel computing 構造・固体Structural and solid mechanics
- キーワードKeywords
- 3 次元の動きの推定3D motion estimation 2 次元の断面による駆動2D slice-driven 物理ベースの枠組みPhysics-based framework 膵臓の放射線治療Pancreatic radiotherapy 物質点法Material point method MR リニアックMRI linear accelerator 複数の臓器の接触Multiorgan contact 膵がんPancreatic cancer 断面とボリュームの位置合わせSlice-to-volume registration 最適な条件を選ぶ回帰モデルRegression model for selecting the optimal condition
概要
膵臓は十二指腸、胃、腎臓、小腸など多くの臓器に接しており、呼吸による周期的な動きと、臓器どうしの接触による非周期的な動きの両方を示します。このため、膵臓の病気は高い線量の放射線で治療することが難しいとされています。照射中に臓器の 2 次元の断面を撮影できる MR リニアック(MR-Linac)が実用化されていますが、撮影できる断面は少数なので、断面の外の動きはとらえられず、部分的に観測した情報から 3 次元の動きを推定する必要があります。
本論文は、1 方向以上の 2 次元の断面から得た動きの情報で物理モデルを駆動し、周期性によらず臓器の 3 次元の動きを推定する枠組みを提案しています。膵臓に加えて周囲の臓器(胃、十二指腸、左腎)も物質点法(MPM)でモデル化して境界とし、断面どうしの位置合わせで得た情報から、選んだ断面の上の粒子を目標位置へ動かします。また、駆動に使う断面の位置と臓器の組合せを選ぶために、枠組みの精度を推定する回帰モデルも提案しています。
公開されている腹部の 3 次元 MR 画像 20 例に擬似的な変形を与えた 160 例で検証した結果、論文は、周囲の臓器を考慮するとほとんどの組合せで精度が有意に上がったこと、回帰モデルの決定係数 が 0.9 を超え、誤差のモデルの RMSE が 0.357 mm であったことを報告しています。誤差の平均は、すべての臓器を考慮して横断面 1 枚を使った場合は 5.11 ± 1.09 mm、選んだ断面の目標位置に正解の位置を使い、横断面、矢状断面、冠状断面を同時に使った場合は 2.13 ± 0.598 mm でした。論文は、これらの結果から、提案した枠組みはボリュームどうしの位置合わせと同程度の精度で、実現可能であることが示唆されると述べています。
重要点
1. 物理モデルを 2 次元の断面で動かし、3 次元の動きを推定する枠組み
提案する枠組みは、治療前の段階と治療中の段階からなります(図 1)。治療前の段階では、(1) 臓器を領域分割したうえで、治療前の 3 次元のデータ(MRI や CT の画像)から 3 次元の物理モデルを作り、(2) 物理モデルを駆動するための最適な断面の位置と臓器の組合せを選び、(3) 選んだ断面の位置を MR-Linac で撮影する位置として登録し、(4) その断面の位置に対応する物理モデルの位置を登録します。治療中の段階では、(1) 装置から得た画像と前のステップの画像から、その断面の位置の変形を計算し、(2) 変形に基づいて、物理モデルの登録した位置の目標位置を計算し、(3) 登録した位置が目標位置に近づくように力を加えて、3 次元の物理モデル全体を駆動します。論文は、治療前の段階の (2) と治療中の段階の (3) が本研究の特徴であると述べています。

2. 物質点法(MPM)で、膵臓と周囲の臓器の接触を扱う
論文は、膵臓の周囲の臓器を境界として使うと、非周期的な動きをより正確に扱えるという仮説を立て、膵臓だけでなく周囲の臓器(本研究では膵臓に近い胃、十二指腸、左腎)も離散化しています。物理シミュレーションには、異なる物体の間の接触を効率よく扱える物質点法(MPM)を使います。MPM はメッシュを使わない方法で、粒子で物体を離散化し、格子を使って離散化した方程式を解きます。質量と運動量の保存則は次のように表されます。
ここで、 は密度、 は速度、 は時間、 は応力、 は体積力、 は物質時間微分です。1 回のループでは、物理量を形状関数で格子に移し、格子の上で離散化した方程式を解き、格子の情報で粒子を更新して格子を捨てます。論文によれば、多くの数値解析手法は接触を扱うために追加の手順が必要ですが、MPM は離散化した方程式を 1 つの格子の上で解くので、特別な処理なしに接触を扱えます。画像の 1 画素を 1 つの粒子に割り当てて MPM のモデルを作り、構成則には Stomakhin らが提案したエネルギー密度関数を使っています。
3. 選んだ断面の上の粒子を、PID 制御による力で目標位置へ動かす
治療中の段階では、ステップ の 3 次元のモデルを、ステップ に装置で撮影した画像に基づいて変形させ、ステップ の 3 次元のモデルを作ります。まず、記録しておいたステップ の画像と、ステップ に撮影した画像の間で、断面どうしの位置合わせを行います。本研究では、画像の変形として、回転、拡大縮小、せん断、平行移動の 4 種類の動きを扱うアフィン変換を仮定しています。得られた変換を、選んだ断面 の上の粒子の現在の位置 に当てて、目標位置 を求めます(原論文の式 (4))。次に、膵臓と周囲の臓器の接触のシミュレーションを行い、比例・積分・微分(PID)制御器で計算した次の駆動力を選んだ断面の上の粒子に加えて、粒子を目標位置に近づけます。
ここで、 は選んだ断面の上の粒子の番号、 は粒子 に加える駆動力、 は目標位置と現在の位置の差、、、 はそれぞれ比例、微分、積分のゲインです。上付きの と はステップを表し、式 (5) の微分と積分の は時間を表します(論文の記法のままで、同じ文字を 2 つの意味で使っています)。選んだ断面の上の粒子とその目標位置の相対誤差(原論文の式 (6))が収束の条件を満たすまで、この計算を繰り返します。PID 制御器はパラメータによって振動したり行き過ぎたりすることがあるので、論文は収束の条件を 2 通り設け、駆動力が過大になってシミュレーションが発散しないように、力の最大値も設けています。また、アフィン変換は目標位置を計算できる任意の方法で置き換えられ、自由形状変形や機械学習の方法などの非線形の変形を使うと、精度が上がる可能性があると述べています。
4. 回帰モデルで、駆動に使う断面の位置と臓器の組合せを選ぶ
2 次元の情報から 3 次元の動きを推定するので、推定の精度は、駆動に使う断面の位置と、モデル化する臓器の組合せに大きく左右されると考えられます。論文によれば、すべての臓器を考慮することが常に最適とは限らず、断面と周囲の臓器の位置関係によります。一方、最適な条件を総当たりのシミュレーションで探すと、非常に時間がかかります。そこで本論文は、断面の位置と周囲の臓器の組合せの条件から、枠組みの精度(誤差または Dice 係数。数値実験の結果の式 (8)、(9))を予測する回帰モデルを作り、これを指標にして最適な条件を決めます。説明変数は、断面の位置と、その断面の上の各臓器の粒子の数です(データによって断面の数や臓器の大きさが違うので、標準化します)。目的変数は、その条件で枠組みを動かしたときの誤差または Dice 係数を、8 種類の変形で平均したものです。学習データは、擬似的に変形させた 3 次元のデータセットで、断面の位置と臓器の組合せについて総当たりのシミュレーションを行った結果から作ります。回帰には eXtreme Gradient Boosting(XGBoost。論文の略称は xgb)を使い、Optuna を使った 5 分割の交差検証でハイパーパラメータを調整しています。
数値実験の結果
検証の条件
検証には、Multi-Modality Abdominal Multi-Organ Segmentation Challenge 2022 の腹部の 3 次元 MR 画像を使っています。膵臓を含む断面が 40 枚以下という条件でデータを選び、学習用に提供された 40 例の 3 次元 MR 画像のうち 20 例を使いました(画素の間隔 1.22 ± 0.245 mm、スライス厚 2.93 ± 0.238 mm。原論文 Table I)。周囲の臓器は胃、十二指腸、左腎です。前処理として、各画像をゼロ埋めで正方形にし、輪郭を描いた画像をマスクにして、使う臓器だけを取り出しています。
正解(GT)は擬似的なテストデータとして作ります。最初の検証では横断面(データセットのスライス方向)を使うので、横断面の方向の動きが主で、ほかの方向の動きも含み、臓器どうしの接触による動きも含むように、次の 4 段階で作っています。
- 回転 、せん断 、拡大縮小 のパラメータから、2 次元の変換行列を作る(原論文の式 (7))。
- その行列で、すべての断面を変形させる。
- すべての粒子について、3 次元のモデルでの目標位置を計算する。
- 重要点 3 と同じ方法でシミュレーションを行う。ただし、駆動力はすべての粒子に加え、相対誤差もすべての粒子で計算する。
パラメータは 、、 のすべての組合せで、変形は 種類です(原論文 Table II)。これを 20 例のそれぞれに与えたので、正解は 例です(図 2)。
論文は、枠組みの出力は断面どうしの位置合わせの精度に大きく左右されるが、本研究の目的は物理シミュレーションで断面の外の動きを補うことの有効性を確かめることであると述べています。そこで、断面どうしの位置合わせの誤差の影響を避けるため、治療中の段階では、断面どうしの位置合わせの代わりに、正解を作るときに使ったアフィン変換のパラメータを使っています。PID 制御のパラメータは経験的に決めています。精度の指標は次の 2 つです。
ここで、 は誤差(mm)、 は膵臓の粒子の数、 と は膵臓の粒子 の正解の位置と推定した位置、 は Dice 係数、 と は正解と推定の膵臓の領域です。
横断面 1 枚の検証では、20 例のデータについて、断面の位置、臓器の組合せ、変形の種類の総当たりのシミュレーションを行い、1280 のデータ(20 例 × 8 種類の変形 × 8 通りの臓器の組合せ)のそれぞれで、すべての断面の中で最も良い結果を枠組みの結果としています。計算には Amazon EC2 c5a.24xlarge(3.3 GHz、96 コア)を使い、約 90 ケースを同時に実行しています。
周囲の臓器を考慮した効果(横断面 1 枚)
臓器の組合せは、膵臓(p)に、胃(s)、十二指腸(d)、左腎(l)を加える 8 通りです。各組合せの誤差と Dice 係数の平均と標準偏差は次のとおりです(原論文 Table IV。Initial は推定を行わない初期の状態)。
| 条件 | 誤差(mm) | Dice 係数 |
|---|---|---|
| Initial | 9.11 ± 1.40 | 0.408 ± 0.0861 |
| p | 5.64 ± 1.09 | 0.559 ± 0.0587 |
| ps | 5.64 ± 1.06 | 0.575 ± 0.0554 |
| pd | 5.09 ± 1.09 | 0.585 ± 0.0611 |
| pl | 5.59 ± 1.10 | 0.557 ± 0.0581 |
| psd | 5.19 ± 1.08 | 0.591 ± 0.0615 |
| psl | 5.54 ± 1.08 | 0.575 ± 0.0568 |
| pdl | 5.06 ± 1.14 | 0.583 ± 0.0619 |
| psdl | 5.11 ± 1.09 | 0.591 ± 0.0631 |
図 3 は、膵臓だけ(p)とほかの組合せの多重比較で有意差があったものを示しています。ほとんどの組合せで精度が有意に上がり、有意差がなかったのは、誤差では「膵臓 + 胃(ps)」と「膵臓 + 左腎(pl)」、Dice 係数では「膵臓 + 左腎(pl)」だけでした。論文は、これにより、対象の臓器(膵臓)だけでなく周囲の臓器も考慮することの有効性が確かめられたと述べています。

次に、変形の種類によって臓器の組合せの効果がどう変わるかを調べるため、変形の種類ごとに 8 通りの組合せを精度の順に並べています(最も良いものが 1、最も悪いものが 8。図 4)。考慮した臓器の数と順位は似た傾向を示さず、十二指腸を含むと順位が特に高く、すべての臓器を考慮した「psdl」が必ずしも最も高い順位ではありませんでした。論文は、精度を上げるには臓器の種類を考えることが重要であり、最適な臓器の組合せを選ぶことの重要性と、回帰モデルの必要性を支持する結果であると述べています。
ボリュームどうしの位置合わせとの比較
治療用の装置は少数の断面しか撮影できないので、実際の治療ではボリュームどうしの位置合わせは使えません。論文は、作成した擬似的なデータセットの 3 次元の画像を使い、枠組みが目指す精度として、elastix によるアフィン変換のボリュームどうしの位置合わせと比べています。
すべての組合せで、推定を行わない初期の状態より結果が良くなり、最も精度の高い条件(誤差では pdl、Dice 係数では psd)は、初期の状態に比べて誤差を 45 % 減らし、Dice 係数を 45 % 上げたと論文は述べています。ボリュームどうしの位置合わせ(elastix)の精度は、誤差 3.34 ± 1.46 mm、Dice 係数 0.646 ± 0.114 で、提案した枠組みのすべての組合せは、両方の指標でボリュームどうしの位置合わせより劣っていました。一方、提案した枠組みのほうが良いケースもありました。「psdl」の場合、160 ケースのうち、誤差では 14.4 %、Dice 係数では 26.9 % がボリュームどうしの位置合わせより良く、Dice 係数では 33.8 % がボリュームどうしの位置合わせの中央値より良い結果でした。論文は、1 枚の画像から物理モデルで補うことで、ボリュームどうしの位置合わせと同程度の動きの推定ができる可能性が示されたと述べています。
図 5 は、「psdl」で各指標が最も良い場合と最も悪い場合の膵臓の領域です。最も良い場合は、推定と正解の領域のほとんどが重なっています。一方、画像の上部と下部にずれがあり、最も悪い場合にはこのずれがはっきり見えます。論文は、このずれが提案した枠組みとボリュームどうしの位置合わせの精度の差につながっており、駆動する断面から離れるほど動きの自由度が大きくなるので、位置合わせの誤差が大きくなると考えられると述べています。

回帰モデルの精度
回帰モデルのデータは 4552 件で、学習用(3641 件)とテスト用(911 件)に 8:2 で分けています。テスト用のデータで、誤差のモデルは が 0.936、RMSE が 0.357 mm、Dice 係数のモデルは が 0.903、RMSE が 0.0202 でした(原論文 Table V)。総当たりの計算で得たデータ全体では、誤差は平均 5.36 ± 1.12 mm(最小 2.77 mm、最大 8.55 mm)、Dice 係数は平均 0.577 ± 0.0608(最小 0.379、最大 0.737)です。論文は、これらの回帰モデルで、あらゆる条件での枠組みの精度を計算でき、最適な断面の位置と臓器の組合せを決められると結論づけています。また、特徴量の重要度から、断面の位置だけでなく周囲の臓器も回帰モデルに寄与しており、周囲の臓器を考慮した効果の結果と一致すると述べています。回帰モデルを使った最適な条件の計算(図 1 の 3)にかかる時間は、平均 1.48 ± 0.151 ms(断面の数 20〜35、周囲の臓器の数 3)でした。
複数方向の断面を使った検証
ここまでの検証は、データセットのスライス方向である横断面だけを使っていました。論文によれば、臨床の MR ガイド下放射線治療では矢状断面や冠状断面で動きを管理しており、治療用の装置は治療中に矢状断面と冠状断面も撮影できるので、複数の方向を使えば精度を上げられます。そこで、臓器の組合せを「psdl」(結果が良く、指標による順位の違いが小さい)とし、同じ 160 例で、横断面だけ(a)、横断面 + 冠状断面(ac)、横断面 + 矢状断面(as)、横断面 + 矢状断面 + 冠状断面(asc)の 4 つの条件を比べています。
矢状断面と冠状断面には変換行列がないので、選んだ断面の上の粒子の目標位置には、断面どうしの位置合わせの誤差の影響を避けるため、正解の位置を使っています(このため、各指標は選んだ断面の上の粒子を除いて計算しています)。矢状断面と冠状断面の最適な位置は分からないので、各臓器の粒子の数と精度に相関があると仮定し、各臓器の粒子の数を説明変数、160 ケースのそれぞれでの断面ごとの Dice 係数の順位を目的変数とする、もう 1 つの XGBoost のモデルを作りました(テスト用のデータの は 0.859)。矢状断面と冠状断面のそれぞれで、このモデルが出した上位 3 つの断面を最適な断面の候補とし、その中で最も良い結果を採っています。各条件の誤差と Dice 係数の平均と標準偏差は次のとおりです(原論文 Table VI)。
| 条件 | 誤差(mm) | Dice 係数 |
|---|---|---|
| 横断面だけ(a) | 4.26 ± 1.16 | 0.610 ± 0.0519 |
| 横断面 + 冠状断面(ac) | 3.12 ± 0.989 | 0.636 ± 0.0488 |
| 横断面 + 矢状断面(as) | 2.42 ± 0.584 | 0.650 ± 0.0490 |
| 横断面 + 矢状断面 + 冠状断面(asc) | 2.13 ± 0.598 | 0.662 ± 0.0504 |
使う断面の数が増えるほど、枠組みの精度は有意に上がりました(図 6)。両方の指標で、矢状断面のほうが冠状断面より精度が高く、20 例で 1 枚の断面に含まれる膵臓の粒子の数の最大値は、冠状断面で 336 ± 141、矢状断面で 685 ± 261 でした。論文は、矢状断面の目標位置の数は冠状断面の 2 倍であり、駆動する断面の膵臓の粒子の数が精度に大きく影響することが示唆されたと述べています。

また、選んだ断面の目標位置に正解の位置を使った「横断面だけ」の結果(誤差 4.26 ± 1.16 mm、Dice 係数 0.610 ± 0.0519)は、正解を作るときに使ったアフィン変換のパラメータを使った「psdl」の結果(誤差 5.11 ± 1.09 mm、Dice 係数 0.591 ± 0.0631)より精度が高く、論文は、断面どうしの位置合わせの精度が枠組みに大きく影響することを示唆していると述べています。論文は、この検証は選んだ断面の目標位置に正解の位置を使っているので、提案した枠組みに有利な条件であると断ったうえで、複数の断面を使った枠組みの精度はボリュームどうしの位置合わせと同程度であると結論づけています。
計算時間
シミュレーションの実行時間は、すべての臓器を考慮した場合が最も長く 2587 ± 1263 s、膵臓だけの場合が最も短く 844 ± 269 s でした。約 90 ケースを同時に実行したので、純粋な実行時間ではありません。1 回のループの平均時間は、「psdl」で 3.18 ± 1.31 s、「p」で 1.16 ± 0.212 s でした。論文は、放射線治療には数十分程度かかり、MR-Linac は理想的には断面を実時間で撮影できるので、治療中により多くの画像で臓器の動きを推定するには、計算を速くする必要があると述べています。速くするための要点として、収束までのループの回数(収束の判定に 100 ステップが必要で、データごとに最尤のパラメータを使えば、行き過ぎや振動の影響を減らし、判定に使うステップの数を減らせる)と、1 回のループの時間(画像から物理モデルへの対応づけの最適化と GPU の利用。本研究では GPU を使っていない)を挙げています。
今後の展開
論文は、本研究は提案した方法の実現可能性を確かめる最初の研究であり、次の限界があると述べています。
- 実データでの信頼性:公開されているデータセットを使い、正解は幾何学的な変形とシミュレーションで作ったので、実用には、同じ患者を異なる時刻に撮影した画像や、MR-Linac で撮影した画像で確かめる必要があります。
- シミュレーションの時間:実時間の推定はまだできません。GPU を使った計算の効率と、離散化を粗くして計算量を減らすこととシミュレーションの精度の兼ね合いを、さらに調べる必要があります。
- 断面どうしの位置合わせの精度:断面を 1 枚だけ使う場合、断面に垂直な方向の動きに弱い可能性があります。断面どうしの位置合わせは各粒子の目標位置の計算にだけ必要なので、ほかの位置合わせの方法も使え、それによって精度と断面に垂直な動きの問題を解決し、全体の精度をさらに上げられる可能性があります。
また、本研究は MR-Linac による放射線治療を対象としましたが、提案した枠組みは、画像の融合、動きの補正、ボリュームの再構成といったほかの種類の処理にも使える可能性があるとしています。今後は、提案した改善策を適用し、実際の治療中に装置から得たデータで、方法の有効性を確かめる予定です。
Overview
The pancreas is adjacent to many organs such as the duodenum, stomach, kidney and small bowel, and it undergoes both periodic motion due to respiration and aperiodic motion due to contact between organs. For this reason, pancreatic diseases are considered difficult to treat with high doses of radiation. The MRI linear accelerator (MR-Linac), which can capture 2D slices of organs during irradiation, is already in practical use; however, because only a few slices can be captured, out-of-plane motion remains undetected, and the 3D motion needs to be estimated from partially observed information.
This paper proposes a framework that estimates the 3D motion of organs, regardless of periodicity, by driving physical models with motion information obtained from 2D slices in one or more directions. In addition to the pancreas, the surrounding organs (stomach, duodenum and left kidney) are modeled by the material point method (MPM) and act as boundaries, and the particles on the selected slice are moved toward target positions obtained from slice-to-slice registration. The paper also proposes a regression model that estimates the accuracy of the framework in order to select the slice position and the combination of organs used for driving.
In a validation with 160 cases created by applying pseudo deformations to 20 public abdominal 3D MR images, the paper reports that considering the surrounding organs significantly improved the accuracy for almost all combinations, and that the coefficient of determination of the regression models exceeded 0.9 with an RMSE of 0.357 mm for the error model. The mean error was 5.11 ± 1.09 mm when all organs were considered and one axial slice was used, and 2.13 ± 0.598 mm when the ground-truth positions were used as the target positions on the selected slices and concurrent axial, sagittal and coronal slices were used. The paper states that these results suggest that the proposed framework is comparable in accuracy to volume-to-volume registration and is feasible.
Key points
1. A framework that estimates 3D motion by driving physical models with 2D slices
The proposed framework consists of a pre-treatment step and an intra-treatment step (Figure 1). In the pre-treatment step, (1) after the organs are segmented, 3D physical models are generated from 3D data before treatment (MRI or CT images), (2) the optimal slice position and combination of organs for driving the physical models are selected, (3) the selected slice position is registered as the position to be captured by the MR-Linac, and (4) the position of the physical model corresponding to that slice position is registered. In the intra-treatment step, (1) the deformation at that slice position is calculated from the image obtained from the device and the image of the previous step, (2) the target position at the registered position of the physical model is calculated from the deformation, and (3) the entire 3D physical model is driven by applying a force so that the registered position approaches the target position. The paper states that step (2) of the pre-treatment step and step (3) of the intra-treatment step are the distinctive features of this study.

2. Contact between the pancreas and the surrounding organs with the material point method (MPM)
The paper hypothesizes that using the organs around the pancreas as boundaries is a valid way to handle aperiodic motion more accurately, and it discretizes not only the pancreas but also the surrounding organs (in this study, the stomach, duodenum and left kidney, which are close to the pancreas). For the physical simulation, the material point method (MPM), which can efficiently handle contact between different objects, is used. MPM is a mesh-free method in which particles discretize the object and the discrete equations are solved using a grid. The laws of conservation of mass and momentum are expressed as follows.
Here, is the density, is the velocity, is time, is the stress, is the body force, and is the material derivative. In one loop, the physical properties are transferred to the grid using the shape function, the discrete equations are solved on the grid, and the particles are updated using the grid information, after which the grid is discarded. According to the paper, many numerical methods require additional steps to handle contact, whereas MPM can handle contact without any special processing because the discrete equations are solved on a single grid. The MPM model is generated by assigning one pixel of the image to one particle, and the energy density function proposed by Stomakhin et al. is used as the constitutive law.
3. PID-controlled forces move the particles on the selected slice to the target positions
In the intra-treatment step, the 3D models at step are generated by deforming the 3D models at step based on the image captured by the device at step . First, slice-to-slice registration is performed between the stored image at step and the image captured at step . In this study, an affine transformation, which handles four types of motion (rotation, scaling, shearing and translation), is assumed for the image deformation. The obtained transformation is applied to the current positions of the particles on the selected slice to obtain the target positions (Eq. (4) of the original paper). Next, a contact simulation between the pancreas and the surrounding organs is performed, and the following driving force, calculated by a proportional–integral–differential (PID) controller, is applied to the particles on the selected slice to bring them closer to the target positions.
Here, is the index of a particle on the selected slice, is the driving force applied to particle , is the difference between the target and current positions, and , and are the proportional, differential and integral gains, respectively. The superscripts and denote steps, whereas in the derivative and the integral of Eq. (5) denotes time (this follows the paper's notation, which uses the same letter with two meanings). This calculation is repeated until the relative error between the particles on the selected slice and their target positions (Eq. (6) of the original paper) satisfies the convergence condition. Because the PID controller may oscillate or overshoot depending on its parameters, the paper defines two convergence conditions and also sets a maximum force to prevent the simulation from diverging because of an excessive driving force. The paper also states that the affine transformation could be replaced by any method that can calculate the target positions, and that the use of nonlinear deformation, such as free-form deformation and machine-learning methods, may improve the accuracy.
4. A regression model selects the slice position and the combination of organs used for driving
Because 3D motion is estimated from 2D information, the estimation accuracy is considered to be greatly affected by the position of the driving slice and the combination of modeled organs. According to the paper, considering all organs is not always the optimal condition, as it depends on the positional relationship between the slices and the surrounding organs. On the other hand, searching for the optimal condition by brute-force simulation would be extremely time-consuming. The paper therefore constructs a regression model that predicts the accuracy of the framework (error or Dice score; Eqs. (8) and (9) in the numerical results) from the condition of the slice position and the combination of surrounding organs, and uses it as an indicator to determine the optimal condition. The explanatory variables are the slice position and the number of particles of each organ on that slice (standardized because the number of slices and the sizes of organs vary among data). The objective variable is the error or Dice score obtained when the framework is run under that condition, averaged over the eight deformations. The training data are created from the results of brute-force simulations over slice positions and organ combinations on the pseudo-deformed 3D dataset. eXtreme Gradient Boosting (XGBoost; abbreviated as xgb in the paper) is used for the regression, and the hyperparameters are tuned by 5-fold cross-validation using Optuna.
Numerical results
Validation setup
The validation uses abdominal 3D MR images from the Multi-Modality Abdominal Multi-Organ Segmentation Challenge 2022. Data were selected under the constraint that no more than 40 slices contain the pancreas, and 20 of the 40 3D MR images provided as training sets were used (pixel spacing 1.22 ± 0.245 mm, slice thickness 2.93 ± 0.238 mm; Table I of the original paper). The surrounding organs are the stomach, duodenum and left kidney. As preprocessing, each image is shaped into a square image by zero padding, and only the organs in use are extracted using the contoured images as masks.
The ground truth (GT) is generated as pseudo-test data. Because the first validations use the axial direction (the slice direction of the dataset), the GT is generated in the following four steps so that axial motion is dominant, motion in other directions is also present, and motion caused by organ-to-organ contact is included.
- Construct a 2D transformation matrix from the rotation parameter , shearing parameter and scaling parameter (Eq. (7) of the original paper).
- Deform all slices using that matrix.
- Calculate the target positions of all particles in the 3D models.
- Run the simulation in the same way as in Key point 3, except that the driving force is applied to all particles and the relative error is also calculated using all particles.
The parameters are all combinations of , and , which give deformation types (Table II of the original paper). These are applied to each of the 20 data, so the number of GT cases is (Figure 2).

The paper states that the outputs of the framework depend largely on the accuracy of the slice-to-slice registration, but that the purpose of this study is to verify the effectiveness of interpolating out-of-plane motion using a physical simulation. Therefore, to avoid the effect of errors caused by slice-to-slice registration, the intra-treatment step uses the affine parameters used to generate the GT instead of slice-to-slice registration. The PID parameters are determined empirically. The following two metrics are used to evaluate the accuracy.
Here, is the error (mm), is the number of pancreatic particles, and are the GT position and the estimated position of pancreatic particle , is the Dice score, and and are the pancreatic regions of the GT and the estimation.
In the validations with one axial slice, brute-force simulations over slice positions, organ combinations and deformation types are run for the 20 data, and for each of the 1280 data (20 images × 8 deformations × 8 organ combinations), the best result among all the slices is taken as the result of the framework. The computations are run on Amazon EC2 c5a.24xlarge (3.3 GHz, 96 cores), with approximately 90 cases run concurrently.
Effect of considering the surrounding organs (one axial slice)
The organ combinations are the eight combinations obtained by adding the stomach (s), duodenum (d) and left kidney (l) to the pancreas (p). The mean and standard deviation of the error and the Dice score for each combination are as follows (Table IV of the original paper; Initial is the initial condition without estimation).
| Condition | Error (mm) | Dice score |
|---|---|---|
| Initial | 9.11 ± 1.40 | 0.408 ± 0.0861 |
| p | 5.64 ± 1.09 | 0.559 ± 0.0587 |
| ps | 5.64 ± 1.06 | 0.575 ± 0.0554 |
| pd | 5.09 ± 1.09 | 0.585 ± 0.0611 |
| pl | 5.59 ± 1.10 | 0.557 ± 0.0581 |
| psd | 5.19 ± 1.08 | 0.591 ± 0.0615 |
| psl | 5.54 ± 1.08 | 0.575 ± 0.0568 |
| pdl | 5.06 ± 1.14 | 0.583 ± 0.0619 |
| psdl | 5.11 ± 1.09 | 0.591 ± 0.0631 |
Figure 3 shows the significant differences found in multiple comparisons between the pancreas alone (p) and the other combinations. Almost all combinations showed a significant improvement in accuracy; no significant difference was found only for "pancreas + stomach (ps)" and "pancreas + left kidney (pl)" in the error, and for "pancreas + left kidney (pl)" in the Dice score. The paper states that this confirms the effectiveness of considering not only the target organ (the pancreas) but also the surrounding organs.

Next, to investigate how the effect of the organ combinations depends on the type of deformation, the eight combinations are ranked by accuracy for each deformation type (the best rank is 1 and the worst is 8; Figure 4). The number of organs considered and the ranking did not show similar trends: the rank was particularly high when the duodenum was included, and the rank of "psdl", which considers all organs, was not necessarily the highest. The paper states that organ type is important to consider when aiming to improve accuracy, and that these results support the importance of selecting the optimal combination of organs and the need for regression models.

Comparison with volume-to-volume registration
Because the therapeutic device can capture only a few slices, volume-to-volume registration cannot be used in actual treatment. Using the 3D images of the pseudo-dataset that was created, the paper compares the framework with volume-to-volume registration by an affine transformation using elastix, as the accuracy that the framework aims for.
All combinations improved the results compared with the initial condition without estimation, and the paper states that the most accurate conditions (pdl for the error and psd for the Dice score) reduced the error by 45 % and increased the Dice score by 45 % compared with the initial condition. The accuracy of volume-to-volume registration (elastix) was an error of 3.34 ± 1.46 mm and a Dice score of 0.646 ± 0.114, and all combinations of the proposed framework were inferior to volume-to-volume registration in both metrics. On the other hand, there were cases in which the proposed framework was better. For "psdl", 14.4 % of the 160 cases in the error and 26.9 % in the Dice score were better than volume-to-volume registration, and 33.8 % in the Dice score were better than the median of volume-to-volume registration. The paper states that this suggests that interpolation with physical models from a single image can achieve motion estimation comparable to volume-to-volume registration.
Figure 5 shows the pancreatic regions for the best and worst values of each metric for "psdl". In the best cases, most of the estimated and GT regions overlap. On the other hand, there are misalignments in the upper and lower parts of the images, which are very apparent in the worst cases. The paper states that these misalignments lead to the accuracy gap between the proposed framework and volume-to-volume registration, and that the further a region is from the driven slice, the greater the degree of freedom of motion, which is thought to lead to greater registration errors.

Accuracy of the regression models
The regression data consist of 4552 samples, divided into a training set (3641) and a test set (911) in an 8:2 ratio. For the test data, the error model achieved an of 0.936 and an RMSE of 0.357 mm, and the Dice model achieved an of 0.903 and an RMSE of 0.0202 (Table V of the original paper). Over all the data obtained from the brute-force runs, the error was 5.36 ± 1.12 mm on average (minimum 2.77 mm, maximum 8.55 mm), and the Dice score was 0.577 ± 0.0608 on average (minimum 0.379, maximum 0.737). The paper concludes that these regression models can calculate the accuracy of the framework under every condition and can determine the optimal slice position and organ combination. The paper also states that the feature importance shows that not only the slice position but also the surrounding organs contribute to the regression models, in agreement with the results on the effect of considering the surrounding organs. The mean computation time for calculating the optimal condition with the regression models (3 in Figure 1) was 1.48 ± 0.151 ms (number of slices: 20 to 35, number of surrounding organs: 3).
Validation with slices in multiple directions
The validations so far used only the axial direction, which is the slice direction of the dataset. According to the paper, motion management in clinical MR-guided radiation therapy is performed using sagittal or coronal slices, and because the therapeutic device can capture sagittal and coronal slices during treatment, the accuracy can be improved by using multiple directions. The organ combination is therefore set to "psdl" (which showed good results and little variation in the rankings between the metrics), and four conditions are compared with the same 160 cases: axial only (a), axial + coronal (ac), axial + sagittal (as) and axial + sagittal + coronal (asc).
Because there is no transformation matrix in the sagittal and coronal directions, the GT positions are used as the target positions of the particles on the selected slices to avoid the effect of slice-to-slice registration errors (for this reason, each metric is calculated without the particles on the selected slices). Because the optimal positions in the sagittal and coronal directions are unknown, a correlation between the number of particles in each organ and the accuracy is assumed, and another XGBoost model is constructed with the number of particles in each organ as the explanatory variable and the rank of the Dice score among the slices in each of the 160 cases as the objective variable (the for the test data is 0.859). For each of the sagittal and coronal directions, the top three slices output by this model are used as candidates for the optimal slice, and the best result among them is taken. The mean and standard deviation of the error and the Dice score for each condition are as follows (Table VI of the original paper).
| Condition | Error (mm) | Dice score |
|---|---|---|
| Axial only (a) | 4.26 ± 1.16 | 0.610 ± 0.0519 |
| Axial + coronal (ac) | 3.12 ± 0.989 | 0.636 ± 0.0488 |
| Axial + sagittal (as) | 2.42 ± 0.584 | 0.650 ± 0.0490 |
| Axial + sagittal + coronal (asc) | 2.13 ± 0.598 | 0.662 ± 0.0504 |
The accuracy of the framework increased significantly as the number of slices used increased (Figure 6). The sagittal direction was more accurate than the coronal direction for both metrics, and the maximum number of pancreatic particles in one slice for the 20 cases was 336 ± 141 in the coronal direction and 685 ± 261 in the sagittal direction. The paper states that the number of target positions in the sagittal direction was twice that in the coronal direction, which suggests that the number of pancreatic particles in the driven slice has a significant impact on accuracy.

In addition, the result of "axial only", which used the GT positions as the target positions on the selected slices (error 4.26 ± 1.16 mm, Dice score 0.610 ± 0.0519), was more accurate than the result of "psdl", which used the affine parameters used to generate the GT (error 5.11 ± 1.09 mm, Dice score 0.591 ± 0.0631), and the paper states that this suggests that the accuracy of slice-to-slice registration has a significant impact on the framework. Noting that this validation is favorable to the proposed framework because the GT positions are used as the target positions on the selected slices, the paper concludes that the framework used with multiple slices is comparable in accuracy to volume-to-volume registration.
Computation time
The simulation runtime was longest when all organs were considered, at 2587 ± 1263 s, and shortest when only the pancreas was considered, at 844 ± 269 s. Because approximately 90 cases were run concurrently, these are not pure runtimes. The mean time of one loop was 3.18 ± 1.31 s for "psdl" and 1.16 ± 0.212 s for "p". The paper states that because radiotherapy takes several tens of minutes and the MR-Linac is ideally able to acquire slices in real time, the computations need to be accelerated to estimate organ motion with a larger number of images during treatment. As the main points for speeding up, the paper lists the number of loops until convergence (100 steps are required to judge convergence, and using maximum likelihood parameters for individual data can reduce the effects of overshoot and oscillation and the number of steps used for the judgment) and the time of one loop (optimizing the mapping of the images to the physical models and using a GPU; no GPU was used in this study).
Outlook
The paper states that this is an initial study to confirm the feasibility of the proposed method and that it has the following limitations.
- Reliability for real data: an open-source dataset was used and the GT was generated by geometric deformation and simulation, so for practical use the framework needs to be verified with images of the same patient taken at different times and with images taken using an MR-Linac.
- Simulation time: real-time estimation is not yet possible. The calculation efficiency using a GPU and the trade-off between reducing the computational complexity by coarsening the discretization and the accuracy of the simulation need to be investigated further.
- Accuracy of slice-to-slice registration: when only one slice is used, the framework may be vulnerable to motion perpendicular to the slice. Because slice-to-slice registration is needed only to compute the target position of each particle, other registration methods can be used, which may solve the problems of accuracy and motion perpendicular to the slice and further improve the overall accuracy.
In addition, although this study focused on radiotherapy with the MR-Linac, the paper states that the proposed framework could also be used for other types of processing such as image fusion, motion correction and volume reconstruction. In the future, the authors plan to apply the proposed improvement measures and to verify the effectiveness of the method with data obtained from the device during actual treatment.