VTK
|
compute the outliers in a set of 2D histograms and extract the corresponding row data. More...
#include <vtkComputeHistogram2DOutliers.h>
Public Types | |
enum | InputPorts { INPUT_TABLE_DATA = 0, INPUT_HISTOGRAMS_IMAGE_DATA, INPUT_HISTOGRAMS_MULTIBLOCK } |
enum | OutputPorts { OUTPUT_SELECTED_ROWS = 0, OUTPUT_SELECTED_TABLE_DATA } |
typedef vtkSelectionAlgorithm | Superclass |
![]() | |
![]() | |
![]() |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetPreferredNumberOfOutliers (int) |
virtual int | GetPreferredNumberOfOutliers () |
vtkTable * | GetOutputTable () |
void | SetInputTableConnection (vtkAlgorithmOutput *cxn) |
void | SetInputHistogramImageDataConnection (vtkAlgorithmOutput *cxn) |
void | SetInputHistogramMultiBlockConnection (vtkAlgorithmOutput *cxn) |
![]() | |
virtual int | ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
vtkSelection * | GetOutput () |
vtkSelection * | GetOutput (int index) |
void | SetInput (vtkDataObject *obj) |
void | SetInput (int index, vtkDataObject *obj) |
![]() | |
int | HasExecutive () |
vtkExecutive * | GetExecutive () |
virtual void | SetExecutive (vtkExecutive *executive) |
virtual int | ModifyRequest (vtkInformation *request, int when) |
vtkInformation * | GetInputPortInformation (int port) |
vtkInformation * | GetOutputPortInformation (int port) |
int | GetNumberOfInputPorts () |
int | GetNumberOfOutputPorts () |
void | UpdateProgress (double amount) |
vtkInformation * | GetInputArrayInformation (int idx) |
void | RemoveAllInputs () |
vtkDataObject * | GetOutputDataObject (int port) |
virtual void | RemoveInputConnection (int port, vtkAlgorithmOutput *input) |
int | GetNumberOfInputConnections (int port) |
int | GetTotalNumberOfInputConnections () |
vtkAlgorithmOutput * | GetInputConnection (int port, int index) |
virtual void | Update () |
virtual void | UpdateInformation () |
virtual void | UpdateWholeExtent () |
void | ConvertTotalInputToPortConnection (int ind, int &port, int &conn) |
virtual double | ComputePriority () |
int | ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo) |
virtual int | ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime) |
virtual vtkInformation * | GetInformation () |
virtual void | SetInformation (vtkInformation *) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
virtual void | SetAbortExecute (int) |
virtual int | GetAbortExecute () |
virtual void | AbortExecuteOn () |
virtual void | AbortExecuteOff () |
virtual void | SetProgress (double) |
virtual double | GetProgress () |
void | SetProgressText (const char *ptext) |
virtual char * | GetProgressText () |
virtual unsigned long | GetErrorCode () |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType) |
virtual void | SetInputArrayToProcess (int idx, vtkInformation *info) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName) |
vtkDataObject * | GetInputDataObject (int port, int connection) |
virtual void | SetInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | SetInputConnection (vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (vtkAlgorithmOutput *input) |
vtkAlgorithmOutput * | GetOutputPort (int index) |
vtkAlgorithmOutput * | GetOutputPort () |
virtual void | SetReleaseDataFlag (int) |
virtual int | GetReleaseDataFlag () |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
int | UpdateExtentIsEmpty (vtkDataObject *output) |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType) |
![]() | |
virtual void | DebugOn () |
virtual void | DebugOff () |
unsigned char | GetDebug () |
void | SetDebug (unsigned char debugFlag) |
virtual void | Modified () |
virtual unsigned long | GetMTime () |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &os) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Static Public Member Functions | |
static vtkComputeHistogram2DOutliers * | New () |
static int | IsTypeOf (const char *type) |
static vtkComputeHistogram2DOutliers * | SafeDownCast (vtkObject *o) |
Protected Attributes | |
int | PreferredNumberOfOutliers |
vtkTimeStamp | BuildTime |
virtual int | FillOutlierIds (vtkTable *data, vtkCollection *thresholds, vtkIdTypeArray *rowIds, vtkTable *outTable) |
Additional Inherited Members |
compute the outliers in a set of 2D histograms and extract the corresponding row data.
This class takes a table and one or more vtkImageData histograms as input and computes the outliers in that data. In general it does so by identifying histogram bins that are removed by a median (salt and pepper) filter and below a threshold. This threshold is automatically identified to retrieve a number of outliers close to a user-determined value. This value is set by calling SetPreferredNumberOfOutliers(int).
The image data input can come either as a multiple vtkImageData via the repeatable INPUT_HISTOGRAM_IMAGE_DATA port, or as a single vtkMultiBlockDataSet containing vtkImageData objects as blocks. One or the other must be set, not both (or neither).
The output can be retrieved as a set of row ids in a vtkSelection or as a vtkTable containing the actual outlier row data.
Definition at line 60 of file vtkComputeHistogram2DOutliers.h.
Reimplemented from vtkSelectionAlgorithm.
Reimplemented in vtkPComputeHistogram2DOutliers.
Definition at line 64 of file vtkComputeHistogram2DOutliers.h.
Definition at line 73 of file vtkComputeHistogram2DOutliers.h.
Definition at line 79 of file vtkComputeHistogram2DOutliers.h.
|
protected |
|
protected |
|
static |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkSelectionAlgorithm.
Reimplemented in vtkPComputeHistogram2DOutliers.
|
virtual |
Reimplemented from vtkSelectionAlgorithm.
Reimplemented in vtkPComputeHistogram2DOutliers.
|
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkSelectionAlgorithm.
Reimplemented in vtkPComputeHistogram2DOutliers.
|
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkSelectionAlgorithm.
Reimplemented in vtkPComputeHistogram2DOutliers.
|
static |
Reimplemented from vtkSelectionAlgorithm.
Reimplemented in vtkPComputeHistogram2DOutliers.
|
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 vtkSelectionAlgorithm.
Reimplemented in vtkPComputeHistogram2DOutliers.
|
virtual |
|
virtual |
vtkTable* vtkComputeHistogram2DOutliers::GetOutputTable | ( | ) |
|
inline |
Set the source table data, from which data will be filtered.
Definition at line 88 of file vtkComputeHistogram2DOutliers.h.
|
inline |
Set the input histogram data as a (repeatable) vtkImageData
Definition at line 94 of file vtkComputeHistogram2DOutliers.h.
|
inline |
Set the input histogram data as a vtkMultiBlockData set containing multiple vtkImageData objects.
Definition at line 101 of file vtkComputeHistogram2DOutliers.h.
|
protectedvirtual |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkSelectionAlgorithm.
Reimplemented in vtkPComputeHistogram2DOutliers.
|
protectedvirtual |
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 vtkSelectionAlgorithm.
|
protectedvirtual |
Fill the output port information objects for this algorithm. This is invoked by the first call to GetOutputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkSelectionAlgorithm.
|
protectedvirtual |
Compute the thresholds (essentially bin extents) that contain outliers for a collection of vtkImageData histograms.
|
protectedvirtual |
Compute the thresholds (bin extents) that contain outliers for a single vtkImageData histogram
|
protectedvirtual |
Take a set of range thresholds (bin extents) and filter out rows from the input table data that fits inside those thresholds.
|
protected |
Definition at line 109 of file vtkComputeHistogram2DOutliers.h.
|
protected |
Definition at line 110 of file vtkComputeHistogram2DOutliers.h.