Since RGB colour space is a 3-dimensional vector space, and each pixel, p (i), isdefined by an ordered triple of red, green, and blue coordinates, (r (i), g (i), b (i)), which represent the intensities of red, green, and blue colour respectively
ตั้งแต่ RGB สีพื้นที่เป็นปริภูมิเวกเตอร์ 3 มิติและแต่ละพิกเซล , P ( i ) , isdefined โดยสั่งสามของสีแดง , สีเขียว , สีฟ้า และพิกัด ( R ( I ) , g ( i ) B ( i ) ซึ่งเป็นตัวแทนของ ความเข้มของสีแดง , สีเขียวและสีฟ้าสี ตามลำดับ