Difference between revisions of "User:Haehn"

From NAMIC Wiki
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
! Info ||  
 
! Info ||  
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
|'''Daniel H&auml;hn'''<br>Student of Medical Informatics <br>University of Heidelberg, Germany<br>E-Mail: [mailto:haehn@bwh.harvard.edu haehn@bwh.harvard.edu] or [mailto:haehn@urz.uni-heidelberg.de haehn@urz.uni-heidelberg.de]<br>Expected Graduation: Spring 2010  || <center>[[Image:haehn.jpg]]</center>
+
|'''Daniel Haehn'''
 +
 
 +
http://danielhaehn.com
 +
 
 +
|| <center>[[Image:haehn.jpg]]</center>
 
|}
 
|}
 +
  
 
=== VMTK in 3D Slicer ===
 
=== VMTK in 3D Slicer ===
  
'''Project goal:''' Integration of VMTK in 3D Slicer<br>
+
The Vascular Modeling Toolkit ([http://vmtk.org VMTK]) is a collection of libraries and tools for 3D reconstruction, geometric analysis, mesh generation and surface data analysis for image-based modeling of blood vessels. It should be very interesting to offer such techniques in 3D Slicer.
'''Kick-Off:''' 10/15/2008
 
'''Milestone 1:''' 03/31/2009
 
  
The extraction of vessels in two­ and three­dimensional images is part of many clinical analysis tasks.
+
The official project page:
Surgical and radiology procedures often involve the visualization and quantification of vessels in order
+
http://www.vmtk.org/Main/VmtkIn3DSlicer
to perform surgical planning or diagnostics. There is no single segmentation method that can extract
 
vessels  from  every  medical  image  modality,  but  different  approaches  and  robust  algorithms  exist.  
 
Various  published  key  algorithms  are  available  within  an  open­source  framework  for  image­based
 
modeling of blood vessels, referred to as the Vascular Modeling Toolkit (VMTK). <br>
 
The library of VMTK was made available in 3D Slicer, an application providing a wide range of tools
 
for medical image processing. This was realized using a hidden loadable module approach in order to
 
provide a flexible way of distributing and including the library. To evaluate and verify the integration, a
 
software module offering VMTK level set segmentation methods within 3D Slicer was created.<br>
 
With the successful connection of the two above mentioned software solutions, processing pipelines
 
between VMTK code and other algorithms can be established. Several techniques for three dimensional
 
reconstruction, geometric analysis, mesh generation and surface data analysis for image­based modeling
 
of  blood  vessels  are  now  accessible  to  the  3D  Slicer  developer.  The  reference  implementation  for
 
accessing VMTK, as well as the created library module are available as open­source software.
 
  
'''The NITRC project page including a SVN repository with the latest code: http://www.nitrc.org/projects/slicervmtklvlst/'''
 
  
 
More recent news on this project: <br>
 
More recent news on this project: <br>
 +
 
http://www.na-mic.org/Wiki/index.php/2009_Winter_Project_Week_Slicer_VMTK<br>
 
http://www.na-mic.org/Wiki/index.php/2009_Winter_Project_Week_Slicer_VMTK<br>
http://www.na-mic.org/Wiki/index.php/Summer2009:The_Vascular_Modeling_Toolkit_in_3D_Slicer
+
http://www.na-mic.org/Wiki/index.php/Summer2009:The_Vascular_Modeling_Toolkit_in_3D_Slicer<br>
 +
http://www.na-mic.org/Wiki/index.php/2010_Winter_Project_Week_The_Vascular_Modeling_Toolkit_in_3D_Slicer
 +
http://www.na-mic.org/Wiki/index.php/2010_Summer_Project_Week/The_Vascular_Modeling_Toolkit_in_3D_Slicer
 +
http://www.na-mic.org/Wiki/index.php/2011_Winter_Project_Week:The_Vascular_Modeling_Toolkit_in_3D_Slicer
 +
http://www.na-mic.org/Wiki/index.php/2011_Winter_Project_Week:StenosisDetector
 +
 
 +
This work is done in conjunction with Luca Antiga (Medical Imaging Unit, Bioengineering Department, Mario Negri Institute, Bergamo, Italy).
 +
 
 +
==== VMKT in Slicer4 ====
 +
 
 +
The VMTK integration in 3D Slicer will be transitioned to Slicer4.
 +
 
 +
Some developer notes:
 +
<pre>
 +
# clone the fork
 +
git clone git@github.com:haehn/vmtk.git
 +
 
 +
# check the status
 +
git status
  
VMTK is the Vascular Modeling Toolkit (http://vmtk.org) and offers interesting techniques for segmentation of vessels or tube-shapes.<br>
+
# switch to branch superbuild
 +
git checkout superbuild
  
This work is done in conjunction with Luca Antiga (Medical Imaging Unit, Bioengineering Department, Mario Negri Institute, Bergamo, Italy).
+
# include upstream by editing .git/config
 +
# 17 [remote "upstream"]
 +
# 18      url = https://github.com/lantiga/vmtk.git
 +
# 19      fetch = +refs/heads/*:refs/remotes/upstream/*
 +
 
 +
# get the upstream
 +
git fetch upstream
 +
 
 +
# merge the latest changes to local
 +
git merge upstream/superbuild
 +
 
 +
# push the latest changes from upstream to fork
 +
git push
 +
 
 +
</pre>
 +
 
 +
Now, somebody forked the repo, made some changes we want in the master:
 +
 
 +
<pre>
 +
# add the remote repo
 +
git remote add jcfr https://github.com/jcfr/EMSegment4.git
 +
 
 +
# fetch it
 +
git fetch jcfr
 +
 
 +
# see diff
 +
git log -p master jcfr/master
 +
 
 +
# now merge the remote with our master
 +
git merge jcfr/master
 +
Updating f5d1b39..dd72623
 +
error: Your local changes to 'CMakeLists.txt' would be overwritten by merge.  Aborting.
 +
Please, commit your changes or stash them before you can merge.
 +
 
 +
# let's revert our local changes
 +
git checkout CMakeLists.txt
 +
 
 +
# merge again
 +
git merge jcfr/master
 +
 
 +
# and push it to the master
 +
git push
 +
</pre>
 +
 
 +
<pre>
 +
# use cherry-pick to merge a commit from another branch into the current branch
 +
git cherry-pick COMMITHASH
 +
 
 +
# now push
 +
git push
 +
</pre>
 +
 
 +
=== Images ===
 +
{|
 +
|[[File:Becky.png|thumb|400px]]||[[File:Becky2.png|thumb|400px]]||[[File:Beck3.png|thumb|400px]]
 +
|}

Latest revision as of 14:31, 14 March 2013

Daniel Haehn's Page

Info
Daniel Haehn

http://danielhaehn.com

Haehn.jpg


VMTK in 3D Slicer

The Vascular Modeling Toolkit (VMTK) is a collection of libraries and tools for 3D reconstruction, geometric analysis, mesh generation and surface data analysis for image-based modeling of blood vessels. It should be very interesting to offer such techniques in 3D Slicer.

The official project page: http://www.vmtk.org/Main/VmtkIn3DSlicer


More recent news on this project:

http://www.na-mic.org/Wiki/index.php/2009_Winter_Project_Week_Slicer_VMTK
http://www.na-mic.org/Wiki/index.php/Summer2009:The_Vascular_Modeling_Toolkit_in_3D_Slicer
http://www.na-mic.org/Wiki/index.php/2010_Winter_Project_Week_The_Vascular_Modeling_Toolkit_in_3D_Slicer http://www.na-mic.org/Wiki/index.php/2010_Summer_Project_Week/The_Vascular_Modeling_Toolkit_in_3D_Slicer http://www.na-mic.org/Wiki/index.php/2011_Winter_Project_Week:The_Vascular_Modeling_Toolkit_in_3D_Slicer http://www.na-mic.org/Wiki/index.php/2011_Winter_Project_Week:StenosisDetector

This work is done in conjunction with Luca Antiga (Medical Imaging Unit, Bioengineering Department, Mario Negri Institute, Bergamo, Italy).

VMKT in Slicer4

The VMTK integration in 3D Slicer will be transitioned to Slicer4.

Some developer notes:

# clone the fork
git clone git@github.com:haehn/vmtk.git

# check the status
git status

# switch to branch superbuild
git checkout superbuild

# include upstream by editing .git/config
# 17 [remote "upstream"]
# 18      url = https://github.com/lantiga/vmtk.git
# 19       fetch = +refs/heads/*:refs/remotes/upstream/*

# get the upstream
git fetch upstream

# merge the latest changes to local
git merge upstream/superbuild

# push the latest changes from upstream to fork
git push

Now, somebody forked the repo, made some changes we want in the master:

# add the remote repo
git remote add jcfr https://github.com/jcfr/EMSegment4.git

# fetch it
git fetch jcfr

# see diff
git log -p master jcfr/master

# now merge the remote with our master
git merge jcfr/master
Updating f5d1b39..dd72623
error: Your local changes to 'CMakeLists.txt' would be overwritten by merge.  Aborting.
Please, commit your changes or stash them before you can merge.

# let's revert our local changes
git checkout CMakeLists.txt

# merge again
git merge jcfr/master

# and push it to the master
git push
# use cherry-pick to merge a commit from another branch into the current branch
git cherry-pick COMMITHASH

# now push
git push

Images

Becky.png
Becky2.png
Beck3.png