3DSlicer27:OpenIGTLinkIF
生活随笔
收集整理的這篇文章主要介紹了
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
- Configuring OpenIGTLinkiIF module
列表中將會出現“vtkMRMLIGTConnectorNode1”.
- 修改connector的名字
This is an optional step. It is a?good idea to name connectors,?especially if you have multiple?connections.
- 設置connector類型
選擇“Client”,類型和主機名就會出現在列表屬性中。
- 提取Server程序
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
OpenIGTLinkIF Module中,打開IO configure tree,在IN節點點擊“+”,點擊那個小眼睛圖標。 ??
- Open 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的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: C语言实现MATLAB 6.5中M文件的
- 下一篇: 3DSlicer28:PLUS