I am new to image processing. According to my textbook, I know how to get a negative image (by subtracting them from the number of gray shade: 0 becomes 255, 1 becomes 254, etc), but they didn't say anything about Sepia and GreyScale. I think these 2 kind effects often appear in some software or even camera
Could you explain to me how to get them?
Thank you :)
A gray scale image, represents its luminance. You can get this effect by setting each value to the average of all the three RGB values
eg: RGB 128,255,68 -> 150,150,150
Sepia is similar but you apply the gray scale values to the sepia color
It should be something like this:
R = grey*SepiaR/255
G = grey*SepiaG/255
B = grey*SepiaB/255
Where grey is the value you got in the grey scale, the sepia values are these: http://en.wikipedia.org/wiki/Sepia_%28color%29
I have a question. Is GreyScale color image or not?
If I find average of all three RGB values, then set each value to it, does it mean GreyScale still have 3 channel?