Difference between revisions of "User:Gumprecht"

From NAMIC Wiki
Jump to: navigation, search
Line 61: Line 61:
 
|- bgcolor="#abcdef"
 
|- bgcolor="#abcdef"
 
! Month !! Week #  !! Start Date - End Date !! Done !! Date Done
 
! Month !! Week #  !! Start Date - End Date !! Done !! Date Done
|- bgcolor="#D0D0D0" height=10
+
|-
 +
|height=10|
 +
|- bgcolor="#D0D0D0"  
 
! September !! Week 39 || 22.09 - 28.09 || ||
 
! September !! Week 39 || 22.09 - 28.09 || ||
 
|-
 
|-
Line 77: Line 79:
 
|-
 
|-
 
| height="10px"|
 
| height="10px"|
|-
+
|- bgcolor="#E8E8E8"
! !! bgcolor="#E8E8E8" | Week 41 || 06.10 - 12.10 || ||
+
! bgcolor="#FFFFFF"| !! Week 41 || 06.10 - 12.10 || ||
 
|-
 
|-
 
| || colspan="2" | Understand and Use OpenIGTLink || align="center" | x || Tue Oct, 7th
 
| || colspan="2" | Understand and Use OpenIGTLink || align="center" | x || Tue Oct, 7th
 
|-
 
|-
 
| height="10px"|
 
| height="10px"|
|-
+
|- bgcolor="#E8E8E8"
! !! bgcolor="#E8E8E8" | Week 42 || 13.10 - 19.10 || ||
+
! bgcolor="#FFFFFF"| !! Week 42 || 13.10 - 19.10 || ||
 
|-
 
|-
 
| || colspan="2" |Compile SynchroGrab (using latest OpenIGTLink Library) ||align="center" | x || Tue Oct, 14th
 
| || colspan="2" |Compile SynchroGrab (using latest OpenIGTLink Library) ||align="center" | x || Tue Oct, 14th
Line 91: Line 93:
 
|-
 
|-
 
| height="10px"|
 
| height="10px"|
|-
+
|- bgcolor="#E8E8E8"
! !! bgcolor="#E8E8E8| Week 43 || 20.10 - 26.10 || ||
+
! bgcolor="#FFFFFF"| !! Week 43 || 20.10 - 26.10 || ||
 
|-
 
|-
 
| || colspan="2" | Starting work on "Creating a 3D-Volume with Synchrograb"||align="center" |  ||
 
| || colspan="2" | Starting work on "Creating a 3D-Volume with Synchrograb"||align="center" |  ||
Line 100: Line 102:
 
! November !!  | Week 44 || 27.10 - 02.11 || ||
 
! November !!  | Week 44 || 27.10 - 02.11 || ||
 
|-
 
|-
! !! bgcolor="#E8E8E8" colspan=3 | Week 45 || 03.11 - 09.11 || ||
+
|height=5|
 +
|- bgcolor="#E8E8E8"
 +
! bgcolor="#FFFFFF"| !! Week 45 || 03.11 - 09.11 || ||
 
|-
 
|-
 
| || colspan="2" | Video 4 Linux Video Source works ||align="center" | x || Tue Nov, 4th
 
| || colspan="2" | Video 4 Linux Video Source works ||align="center" | x || Tue Nov, 4th
 
|-
 
|-
! !! bgcolor="#E8E8E8" colspan=3 | Week 46 || 10.11 - 15.11 || ||
+
|height="10px" |
 +
|- bgcolor="#E8E8E8"
 +
!bgcolor="#FFFFFF"| !! Week 46 !! 10.11 - 15.11 || ||
 
|-
 
|-
 
| || colspan="2" | Tracker Simulator works ||align="center" | x || Thu Nov, 13th
 
| || colspan="2" | Tracker Simulator works ||align="center" | x || Thu Nov, 13th

Revision as of 18:52, 18 November 2008

Wikipage of Jan Gumprecht

About myself

I am a student in Computer Engineering from Germany with a specification in Optoelectronics. At the moment I am writing my diploma thesis on "3D-Ultrasound Integration in Slicer". My university back in Germany is University of Mannheim. From September 2006 to August 2007 I studied in Waterloo, On Canada.

If you would like to contact me feel free to write me an e-mail.

E-mail: jgumprec (at sign) bwh.harvard.edu

What I am working on at the moment

  • Make 3D Volume Reconstruction of SynchroGrab work

Project - 3D-Ultrasound integration in Slicer

The main part of the project will be the integration of the source code of SynchroGrab in Slicer by using CUDA support.

All technical Information can be found here: Technical Information

SystemAufbau.png



After discussing with Junichi I got a deeper understanding of how the technical solution might look like.

This will be the technical approach.

ProjectWorkflow.png

