39 #ifndef __vtkImageDifference_h
40 #define __vtkImageDifference_h
42 #include "vtkImagingCoreModule.h"
50 void PrintSelf(ostream& os, vtkIndent indent);
59 vtkImageData *GetImage();
64 double GetError(
void);
72 double GetThresholdedError(
void);
79 vtkSetMacro(Threshold,
int);
80 vtkGetMacro(Threshold,
int);
89 vtkSetMacro(AllowShift,
int);
90 vtkGetMacro(AllowShift,
int);
91 vtkBooleanMacro(AllowShift,
int);
98 vtkSetMacro(Averaging,
int);
99 vtkGetMacro(Averaging,
int);
100 vtkBooleanMacro(Averaging,
int);
107 double ErrorPerThread[VTK_MAX_THREADS];
108 double ThresholdedErrorPerThread[VTK_MAX_THREADS];
114 vtkInformationVector **,
115 vtkInformationVector *);
117 vtkInformationVector **,
118 vtkInformationVector *);
121 vtkInformationVector **inputVector,
122 vtkInformationVector *outputVector,
123 vtkImageData ***inData,
124 vtkImageData **outData,
125 int extent[6],
int threadId);
Compares images for regression tests.
void SetImageData(vtkDataObject *image)
void GetThresholdedError(double *e)
void SetInputData(vtkDataObject *)
void PrintSelf(ostream &os, vtkIndent indent)
void SetImageConnection(vtkAlgorithmOutput *output)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Proxy object to connect input/output ports.
Generic filter that has one input..
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
static vtkAlgorithm * New()
general representation of visualization data