euclidean
fun euclidean(redWeight: Double, greenWeight: Double, blueWeight: Double): ColorSimilarityChecker(source)
Creates a ColorSimilarityChecker that uses the Euclidean distance in the RGB color space to determine similarity.
Return
A ColorSimilarityChecker that uses the specified weights.
Parameters
redWeight
The weight for the red channel.
greenWeight
The weight for the green channel.
blueWeight
The weight for the blue channel.