Digital Image Processing
Basic effects
Conversion from colors to gray level |
Simple
The simplest and faster way to grayscale.
Average of Red, Green and Blue chanels.
G = (R+G+B)/3
YUV
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) |