Technical Information
Contents
- 1 Technical information of 4D Ultrasound
- 1.1 Build Instructions
- 1.2 Running 4D Ultrasound
- 1.3 Ultrasound device
- 1.4 Tracking device
- 1.5 Calibration
- 1.6 Slicer
Technical information of 4D Ultrasound
Build Instructions
It is highly recommended to have a compiled version of Slicer and to have good knowledge about cmake.
- Check out 4D Ultrasound from http://svn.na-mic.org/NAMICSandBox/trunk/4DUltrasound
- Configure via ccmake (version > 2.6) in your build directory
You need a compiled version of VTK
- Make a new directory in with the name "Build" in the 4DUltrasound dir:
.../4DUltrasound$ mkdir Build
- Change into the Build directory
.../4DUltrasound$ cd Build
- Execute ccmake in this directory with the parent directory as parameter
.../4DUltrasound/Build$ ccmake ../
If ccmake (version > 2.6) is not installed in your system the executable can as well be found in: .../Slicer3-lib/CMAKE-build/bin/ccmake
- Type "c" to start the configuration -> You will receive an error message that VTK was not found -> Type "e" to exit help
- Change the cursor to the variable with the name "VTK_DIR" and hit ENTER
- Fill in your VTK-Build directory and hit ENTER (if you have a compiled version of Slicer you can use: .../Slicer3-lib/VTK-build )
- Hit "c" to start the configuration
- You will receive an error message -> ignore it and hit "e"
- Make a new directory in with the name "Build" in the 4DUltrasound dir:
- Compile 4D Ultrasound: Type $ make in your build directory
.../4DUltrasound/Build$ make
Running 4D Ultrasound
You need a working version of Slicer with OpenIGTLink
- Copy "CalibrationFile.txt" from
YOUR_SOURCE_DIR
toYOUR_BUILD_DIR/bin
- Run Slicer
- Add an "activer Server Connector" in the OpenIGTLink module which is waiting for data at port 18944
- Run Synchrograb on the same machine you run Slicer
$YOUR_BUILD_DIR/bin/4DUltrasound -c CalibrationFile.txt
Commandline Options
Command | Alternative | Description | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
--calibration-file xxx | -c xxx | Specify the calibration file (mandatory) | ||||||||||||||||||||||||||||
--reconstruct-volume | -rv | Enable volume reconstruction | ||||||||||||||||||||||||||||
--dynamic-volumesize | -dvs | Enable dynamic size of reconstruction volume | ||||||||||||||||||||||||||||
--track-ultrasound | -tu | Enable ultrasound tracking | ||||||||||||||||||||||||||||
--track-instrument | -ti | Enable instrument tracking | ||||||||||||||||||||||||||||
--simulate-instrument | -si | Simulate instrument | ||||||||||||||||||||||||||||
--oigtl-server xxx | -os xxx | Specify OpenIGTLink server (default: 'localhost') | ||||||||||||||||||||||||||||
--oigtl-port xxx | -op xxx | Specify OpenIGTLink port of server (default: 18944) | ||||||||||||||||||||||||||||
--frames-per-second xxx | -fps xxx | Number of frames per second for the ultrasound data collection (default: 30) | ||||||||||||||||||||||||||||
--video-source xxx | -vs xxx | Set video source (default: '/dev/video0') | ||||||||||||||||||||||||||||
--video-source-channel xxx | -vsc xxx | Set video source channel (default: 3) | ||||||||||||||||||||||||||||
--video-mode xxx | -vm xxx | Set video mode; Options: NTSC, PAL (default: NTSC) | ||||||||||||||||||||||||||||
--scan-depth xxx | -sd xxx | Set depth of ultrasound scan in Millimeter (default: 70mm) | ||||||||||||||||||||||||||||
--verbose | -v | Print more information
TO DO
Ultrasound deviceThe ultrasound images are received via a video capture card. Linux uses V4L2 to support the card. Capture Card - Hauppauge WIN-TV PCI Board ImpactVCB Model 558
Linux (Ubuntu 8.10 , Fedora 5)
Hardware Information
Video4Linux2Video4Linux is part of the Linux kernel since version 2.6.xx
Old links may soon be dead
Contacts
Tracking deviceWe are using a NDI Aurora tracker. Synchrograb includes an NDI tracker class which works out of the box with the Aurora NDI tracker. Contacts
CalibrationDescription: To get the correct information from the ultrasound device it has to be calibrated Contacts
Information:
SlicerI am using the trunk version of Slicer (3.3) since this has the OpenIGTLink module and the CUDA module. Python Synchrograb ModuleI implemented a Pyhton module for Slicer to start Synchrograb. The module can be found in this svn repository. Basically it starts a new shell and calls the Synchrograb binary within this shell. All Synchrograb commandline options are available in the module. So fare it is not part of the Slicer repository. 3D CUDAI might not use Cuda acceleration since there is no real performance advantage at this point TO DO
Contacts
Documentation: VolumeRenderingCuda Module
Links
Infos on loadable ModulesInfos about Executable Modules inSlicer
Subscribe to different meetings
How to "Enable CUDA 2.0 in Fedora 8 for use with Slicer 3.3 Alpha"Date: Sept. 26th 2008 Fedora 8 is the newest Fedora version for which CUDA is available. The available CUDA Version is 2.0. Installation of Drivers
for the driver installation binary ~/Download/CUDA/Driver/ for the tool kit installation binary ~/Download/CUDA/Toolkit/ and for the SDK installation binary ~/Download/CUDA/SDK/
a Then type Type 3 and hit the 'Enter' key. Fedora will boot up without X Server and drop you at Command Line Login prompt.
su
cd ~/Download/CUDA/Driver/
chmod +x BINARY-NAME (Replace 'BINARY-NAME' with the name of the driver binary)
./BINARU-NAME I changed none of the default values during the installation
Enable CUDA in Slicer 3.3 Alpha
svn co http://svn.slicer.org/Slicer3/trunk Slicer3 ./Slicer3/Scripts/getbuildtest.tcl
This installation worked for me on a DELL machine with XEON Dual Core and a Nvidia G8800. For fast rendering make sure not enable compiz(Desktop Effects). |