Searched refs:pixelError (Results 1 – 1 of 1) sorted by relevance
196 float pixelError = 0; in compareImages() local197 pixelError += Math.abs((idealAlpha * Color.red(idealColor)) in compareImages()199 pixelError += Math.abs((idealAlpha * Color.green(idealColor)) in compareImages()201 pixelError += Math.abs((idealAlpha * Color.blue(idealColor)) in compareImages()203 pixelError += Math.abs(Color.alpha(idealColor) - Color.alpha(givenColor)); in compareImages()204 pixelError /= 1024.0f; in compareImages()206 if (pixelError > fatalPixelErrorThreshold) { in compareImages()212 pixelError, in compareImages()218 if (pixelError > regularPixelErrorThreshold) { in compareImages()