48 #ifndef __vtkComputeHistogram2DOutliers_h
49 #define __vtkComputeHistogram2DOutliers_h
51 #include "vtkFiltersImagingModule.h"
52 #include "vtkSelectionAlgorithm.h"
66 void PrintSelf(ostream& os, vtkIndent indent);
68 vtkSetMacro(PreferredNumberOfOutliers,
int);
69 vtkGetMacro(PreferredNumberOfOutliers,
int);
72 vtkTable* GetOutputTable();
78 INPUT_HISTOGRAMS_MULTIBLOCK
82 OUTPUT_SELECTED_ROWS=0,
83 OUTPUT_SELECTED_TABLE_DATA
90 { this->SetInputConnection(INPUT_TABLE_DATA,cxn); }
96 { this->SetInputConnection(INPUT_HISTOGRAMS_IMAGE_DATA,cxn); }
103 { this->SetInputConnection(INPUT_HISTOGRAMS_MULTIBLOCK,cxn); }
113 virtual int RequestData(
115 vtkInformationVector**,
116 vtkInformationVector*);
118 virtual int FillInputPortInformation(
int port, vtkInformation* info );
119 virtual int FillOutputPortInformation(
int port, vtkInformation* info );
123 virtual int ComputeOutlierThresholds(vtkCollection* histograms, vtkCollection* thresholds);
127 virtual int ComputeOutlierThresholds(vtkImageData* histogram, vtkDoubleArray* thresholds,
double threshold);
132 virtual int FillOutlierIds(vtkTable* data, vtkCollection* thresholds, vtkIdTypeArray* rowIds, vtkTable* outTable);
void SetInputHistogramImageDataConnection(vtkAlgorithmOutput *cxn)
void SetInputHistogramMultiBlockConnection(vtkAlgorithmOutput *cxn)
void SetInputTableConnection(vtkAlgorithmOutput *cxn)
int PreferredNumberOfOutliers
compute the outliers in a set of 2D histograms and extract the corresponding row data.