Compares images for regression tests. Averaging Detailed Description Compares images for regression tests. 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.
This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkImageTwoInputFilter . Return the total error in comparing the two images. Return the total thresholded error in comparing the two images. The thresholded error is the error for a given pixel minus the threshold and clamped at a minimum of zero.