
Registered since September 28th, 2017
Has a total of 4281 bookmarks.
Showing top Tags within 2 bookmarks
howto information development guide reference administration design website software solution service online product business uk tool company linux code server system application web list video marine create data experience tutorial description explanation learn technology build article blog world project boat download windows lookup security free performance javascript technical london control network beautiful tools support course file research purchase image library programming youtube example php opensource construction install community html quality profile computer feature power browser music platform mobile process work manage professional user share database hardware buy industry internet dance advice developer installation camera search 3d access customer material travel money test standard develop css review documentation photography engineering webdesign engine digital device speed api source event program question management client phone discussion water story simple content marketing yacht app account setup idea interface package fast communication cheap compare script market study easy live google resource operation demonstration startup monitor
Tag selected: grayscale.
Looking up grayscale tag. Showing 2 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
Saved by uncleflo on March 11th, 2012.
The NXT image scanner is a "stand alone" scanner that can scan and save images as a BMP-file in the NXT's flash memory. Images can be saved in either 24-bit true color, 8-bit color or gray scale. Gray scale images are scanned using the light sensor whereas color images are scanned using the HiTechnic color sensor. The scanner has a small LCD menu that let's you set the properties for the scan. Obviously the NXT image scanner is based on experience from my RCX scanner. Where the RCX scanner would take forever to scan even a small image the NXT scanner is much faster and the end result is to my own surprise improved. At the bottom of the page you will find building instructions and program for building your own image scanner.
nxt sensor motor brick lego mindstorms scanner bmp grayscale color write download nxc code development
No further bookmarks found.