Search for a tool
Grayscale Image

Tool to transform images into black and white (grayscale). A grayscale image is an image whose colors vary from white to black.

Results

Grayscale Image -

Tag(s) : Image processing

dCode and you

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day!
You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!


Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best Grayscale Image tool. Thank you.

Grayscale Image

Sponsored ads

Grayscale Converter (Black and White)

  [X]





Tool to transform images into black and white (grayscale). A grayscale image is an image whose colors vary from white to black.

Answers to Questions

How to transform an image into grascale?

! Black and white means here as grayscale gradient. For the transformation of an image into black or white binary, see the binary image tool.

Each color pixel of an image is generally defined by a triplet of values of red, green and blue, but can also be defined by a triplet hue, saturation, brightness. This brightness value is the position of the pixel between black and white.

To calculate this brightness, several algorithms / color references are possible, like the recommendations 709, 601 or 2100 used as standard in photography or video (and from the CIE International Commission of Lighting).

If an error is returned, it may be an altered file, a bad image, or the file format does not match its extension.

What is the recommandation CIE 709?

Recommendation 709 is used as a standard for HDTV. The luminance is calculated as Gray = 0.2125 * Red + 0.7154 * Green + 0.0721 * Blue

Example: A color representing the color Orange consisting of Red = 255, Green = 127, Blue = 0. Then the value of gray is 255*0.2125+127*0.7154+0*0.0721=145

What is the recommandation CIE 601?

Recommendation 601 was used as a standard for analogic terrestrial television. Luminance is calculated as Gray = 0.299 * Red + 0.587 * Green + 0.114 * Blue

Example: A color representing the color Orange consisting of Red = 255, Green = 127, Blue = 0. Then the value of gray is 255*0.299+127*0.587+0*0.0114=151

Ask a new question

Source code

dCode retains ownership of the source code of the script Grayscale Image online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be given for free. So if you need to download the online Grayscale Image script for offline use, check contact page !

Questions / Comments


Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best Grayscale Image tool. Thank you.


Source : https://www.dcode.fr/grayscale-image
© 2018 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaches. dCode
Feedback