Talk:Grayscale image: Difference between revisions

Apples and oranges
(Apples and oranges)
Line 33:
:::::No, I don't believe you. Pixels are not numbers, you cannot add them unless you define a vector space of, supplied by a definition of the operation +. The operation + in that space corresponding to certain semantics (to be specified) is a part of a color model. --[[User:Dmitry-kazakov|Dmitry-kazakov]] 15:39, 17 January 2009 (UTC)
 
::::::Wrong. Pixels ''are'' numbers, and of course they can be (and are) added, multiplied or whatever operations you are doing. Everything stored in computers memory is numbers. But adding two pixels in non-linear color space does not give correct results. That was my original message. If you are editing an image in an image editor and you want to do it right, you should first convert the image into linear color space. (In case of RGB to grayscale conversion, the image editor probably does the color space conversion automatically.) --[[User:PauliKL|PauliKL]] 11:20, 23 January 2009 (UTC)
 
:::::::That does not make any sense, sorry. --[[User:Dmitry-kazakov|Dmitry-kazakov]] 17:39, 23 January 2009 (UTC)
 
::::::But adding two pixels in non-linear color space does not give correct results. That was my original message. If you are editing an image in an image editor and you want to do it right, you should first convert the image into linear color space. (In case of RGB to grayscale conversion, the image editor probably does the color space conversion automatically.) --[[User:PauliKL|PauliKL]] 11:20, 23 January 2009 (UTC)
 
:::::::When something does not give correct results, then it is called incorrect. Which in this case is another way to say that it cannot be added, like apples and oranges. See [http://en.wikipedia.org/wiki/Pixel pixel] --[[User:Dmitry-kazakov|Dmitry-kazakov]] 17:39, 23 January 2009 (UTC)