Documentation for vtkImageThreshold

vtkImageThreshold - Flexible threshold

Super Class: vtkImageFilter

Description:

vtkImageThreshold Can do binary or continous thresholding for lower, upper or a range of data. The output data type may be different than the output, but defaults to the same type.

 

Methods:

void vtkImageThreshold ()
static vtkImageThreshold *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void ThresholdByUpper (float )
void ThresholdByLower (float )
void ThresholdBetween (float ,float )
void SetReplaceIn (int )
int GetReplaceIn ()
void ReplaceInOn ()
void ReplaceInOff ()
void SetInValue (float )
float GetInValue ()
void SetReplaceOut (int )
int GetReplaceOut ()
void ReplaceOutOn ()
void ReplaceOutOff ()
void SetOutValue (float )
float GetOutValue ()
float GetUpperThreshold ()
float GetLowerThreshold ()
void SetOutputScalarType (int )
int GetOutputScalarType ()
void SetOutputScalarTypeToFloat ()
void SetOutputScalarTypeToInt ()
void SetOutputScalarTypeToShort ()
void SetOutputScalarTypeToUnsignedShort ()
void SetOutputScalarTypeToUnsignedChar ()
void ExecuteImageInformation ()
void ThreadedExecute (vtkImageData * ,vtkImageData * ,int ,int )

 

Detailed Method Descriptions:

The values greater than or equal to the value match.

void ThresholdByUpper (float )

The values less than or equal to the value match.

void ThresholdByLower (float )

The values in a range (inclusive) match

void ThresholdBetween (float ,float )

Determines whether to replace the pixel in range with InValue

void SetReplaceIn (int )
int GetReplaceIn ()
void ReplaceInOn ()
void ReplaceInOff ()

Replace the in range pixels with this value.

void SetInValue (float )
float GetInValue ()

Determines whether to replace the pixel out of range with OutValue

void SetReplaceOut (int )
int GetReplaceOut ()
void ReplaceOutOn ()
void ReplaceOutOff ()

Replace the in range pixels with this value.

void SetOutValue (float )
float GetOutValue ()

Get the Upper and Lower thresholds.

float GetUpperThreshold ()
float GetLowerThreshold ()

Set the desired output scalar type to cast to

void SetOutputScalarType (int )
int GetOutputScalarType ()
void SetOutputScalarTypeToFloat ()
void SetOutputScalarTypeToInt ()
void SetOutputScalarTypeToShort ()
void SetOutputScalarTypeToUnsignedShort ()
void SetOutputScalarTypeToUnsignedChar ()