Difference between revisions of "Image Registration for MRg Prostate Biopsy"

From NAMIC Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
== Intro and Disclaimer ==
 +
 +
BRAINSFitIGT code is a 3D Slicer module based on the [http://wiki.slicer.org/slicerWiki/index.php/Modules:BRAINSFit BRAINSFit] code originally developed by Hans Johnson and his team at U.Iowa. BRAINSFitIGT has been modified and customized to support registration of prostate preoperative MRI to intraoperative MRI during image-guided biopsy procedures. It has been used to produce reasonable registration results for the last 7 or so biopsy cases. Quantitative evaluation of the accuracy is in progress.
 +
 +
While using this code, please remember that it can change at any time, as I (Andrey Fedorov) am working to evaluate and improve it. It has not been evaluated for organs other than prostate. I will be interested to learn about your experience using it for new applications.
 +
 
== General instructions ==
 
== General instructions ==
  

Revision as of 14:25, 17 September 2010

Home < Image Registration for MRg Prostate Biopsy

Intro and Disclaimer

BRAINSFitIGT code is a 3D Slicer module based on the BRAINSFit code originally developed by Hans Johnson and his team at U.Iowa. BRAINSFitIGT has been modified and customized to support registration of prostate preoperative MRI to intraoperative MRI during image-guided biopsy procedures. It has been used to produce reasonable registration results for the last 7 or so biopsy cases. Quantitative evaluation of the accuracy is in progress.

While using this code, please remember that it can change at any time, as I (Andrey Fedorov) am working to evaluate and improve it. It has not been evaluated for organs other than prostate. I will be interested to learn about your experience using it for new applications.

General instructions

  • The software components used in this pipeline are not available in the standard Slicer distribution. Instead, the following binary available on opel.bwh.harvard.edu should be used:
/workspace/fedorov/Slicer/Stable-Release/Slicer3-superbuild/Slicer3-build/Slicer3
  • log on to opel with X forwarding enabled:
ssh -XY opel
  • the code is also available on the cart workstation at SPL. Log in using "develop" account (email me fedorov AT bwh) if you need the password. Use the Slicer icon on the desktop to launch Slicer with BRAINSFitIGT.
  • You are supposed to be familiar with 3D Slicer. If this is not the case, familiarize yourself at least with the tutorials 1, 2, 4 and 5 from Slicer 3.6 training page

WARNINGS

Do not's ...

  • do not make slice visible in 3D viewer: this will crash Slicer (this is a known problem specific to SPL fat nodes, there is no solution to fix it right now)
  • do not use your home directory for Slicer temporary storage -- it will fill up quickly, and Slicer will not work correctly

Processing Steps

1. Preparation step: start Slicer, load the images (let's say, they are called "preop.nrrd" and "intraop.nrrd"). Do the following:

  1. Contour the object you want to register in both images
    1. go to Slicer Editor module
    2. create a new label image
    3. trace the approximate boundary of the prostate capsule in each image using "Draw" tool (let's say, they are called "preop-label" "intraop-label")
  2. Perform bias correction on the intraop image
    1. go to "N4ITK MRI Bias Correction" module
    2. Parameters: Input image = "intraop" or "preop" image, Mask image = "intraop-label" or "preop-label", Output volume = create new volume and name it "preop-N4"/"intraop-N4"

2. Registration step

  1. Choose Registration -> BRAINSFitIGT module
    1. Parameters: Fixed image volume = "intraop-N4", Moving image volume = "preop-N4", Input fixed mask = "intraop-label", Input moving mask = "preop-label", Slicer BSpline transform = create a new transform and name it "bspline-REG-tfm", Output image volume = create a new volume and name it "preop-REG"
    2. Upon completion of registration, inspect the result and check if it makes sense
Fields that need to be selected for the 'Registration step of the workflow are highlighted

Testing Data

Example datasets of prostate MRI acquired before and during Mr-guided biopsy procedures are available on the cart workstation at SPL:

  • load a training dataset by clicking on File --> Load Scene... --> Prostate_registration_training
  • there should be three training datasets: Case003, Case 004. Case005
  • choose e.g. Case004/RegistrationScene.mrml
  • nomenclature:
    • t2ax = preoperative prostate image data
    • t2ax-intraop = intraoperative prostate image data

The same training data is also available on SPL network in /projects/igtcases/ProstateBx_cases/Training/