Difference between revisions of "Quick image deface"

From Slicer Wiki
Jump to: navigation, search
(Created page with '1) Create ROI encompassing face area (nose, eyes) but excluding as much of brain as feasible. 2) Use CropVolume module to crop based on the ROI. 3) Use Editor to select ALL inten…')
 
 
Line 1: Line 1:
1) Create ROI encompassing face area (nose, eyes) but excluding as much of brain as feasible.
+
# Create ROI encompassing face area (nose, eyes) but excluding as much of brain as feasible.
2) Use CropVolume module to crop based on the ROI.
+
# Use CropVolume module to crop based on the ROI.
3) Use Editor to select ALL intensity values creating labelmap of the whole ROI
+
# Use Editor to select ALL intensity values creating labelmap of the whole ROI
4) Use MaskImage to grab just that ROI area as a new image
+
# Use MaskImage to grab just that ROI area as a new image
5) Subtract new image from original image.
+
# Subtract new image from original image.
  
*necessary because CropVolume rescales the intensity
+
The convoluted way is necessary because CropVolume rescales intensity; else could just subtract the cropped image.

Latest revision as of 22:49, 17 November 2010

Home < Quick image deface
  1. Create ROI encompassing face area (nose, eyes) but excluding as much of brain as feasible.
  2. Use CropVolume module to crop based on the ROI.
  3. Use Editor to select ALL intensity values creating labelmap of the whole ROI
  4. Use MaskImage to grab just that ROI area as a new image
  5. Subtract new image from original image.

The convoluted way is necessary because CropVolume rescales intensity; else could just subtract the cropped image.