RGB to gray scale conversion
-
I understand the need to convert RGB to gray scale for further processing. If I am after edge detection should I convert all colors equally - 1/3 of value or should I adjust the colors so it looks natural? Thanks for reading Cheers Vaclav
The recommended way is to convert RGB to YUV then use the Y channel for gray scale. Y = 0.299 * R + 0.587 * G + 0.114 * B Cheers, Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
-
I understand the need to convert RGB to gray scale for further processing. If I am after edge detection should I convert all colors equally - 1/3 of value or should I adjust the colors so it looks natural? Thanks for reading Cheers Vaclav
I am not so familiar with it. But is this help? RGB Lights | RGB LED Lights | LED High Bay Lighting | RGB led colors | LedsUniverse[^]
-
I understand the need to convert RGB to gray scale for further processing. If I am after edge detection should I convert all colors equally - 1/3 of value or should I adjust the colors so it looks natural? Thanks for reading Cheers Vaclav
I am not so familiar with this, but does it help? www .ledsuniverse.com /en/rgb-lights/