vtkImageDifference - Compares images for regression tests.
Super Class: vtkImageTwoInputFilter
Description:
vtkImageDifference takes two rgb unsigned char images and compares them. It allows the images to be slightly different. If AllowShift is on, then each pixel can be shifted by one pixel. Threshold is the allowable error for each pixel.
Methods:
void vtkImageDifference () | |
static vtkImageDifference *New () | |
const char *GetClassName () | |
void PrintSelf (unknown & ,vtkIndent ) | |
void SetImage (vtkImageCache *) | |
void SetImage (vtkStructuredPoints *) | |
vtkImageCache *GetImage () | |
void SetInput (vtkImageCache *) | |
void SetInput (vtkStructuredPoints *) | |
vtkImageCache *GetInput () | |
float GetError () | |
void GetError (float *) | |
float GetThresholdedError () | |
void GetThresholdedError (float *) | |
void SetThreshold (int ) | |
int GetThreshold () | |
void SetAllowShift (int ) | |
int GetAllowShift () | |
void AllowShiftOn () | |
void AllowShiftOff () | |
void SetAveraging (int ) | |
int GetAveraging () | |
void AveragingOn () | |
void AveragingOff () | |
void ExecuteImageInformation () | |
void ComputeRequiredInputUpdateExtent (int ,int ,int ) | |
void ThreadedExecute (vtkImageData ,vtkImageData * ,int ,int ) |
Detailed Method Descriptions:
void SetImage (vtkImageCache *) | |
void SetImage (vtkStructuredPoints *) |
vtkImageCache *GetImage () | |
void SetInput (vtkImageCache *) | |
void SetInput (vtkStructuredPoints *) |
vtkImageCache *GetInput () | |
float GetError () | |
void GetError (float *) |
float GetThresholdedError () | |
void GetThresholdedError (float *) |
void SetThreshold (int ) | |
int GetThreshold () |
void SetAllowShift (int ) | |
int GetAllowShift () | |
void AllowShiftOn () | |
void AllowShiftOff () |
void SetAveraging (int ) | |
int GetAveraging () | |
void AveragingOn () | |
void AveragingOff () |