Searched refs:gamma (Results 1 – 1 of 1) sorted by relevance
320 val gamma = 1.0 in getIntensity() constant322 l += 0.21f * (Color.red(pixel) / 255f.toDouble()).pow(gamma) in getIntensity()323 l += 0.72f * (Color.green(pixel) / 255f.toDouble()).pow(gamma) in getIntensity()324 l += 0.07f * (Color.blue(pixel) / 255f.toDouble()).pow(gamma) in getIntensity()