Difference between revisions of "2013 Summer Project Week:MaskedFFTNormalizedCorrelationOverlay"

From NAMIC Wiki
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
<gallery>
 
<gallery>
 
Image:PW-MIT2013.png|[[2013_Summer_Project_Week#Projects|Projects List]]
 
Image:PW-MIT2013.png|[[2013_Summer_Project_Week#Projects|Projects List]]
FixedImageWithCroppedImageOverlay.png| Fixed image with the moving image overlaid
+
Image:FixedImageWithCroppedImageOverlay.png| Fixed image with the template moving image overlaid
Image:CorrelationMap.png|Correlation Map
+
Image:CorrelationMap.png| Output correlation map showing the peak at the correct location of overlap
Image:CorrelationMapWithCroppedRegionOverlay.png|GridImage
+
Image:CorrelationMapWithCroppedRegionOverlay.png| Output correlation map with the template moving image overlaid
CorrelationMapWithFixedImageOverlay.png|GridImage
+
Image:CorrelationMapWithFixedImageOverlay.png| Output correlation map with the fixed image overlaid
 
</gallery>
 
</gallery>
  
Line 18: Line 18:
 
<h3>Objective</h3>
 
<h3>Objective</h3>
  
Integrate the Masked FFT Normalized Correlation algorithm from ITK into Slicer.
+
Integrate the Masked FFT Normalized Correlation algorithm from ITK into Slicer and ensure that the correlation map overlays correctly with the fixed image.  This filter is useful for fast rigid registration of images that have associated masks that defined what regions should be ignored in the registration metric.
  
 
</div>
 
</div>
Line 26: Line 26:
 
<h3>Approach, Plan</h3>
 
<h3>Approach, Plan</h3>
  
so that the correlation map overlays correctly with the fixed image and the maxima of the correlation map  
+
Corrected the output origin of the MaskedFFTNCC algorithm so that the fixed image falls directly in the middle of the output correlation map in physical space.  With this alignment, each point in the output NCC map overlaps at the location in the fixed image at which the moving image provides that NCC score when centered at that location.
 
 
<ul>
 
<li> SimpleITK filter: Filters chosen from drop-down menu, with dynamically created parameter widgets
 
<li> Input: Dynamically created for the number of images required by the SimpleITK filter selected that is MRML-aware
 
<li> Output: Output image widget
 
<li> Script: Textual display of Python script the module will evaluate. An "Apply" button will execute the Python code
 
</ul>
 
  
 
</div>
 
</div>
Line 41: Line 34:
 
<h3>Progress</h3>
 
<h3>Progress</h3>
  
so that the correlation map overlays correctly with the fixed image and the maxima of the correlation map
+
Submitted as an ITK gerrit patch and is in the process of being merged.  After merging, it will be integrated into SimpleITK so that it can be called using the SimpleFilters interface in Slicer.
  
 
</div>
 
</div>

Latest revision as of 16:58, 21 June 2013

Home < 2013 Summer Project Week:MaskedFFTNormalizedCorrelationOverlay

Key Investigators

  • GE: Dirk Padfield
  • UIowa: Hans Johnson
  • MSC/NLM: Bradley Lowekamp

Objective

Integrate the Masked FFT Normalized Correlation algorithm from ITK into Slicer and ensure that the correlation map overlays correctly with the fixed image. This filter is useful for fast rigid registration of images that have associated masks that defined what regions should be ignored in the registration metric.

Approach, Plan

Corrected the output origin of the MaskedFFTNCC algorithm so that the fixed image falls directly in the middle of the output correlation map in physical space. With this alignment, each point in the output NCC map overlaps at the location in the fixed image at which the moving image provides that NCC score when centered at that location.

Progress

Submitted as an ITK gerrit patch and is in the process of being merged. After merging, it will be integrated into SimpleITK so that it can be called using the SimpleFilters interface in Slicer.

Delivery Mechanism

This work will be delivered to the NA-MIC Kit as a (please select the appropriate options by noting YES against them below)

  1. ITK Module - YES
  2. Slicer Module - YES
    1. Built-in
    2. Extension -- commandline
    3. Extension -- loadable
  3. Other (Please specify)

References