Steps to go

Create 3D volume with Synchrograb
Create volume with data from the ultrasound device and the tracker
Create volume with mockup images and tracking information from the tracker
DONE Create volume with mockup images and mockup tracking information
Synchrograb
DONE Send 3D volume data via OpenIGTLink to Slicer and display data in Slicer
DONE Compile Synchrograb core i.d. uncomment unnecessary parts (Ultrasound, Tracker)
Preparation
DONE Display 3D volume data received via OpenIGTLink with the volume rendering module
DONE Create stand alone software to send volume data to Slicer via OpenIGTLink
DONE Compile and run Slicer with OpenIGTLink and volume rendering

Progress

Month Week # Start Date - End Date Done Date Done
September Week 39 22.09 - 28.09
Totally Understand GradientDiffusion Filter Module x Thu Sep, 25th
Set up Fedora 8 on th303_d4_6 x Fri Sep, 26th
October Week 40 29.09 - 5.10
Set up CUDA driver on th303_d4_6 x Tue Sep, 30th
Get CUDA Rendering Volume working in Slicer x Wed Oct, 2nd
Week 41 06.10 - 12.10
Understand and Use OpenIGTLink x Tue Oct, 7th
Week 42 13.10 - 19.10
Compile SynchroGrab (using latest OpenIGTLink Library) x Tue Oct, 14th
Send Volume Data via OpenIGTLink from SynchroGrab to Slicer x Tue Oct, 14th
Week 43 20.10 - 26.10
Starting work on "Creating a 3D-Volume with Synchrograb"
November Week 44 27.10 - 02.11
Week 45 03.11 - 09.11
Video 4 Linux Video Source works x Tue Nov, 4th
Week 46 10.11 - 15.11
Tracker Simulator works x Thu Nov, 13th

General

Infos on loadable Modules

HowTo Loadable Module
HowToLoadable Module GUI
Infos about Executable Modules inSlicer

Other Stuff to do

Find a new cart for the ultrasound unit

  • Infos in the intraweb
  • Figure out what hardware and how much space on the cart I need
    • CUDA Card
    • Capture Card
    • Ultrasound device
    • Tracker device
    • Uninterruptible power supply

Subscribe to different meetings

  • Journal Club
  • 1st Monday Seminar
  • Office OPRC
  • Radiology Grand Rounds
  • Cimit Forum


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.
To enable CUDA 2.0 in Fedora 8 for Slicer 3.3 Alpha follow the steps below:

Installation of Drivers

  • Download the CUDA installation files (Driver, Toolkit, SDK) here [1] and remember the directory in which you downloaded them. I used

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/
  • For the installation there must not run a X-Server. Therefore we have to restart the computer. When you see the GRUB Bootscreen after the reboot press any key to enter the GRUB menu. Highlight the Fedora Version you want to boot and press
 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.

  • Login and change into root mode via:
 su
  • Then switch to the directory where you downloaded the driver. For me this means:
 cd ~/Download/CUDA/Driver/
  • Now we have to change the permissions for the driver-binary and make it executable. This works with
 chmod +a BINARY-NAME

(Replace 'BINARY-NAME' with the name of the driver binary)

  • Now start the installation with:
 ./BINARU-NAME

I changed none of the default values during the installation

  • For the sdk compilation follow this reference guide: [2]
    If you get the error message: "ld: cannot find -lglut", like I did, have a look at the reference under 'IV. Known Issues'
  • In the next step we do the same for the toolkit and for the sdk, e.g chance to the according directory, change the permissions and run the installation with the default values

Enable CUDA in Slicer 3.3 Alpha

  • Start with the installation manual of Ben Grauer. You find it here [3]
    Below you find corrections to certains points that did not work for me the way it was explained in the manual
  • In 1.1.2 Check out the following slicer branch instead and build it:
 svn co http://svn.slicer.org/Slicer3/trunk Slicer3
 ./Slicer3/Scripts/getbuildtest.tcl
  • Before you can go on with step 1.2.2 you have to Uncomment:
    • CudaSupport in Slicer3/Libs/CMakeLists.txt
    • VolumeRenderingCuda in Slicer3/Modules/CMakeLists.txt
  • In step 1.2.2
    • you have to use your build directory (Slicer-build) as parameter for ccmake
    • for CUDA_INSTALL_PREFIX use /usr/local/cuda
    • for FOUND_CUT use $HOME/NVIDIA_CUDA_SDK/common/lib/linux/libcudpp.a
    • for FOUND_CUT_INCLUDE use $HOME/NVIDIA_CUDA_SDK/common/inc
  • Step 1.2.3 was not necessary for me
  • Just do a rebuild (run Slicer3/Scripts/getbuildtest.tcl) and the VolumeRenderingCUDA module is available

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).