#include <vtkImageColocalizationFilter.h>
Inheritance diagram for vtkImageColocalizationFilter:
vtkImageColocalizationFilter takes as input multiple vtkImageData datasets and calculates the colocalized voxels in those datasets based on a lower and upper threshold that is defined for each of the input datasets.
A voxel is considered colocalized if in every input dataset the intensity of the voxel I_v is between the lower and upper thresholds (T_l and T_u respectively).
So, a voxel is colocalized if for each input datasets, the following holds:
T_l <= I_v <= T_u
Definition at line 46 of file vtkImageColocalizationFilter.h.
Reimplemented from vtkThreadedImageAlgorithm.
Definition at line 51 of file vtkImageColocalizationFilter.h.
vtkImageColocalizationFilter::vtkImageColocalizationFilter | ( | ) | [protected] |
vtkImageColocalizationFilter::~vtkImageColocalizationFilter | ( | ) | [protected] |
static vtkImageColocalizationFilter* vtkImageColocalizationFilter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
virtual const char* vtkImageColocalizationFilter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
static int vtkImageColocalizationFilter::IsTypeOf | ( | const char * | type | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
virtual int vtkImageColocalizationFilter::IsA | ( | const char * | type | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
static vtkImageColocalizationFilter* vtkImageColocalizationFilter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkThreadedImageAlgorithm.
void vtkImageColocalizationFilter::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkThreadedImageAlgorithm.
virtual void vtkImageColocalizationFilter::SetOutputDepth | ( | int | ) | [virtual] |
Set the bit depth of the generated colocalization map. Can be one of 24 - produce unsigned char dataset with 4 components (RGBA) 8 - produce 8-bit (unsigned char) dataset 1 - produce a 8-bit dataset that is conceptually 1-bit, that is, set to the specified scalar value
virtual int vtkImageColocalizationFilter::GetOutputDepth | ( | ) | [virtual] |
Set the bit depth of the generated colocalization map. Can be one of 24 - produce unsigned char dataset with 4 components (RGBA) 8 - produce 8-bit (unsigned char) dataset 1 - produce a 8-bit dataset that is conceptually 1-bit, that is, set to the specified scalar value
void vtkImageColocalizationFilter::SetOutputDepthTo24Bit | ( | ) | [inline] |
Set the bit depth of the generated colocalization map. Can be one of 24 - produce unsigned char dataset with 4 components (RGBA) 8 - produce 8-bit (unsigned char) dataset 1 - produce a 8-bit dataset that is conceptually 1-bit, that is, set to the specified scalar value
Definition at line 63 of file vtkImageColocalizationFilter.h.
References vtkObject::Modified().
void vtkImageColocalizationFilter::SetOutputDepthTo8Bit | ( | ) | [inline] |
Set the bit depth of the generated colocalization map. Can be one of 24 - produce unsigned char dataset with 4 components (RGBA) 8 - produce 8-bit (unsigned char) dataset 1 - produce a 8-bit dataset that is conceptually 1-bit, that is, set to the specified scalar value
Definition at line 64 of file vtkImageColocalizationFilter.h.
References vtkObject::Modified().
void vtkImageColocalizationFilter::SetOutputDepthTo1Bit | ( | ) | [inline] |
Set the bit depth of the generated colocalization map. Can be one of 24 - produce unsigned char dataset with 4 components (RGBA) 8 - produce 8-bit (unsigned char) dataset 1 - produce a 8-bit dataset that is conceptually 1-bit, that is, set to the specified scalar value
Definition at line 65 of file vtkImageColocalizationFilter.h.
References vtkObject::Modified().
void vtkImageColocalizationFilter::SetColocalizationLowerThreshold | ( | int | dataset, | |
int | threshold | |||
) |
Voxels in the specified dataset that have a scalar value above this threshold and below the upper threshold are considered to be colocalizing
int vtkImageColocalizationFilter::GetColocalizationLowerThreshold | ( | int | dataset | ) | [inline] |
Voxels in the specified dataset that have a scalar value above this threshold and below the upper threshold are considered to be colocalizing
Definition at line 73 of file vtkImageColocalizationFilter.h.
void vtkImageColocalizationFilter::SetColocalizationUpperThreshold | ( | int | dataset, | |
int | threshold | |||
) |
Voxels in the specified dataset that have a scalar value above this threshold and below the upper threshold are considered to be colocalizing
int vtkImageColocalizationFilter::GetColocalizationUpperThreshold | ( | int | dataset | ) | [inline] |
Voxels in the specified dataset that have a scalar value above this threshold and below the upper threshold are considered to be colocalizing
Definition at line 81 of file vtkImageColocalizationFilter.h.
int* vtkImageColocalizationFilter::GetColocalizationLowerThresholds | ( | ) | [inline] |
Voxels in the specified dataset that have a scalar value above this threshold and below the upper threshold are considered to be colocalizing
Definition at line 85 of file vtkImageColocalizationFilter.h.
int* vtkImageColocalizationFilter::GetColocalizationUpperThresholds | ( | ) | [inline] |
Voxels in the specified dataset that have a scalar value above this threshold and below the upper threshold are considered to be colocalizing
Definition at line 86 of file vtkImageColocalizationFilter.h.
virtual double vtkImageColocalizationFilter::GetOutputScalarValue | ( | ) | [virtual] |
Set / Get the constant scalar used for colocalized voxels. Defaults to 2**sizeof(datatype)
virtual void vtkImageColocalizationFilter::SetOutputScalarValue | ( | double | ) | [virtual] |
Set / Get the constant scalar used for colocalized voxels. Defaults to 2**sizeof(datatype)
virtual int vtkImageColocalizationFilter::RequestInformation | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Reimplemented from vtkImageAlgorithm.
void vtkImageColocalizationFilter::ThreadedRequestData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector, | |||
vtkImageData *** | inData, | |||
vtkImageData ** | outData, | |||
int | ext[6], | |||
int | id | |||
) | [protected, virtual] |
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. It is public so that the thread functions can call this method.
Reimplemented from vtkThreadedImageAlgorithm.
virtual int vtkImageColocalizationFilter::FillInputPortInformation | ( | int | , | |
vtkInformation * | ||||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkImageAlgorithm.
void vtkImageColocalizationFilter::InitOutput | ( | int | outExt[6], | |
vtkImageData * | outData | |||
) | [protected] |