Binary Threshold Segmentation CLP

From user's Wiki!
Jump to: navigation, search
Binary Threshold

General Information

  • Type: CLP
  • Category: Segmentation
  • Author: Xavi Planes
  • Contributor: Xavi Planes
  • Contact: xavier.planes@upf.edu
  • Description: This filter produces an output image whose pixels are either one of two values ( OutsideValue or InsideValue ), depending on whether the corresponding input image pixels lie between the two thresholds ( LowerThreshold and UpperThreshold ). Values equal to either threshold is considered to be between the thresholds.


Usage

Parameters

Label Type Flag / Index Default value / Channel Description
Parameters for Binary Thresholding
Inside Value float --insideValue 1 The value assigned to pixels that are inside the computed threshold
Outside Value float --outsideValue 0 The value assigned to pixels that are outside the computed threshold
Lower Threshold float --lowerThreshold 0 Lower Threshold
Upper Threshold float --upperThreshold 255 Upper Threshold
IO
Input Volume image index 0 input Input volume to be filtered
Output Volume image type="label" index 1 output Output Volume

Examples

Sample Data:Cerebral aneurysm flow dynamics

In this example you can see a binary threshold applied to a cerebral aneurysm:

Binary Threshold

Development

Source code: C++ Source code and XML description

Go back to Users