Difference between revisions of "Slicer3:FourDAnalysis"

From NAMIC Wiki
Jump to: navigation, search
Line 10: Line 10:
  
 
To install 4D Analysis Module in your 3D Slicer, first obtain the source code and put it into the module source directory:
 
To install 4D Analysis Module in your 3D Slicer, first obtain the source code and put it into the module source directory:
 +
(Suppose you compile Slicer under <working directory>)
  
   cd <Slicer source code directory>/Modules
+
   cd <working directory>/Slicer3/Modules
 
   svn co http://svn.na-mic.org/NAMICSandBox/trunk/FourDAnalysis FourDAnalysis
 
   svn co http://svn.na-mic.org/NAMICSandBox/trunk/FourDAnalysis FourDAnalysis
  
Line 19: Line 20:
 
     FourDAnalysis                      #<- this line!!
 
     FourDAnalysis                      #<- this line!!
 
   )
 
   )
 +
 +
Go to the module directory in the directory, and run make to configure and build the module.
 +
  cd <working directory>/Slicer3-build/Modules
 +
  make
 +
 +
If the module successfully compiled, the module should be in the menu of 3D Slicer.

Revision as of 18:27, 19 February 2009

Home < Slicer3:FourDAnalysis

Introduction

The 4D Analysis Module allows you to load, visualize and analyze a time-series of 3D images (4D image) on 3D Slicer. Currently, the module offers the following functions:

  • 4D image reader. The module can read a series of 3D images from a directory. It analyzes DICOM header of the files in the directory and split them into time-frames, even if all frames have the same series number. The module can also read NRRD images.
  • Time scroll. The module provides a scroll-bar interface to scroll the frame in time-direction. It allows you to scroll the frame for foreground and background independently to compare two images at the different time points.
  • Intensity plot. The module can draw intensity curve at the specified region of interest.
  • Series registration. The module provides a user-interface to perform image registration for each frame with a key frame. This function is useful if you want to perform intensity curve analysis on a series of images of an organ moving through the frames.

Installation

Currently, the module is only available in the NAMICSandBox repository. Before you start, you need to have the latest 3D Slicer built from the source code. Please follow the instruction to build 3D Slicer in you environment.

To install 4D Analysis Module in your 3D Slicer, first obtain the source code and put it into the module source directory: (Suppose you compile Slicer under <working directory>)

 cd <working directory>/Slicer3/Modules
 svn co http://svn.na-mic.org/NAMICSandBox/trunk/FourDAnalysis FourDAnalysis

Then edit CMakeFiles.txt in the Modules directory. Around line 69 (at the end of subdir()), insert the following code:

   ....
   ModelIntoLabelVolume
   FourDAnalysis                       #<- this line!!
 )

Go to the module directory in the directory, and run make to configure and build the module.

 cd <working directory>/Slicer3-build/Modules
 make

If the module successfully compiled, the module should be in the menu of 3D Slicer.