
Registered since September 28th, 2017
Has a total of 4246 bookmarks.
Showing top Tags within 1 bookmarks
howto information development guide reference administration design website software solution service product online business uk tool company linux code server system application web list video marine create data experience description tutorial explanation technology build blog article learn world project boat download windows security lookup free performance javascript technical network control beautiful support london tools course file research purchase library programming image youtube example php construction html opensource quality install community computer profile feature power browser music platform mobile user process work database share manage hardware professional buy industry internet dance advice installation developer 3d search access customer camera material travel test standard review documentation css money engineering develop webdesign engine device photography digital api speed source program management phone discussion question event client story simple water marketing app content yacht setup package fast idea interface account communication cheap compare script study live market easy google resource operation startup monitor training
Tag selected: luminance.
Looking up luminance tag. Showing 1 results. Clear
Saved by uncleflo on March 12th, 2012.
Colours in an image may be converted to a shade of gray by calculating the effective brightness or luminance of the colour and using this value to create a shade of gray that matches the desired brightness. The following code snippet isn't really a good example of how it should be done in a production situation but it does show the principles involved clearly. For every day use. see the ColorMatrix example below. The effective luminance of a pixel is calculated with the following formula: Y=0.3RED+0.59GREEN+0.11Blue This luminance value can then be turned into a grayscale pixel using Color.FromArgb(Y,Y,Y). Converting an image from colour to monochrome can be performed using the following code.
development formula ratio color luminance grayscale convert graphic information
No further bookmarks found.