Digital Image Processing
|Conversion from colors to gray level|
The simplest and faster way to grayscale.
Average of Red, Green and Blue chanels.
G = (R+G+B)/3
Using the 'Y' chanel, the luma component
(the brightness) of the picture
This methode gives more contrast than the average.
Y = (0,299*R) + (0,587*V) + (0,114*B)
|Conversion from colors to black and white
(Based on a grayscale picture)
Threshold at half a byte (127).
The simplest and faster way to make a black and white picture.
If IN>127 -> OUT=255
Else -> OUT=0