Searched refs:totalError (Results 1 – 1 of 1) sorted by relevance
100 float totalError = 0; in calcErrorRS() local102 totalError += row; in calcErrorRS()104 totalError /= 1024.0f; in calcErrorRS()112 Log.d(LOG_TAG, "rs: error " + totalError + ", pixels " + interestingPixels); in calcErrorRS()114 return totalError / interestingPixels; in calcErrorRS()152 float totalError = 0; in calcError() local159 totalError += Math.abs(Color.red(idealColor) - Color.red(givenColor)); in calcError()160 totalError += Math.abs(Color.green(idealColor) - Color.green(givenColor)); in calcError()161 totalError += Math.abs(Color.blue(idealColor) - Color.blue(givenColor)); in calcError()162 totalError += Math.abs(Color.alpha(idealColor) - Color.alpha(givenColor)); in calcError()[all …]