Difference between revisions of "Slicer3:Module:BinaryErodeOperations-Documentation"

From Slicer Wiki
Jump to: navigation, search
Line 37: Line 37:
  
 
As seen above, the first figure shows the GUI panel if the user implements BinaryThresholding Module before erosion, whereas the second one shows the GUI panel of BinaryErodeOperations module in the case of using LabelBinaryImages module before erosion.
 
As seen above, the first figure shows the GUI panel if the user implements BinaryThresholding Module before erosion, whereas the second one shows the GUI panel of BinaryErodeOperations module in the case of using LabelBinaryImages module before erosion.
 +
 +
==DEVELOPMENT==
 +
 +
===Dependencies===
 +
 +
The BinaryErodeOperations Module uses four ITK classes. One of them is for binary erosion, which is called itkBinaryErodeImageFilter [http://www.itk.org/Doxygen/html/classitk_1_1BinaryErodeImageFilter.html]. Three of ITK classes which are included are used to create structuring elements. For ball structuring element, itkBinaryBallStructuringElement[http://www.itk.org/Doxygen/html/classitk_1_1BinaryBallStructuringElement.html]; for cross structuring element itkBinaryCrossStructuringElement[http://www.itk.org/Doxygen/html/classitk_1_1BinaryCrossStructuringElement.html] and for neighborhood structuring element itkNeighborhood[http://www.itk.org/Doxygen/html/classitk_1_1Neighborhood.html] are added.
 +
 +
In this project, for erosion the ball structuring element has been chosen.

Revision as of 18:31, 27 August 2008

Home < Slicer3:Module:BinaryErodeOperations-Documentation

Binary Erode Operations

GENERAL INFORMATION

Module Type&Category

This module is for performing erosion on binary images. The type of this module is CLI and is in the category of Segmentation of Slicer 3.

Authors, Collaborators & Contact

  • Author: Bike Kilic, MSc student in Northeastern University
  • Contact: kilicbike@gmail.com

Module Description

This module aims to perform erosion method in order to make the two different objects separate in a given image. After separating them, the next step will be creating a label map and changing the labels to specify different regions.

This method uses a structuring element in order to cover the object border with given foreground value. It shrinks the object with this structuring element. For this project, the structuring element is ball structuring element with a radius size which is defined by the user.

For example, the results given in Screen shots part, the structuring element is ball structuring element with radius 5. It took 7 iterations in order to get the desired output before creating different labels.

The input of this module is the output of the BinaryThresholding( or LabelBinaryImages) module at the beginning. For the following iterations, the input is the eroded binary image from the previous iteration.

USAGE

Quick Tour of Features and Use

The GUI panel for BinaryErodeOperations Module after binary thresholding
The GUI panel for BinaryErodeOperations Module after binary thresholding and labeling

As seen above, the first figure shows the GUI panel if the user implements BinaryThresholding Module before erosion, whereas the second one shows the GUI panel of BinaryErodeOperations module in the case of using LabelBinaryImages module before erosion.

DEVELOPMENT

Dependencies

The BinaryErodeOperations Module uses four ITK classes. One of them is for binary erosion, which is called itkBinaryErodeImageFilter [1]. Three of ITK classes which are included are used to create structuring elements. For ball structuring element, itkBinaryBallStructuringElement[2]; for cross structuring element itkBinaryCrossStructuringElement[3] and for neighborhood structuring element itkNeighborhood[4] are added.

In this project, for erosion the ball structuring element has been chosen.