日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

3DSlicer27:OpenIGTLinkIF

發布時間:2025/3/15 编程问答 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 3DSlicer27:OpenIGTLinkIF 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1.前言

OpenIGTLink接口用來與外部軟件/硬件進行網絡交流的獨立模塊,該模塊使用OpenIGTLink協議。該模塊提供了以下特性:
  • 數據輸入:該模塊可以從OpenIGTLink兼容的軟件導入位置數據、線性變換、圖像數據到MRML場景中。
  • 數據輸出:該模塊可以將線性變換、圖像從MRML場景中導出到外部軟件中。
  • 多連接:該模塊可以同時管理多個OpenIGTLink接口。
  • 定位器可視化:用戶可以選擇MRML場景中的一個線性變換,在3D空間中可視化其位置和方向。
  • Slice driving: The module can control volume re-slicing plane based on linear transform in the MRML scene.

multiple devices are communicating with 3D Slicer through the OpenIGTLink Interface

2.界面及使用規則


3.Tutorial

3.1 主要功能

  • 從遠程主機上導入數據到MRML場景
  • 將MRML中的數據導出到遠程主機

3.2 TCP連接基礎

遠程主機由IP 地址,或者網絡地址+端口號指定。 例如:
服務器與客戶端:
  • 服務器在給定的端口等待客戶端;
  • 客戶端請求與服務器進行連接;
  • Slicer既可以作為服務器又可以作為客戶端;

3.3 實驗測試

  • Installing?Volume Reslice?Driver Module
直接下載IGTExtension就包含了Volume Reslice Driver Module。
  • Configuring OpenIGTLinkiIF module
To connect 3D Slicer to external?device/software using?OpenIGTLink IF, a “connector” has?to be created for each connection.Connectors can be configured in“Connectors” Tab in OpenIGTLinkIF module.
列表中將會出現“vtkMRMLIGTConnectorNode1”.
  • 修改connector的名字
You may change the name of the?connector by type in a new name?and hit Return key.
This is an optional step. It is a?good idea to name connectors,?especially if you have multiple?connections.
  • 設置connector類型

選擇“Client”,類型和主機名就會出現在列表屬性中。
  • 提取Server程序
Uncompress the archived?simulator files downloaded?from the simulator page.Find TrackerServer binary
file.
Open a terminal window: Windows: Open the start?menu, type “cmd” in the?search box area and?then press Enter key.
Mac: Open “Utilities” in?“Application” folder and?double-click the?“Terminal.app” icon.
Linux: Open terminal?window.
Start TrackerServer:
Windows/Mac: Drag“TrackerServer” iconfrom Explorer (Win) or?Finder (Mac) and drop?into the command
window.

Linux: Type the path to?the binary file of?“TrackerServer”.
  • 指定端口號(18944)和幀率(10frame/s)

一旦按下回車鍵,TrackerServer就開始等待一個客戶端。
  • Slicer連接到TrackerServer上
??
Simulator starts printing?random transform matrix?values in the terminal?window.
  • 選擇Transform Module

Transform is being updated?while Tracker Simulator is?sending data.
  • 可視化Tracking Data
welcome Module中下載數據(Download MRHead):
OpenIGTLinkIF Module中,打開IO configure tree,在IN節點點擊“+”,點擊那個小眼睛圖標。 ??
  • Open Volume Reslice Diver
IGT->Volume Reslice Diver:

4. 參考資料

[1]Link to the Simulator packages [2]Module:OpenIGTLinkIF-Documentation 3.4 [3]OpenIGTLink Protocol Web Page [4]Tokuda J., et al. OpenIGTLink: an open network protocol for?image-guided therapy environment. Int J Med Robot. 2009Dec;5(4):423-34. PMID: 19621334. PMCID: PMC2811069.

總結

以上是生活随笔為你收集整理的3DSlicer27:OpenIGTLinkIF的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。