Slicer3:Module:BinaryThresholding-Documentation

From Slicer Wiki
Revision as of 15:43, 27 August 2008 by Bikekilic (talk | contribs)
Jump to: navigation, search
Home < Slicer3:Module:BinaryThresholding-Documentation

Binary Thresholding

GENERAL INFORMATION

Module Type&Category

Type of this module is CLI and is under the category names Segmentation in Slicer 3.

Authors, Collaborators&Contact

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

Module Description

The purpose of this module is implementing simple binary thresholding in order to get a binary image at the end. In this project, the input is two spheres which are connected to each other and after this process, the pixel value of the inside of the connected spheres becomes 255, whereas the outside value is 0.

In order to add the input, from the File tab of Slicer 3, the inputted volume is added to the data module. In this project the input is "spheres.nrrd" as seen in the part of Screen shots in Binary Morphological Operations. The output of binary thresholding is then used for erosion.

USAGE

Quick Tour of Features and Use

The GUI panel of BinaryThresholding Module

DEVELOPMENT

Dependencies

In order to implement binary thresholding, itkBinaryThresholdImageFilter class has been used.[1]

This module is used to binarize an input image by thresholding.

The ITK filter produces an output image whose pixels are either one of two values ( OutsideValue or InsideValue ), depending on whether of not the corresponding input image pixel lie between the two thresholds ( LowerThreshold and UpperThreshold ). Values equal to either threshold is considered to be between the thresholds.

As seen in the GUI panel uploaded below, the LowerThreshold is 35 and the UpperThreshold value is 255. The InsideValue is 255, whereas OutsideValue is 0.

The Problems