SIVIC API
0.9.26
|
#include <svkImageThreshold.h>
Public Member Functions | |
vtkTypeMacro (svkImageThreshold, svkImageAlgorithmWithPortMapper) | |
void | SetThresholdMax (double max) |
svkDouble * | GetThresholdMax () |
void | SetThresholdMin (double min) |
svkDouble * | GetThresholdMin () |
void | SetMaskSeriesDescription (string description) |
svkString * | GetMaskSeriesDescription () |
void | SetMaskOutputValue (int value) |
svkInt * | GetMaskOutputValue () |
void | SetOutputScalarType (int outputScalarType) |
svkInt * | GetOutputScalarType () |
Public Member Functions inherited from svkImageAlgorithmWithPortMapper | |
vtkTypeMacro (svkImageAlgorithmWithPortMapper, svkImageAlgorithm) | |
virtual void | SetInputPortsFromXML (vtkXMLDataElement *element) |
Parses an XML element and converts it into input port parameters. Converts image filename strings to svkImageData objects. More... | |
virtual svkAlgorithmPortMapper * | GetPortMapper () |
Get the internal port mapper. More... | |
void | PrintSelf (ostream &os, vtkIndent indent) |
Prints all input parameters set. More... | |
Public Member Functions inherited from svkImageAlgorithm | |
vtkTypeMacro (svkImageAlgorithm, vtkImageAlgorithm) | |
svkImageData * | GetOutput () |
svkImageData * | GetOutput (int port) |
svkImageData * | GetImageDataInput (int port) |
Static Public Member Functions | |
static svkImageThreshold * | New () |
Static Public Member Functions inherited from svkImageAlgorithmWithPortMapper | |
static svkImageAlgorithmWithPortMapper * | New () |
Public Attributes | |
enum svk::svkImageThreshold:: { ... } | svkImageThresholdParameters |
Protected Member Functions | |
svkImageThreshold () | |
~svkImageThreshold () | |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
Protected Member Functions inherited from svkImageAlgorithmWithPortMapper | |
svkImageAlgorithmWithPortMapper () | |
~svkImageAlgorithmWithPortMapper () | |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
All ports must be initialized through the svkAlgorithmPortMapper BEFORE this method is called. More... | |
virtual int | FillOutputPortInformation (int port, vtkInformation *info) |
Protected Member Functions inherited from svkImageAlgorithm | |
svkImageAlgorithm () | |
~svkImageAlgorithm () | |
virtual int | FillOutputPortInformation (int vtkNotUsed(port), vtkInformation *info) |
virtual int | FillInputPortInformation (int vtkNotUsed(port), vtkInformation *info) |
This class handles thresholding images.
anonymous enum |
|
protected |
References svkImageThreshold::EXCLUSIVE_INTEGER_MATCHING, svkImageAlgorithmWithPortMapper::GetPortMapper(), svkAlgorithmPortMapper::InitializeInputPort(), svkAlgorithmPortMapper::InitializeOutputPort(), svkImageThreshold::INPUT_IMAGE, svkImageThreshold::INPUT_ROI, svkImageThreshold::MASK_OUTPUT_VALUE, svkImageThreshold::OUTPUT_SCALAR_TYPE, svkImageThreshold::OUTPUT_SERIES_DESCRIPTION, svkAlgorithmPortMapper::SVK_BOOL, svkAlgorithmPortMapper::SVK_DOUBLE, svkAlgorithmPortMapper::SVK_INT, svkAlgorithmPortMapper::SVK_MR_IMAGE_DATA, svkAlgorithmPortMapper::SVK_STRING, svkImageThreshold::THRESHOLD_BY_MODE_BIN_SIZE, svkImageThreshold::THRESHOLD_BY_MODE_FACTOR, svkImageThreshold::THRESHOLD_BY_MODE_IMAGE, svkImageThreshold::THRESHOLD_BY_MODE_NUM_BINS, svkImageThreshold::THRESHOLD_BY_MODE_SMOOTH_BINS, svkImageThreshold::THRESHOLD_BY_MODE_START_BIN, svkImageThreshold::THRESHOLD_MAX, and svkImageThreshold::THRESHOLD_MIN.
|
protected |
svkInt * GetMaskOutputValue | ( | ) |
Utility getter for input port .
References svkAlgorithmPortMapper::GetIntInputPortValue(), svkImageAlgorithmWithPortMapper::GetPortMapper(), and svkImageThreshold::MASK_OUTPUT_VALUE.
Referenced by svkImageThreshold::RequestData().
svkString * GetMaskSeriesDescription | ( | ) |
Utility getter for input port .
References svkImageAlgorithmWithPortMapper::GetPortMapper(), svkAlgorithmPortMapper::GetStringInputPortValue(), and svkImageThreshold::OUTPUT_SERIES_DESCRIPTION.
Referenced by svkImageThreshold::RequestData().
svkInt * GetOutputScalarType | ( | ) |
Utility getter for input port .
References svkAlgorithmPortMapper::GetIntInputPortValue(), svkImageAlgorithmWithPortMapper::GetPortMapper(), and svkImageThreshold::OUTPUT_SCALAR_TYPE.
Referenced by svkImageThreshold::RequestData().
svkDouble * GetThresholdMax | ( | ) |
Utility getter for input port .
References svkAlgorithmPortMapper::GetDoubleInputPortValue(), svkImageAlgorithmWithPortMapper::GetPortMapper(), and svkImageThreshold::THRESHOLD_MAX.
Referenced by svkImageThreshold::RequestData().
svkDouble * GetThresholdMin | ( | ) |
Utility getter for input port .
References svkAlgorithmPortMapper::GetDoubleInputPortValue(), svkImageAlgorithmWithPortMapper::GetPortMapper(), and svkImageThreshold::THRESHOLD_MIN.
Referenced by svkImageThreshold::RequestData().
|
static |
Referenced by svkImageAlgorithmPipeline::InitializeAlgorithmForTag().
|
protectedvirtual |
RequestData pass the input through the algorithm, and copies the dcos and header to the output.
References svkStatistics::ComputeModeFromHistogram(), svkImageData::DeepCopy(), svkImageThreshold::EXCLUSIVE_INTEGER_MATCHING, svkStatistics::GetAutoAdjustedBinSize(), svkImageData::GetDcmHeader(), svkAlgorithmPortMapper::GetDoubleInputPortValue(), svkStatistics::GetHistogram(), svkImageAlgorithm::GetImageDataInput(), svkAlgorithmPortMapper::GetIntInputPortValue(), svkStatistics::GetMaskedPixels(), svkImageThreshold::GetMaskOutputValue(), svkImageThreshold::GetMaskSeriesDescription(), svkAlgorithmPortMapper::GetMRImageInputPortValue(), svkImageAlgorithm::GetOutput(), svkImageThreshold::GetOutputScalarType(), svkImageAlgorithmWithPortMapper::GetPortMapper(), svkDcmHeader::GetStringValue(), svkImageThreshold::GetThresholdMax(), svkImageThreshold::GetThresholdMin(), svkInt::GetValue(), svkString::GetValue(), svkDouble::GetValue(), svkDcmHeader::GetVtkDataTypeFromSvkDataType(), svkImageThreshold::INPUT_IMAGE, svkImageThreshold::INPUT_ROI, svkImageAlgorithmExecuter::New(), svkImageAlgorithmExecuter::SetAlgorithm(), svkDcmHeader::SetPixelDataType(), svkDcmHeader::SetValue(), svkImageThreshold::THRESHOLD_BY_MODE_BIN_SIZE, svkImageThreshold::THRESHOLD_BY_MODE_FACTOR, svkImageThreshold::THRESHOLD_BY_MODE_IMAGE, svkImageThreshold::THRESHOLD_BY_MODE_NUM_BINS, svkImageThreshold::THRESHOLD_BY_MODE_SMOOTH_BINS, and svkImageThreshold::THRESHOLD_BY_MODE_START_BIN.
void SetMaskOutputValue | ( | int | value | ) |
Utility setter for input port .
References svkImageAlgorithmWithPortMapper::GetPortMapper(), svkImageThreshold::MASK_OUTPUT_VALUE, and svkAlgorithmPortMapper::SetIntInputPortValue().
void SetMaskSeriesDescription | ( | string | description | ) |
Utility setter for input port .
References svkImageAlgorithmWithPortMapper::GetPortMapper(), svkImageThreshold::OUTPUT_SERIES_DESCRIPTION, and svkAlgorithmPortMapper::SetStringInputPortValue().
void SetOutputScalarType | ( | int | outputScalarType | ) |
Sets the output scalar type.
References svkImageAlgorithmWithPortMapper::GetPortMapper(), svkImageThreshold::OUTPUT_SCALAR_TYPE, and svkAlgorithmPortMapper::SetIntInputPortValue().
void SetThresholdMax | ( | double | max | ) |
Utility setter for input port .
References svkImageAlgorithmWithPortMapper::GetPortMapper(), svkAlgorithmPortMapper::SetDoubleInputPortValue(), and svkImageThreshold::THRESHOLD_MAX.
void SetThresholdMin | ( | double | min | ) |
Utility setter for input port .
References svkImageAlgorithmWithPortMapper::GetPortMapper(), svkAlgorithmPortMapper::SetDoubleInputPortValue(), and svkImageThreshold::THRESHOLD_MIN.
vtkTypeMacro | ( | svkImageThreshold | , |
svkImageAlgorithmWithPortMapper | |||
) |
enum { ... } svkImageThresholdParameters |