What is the concept underlying image processing?
functionspace.org
functionspace.org
If you already know how to code, the math at the top of this article answers the question. http://www.techrepublic.com/blog/howdoi/how-do-i-convert-ima...
If not: Digital images are a big grid of pixels. Each pixel has a red, green, and blue value, each of which is usually a number between 0 and 255 because 8 bits are used to represent each value.
A "black and white" image (really grayscale) is created by setting the red, green, and blue values at each pixel to be equal to the exact same value as each other, for example we could choose the average of the original red, green, and blue values at that pixel. This removes all "color".
Sepia is similar but you take three differently weighted averages of the original red, green, and blue values to produce the sepia-red, sepia-blue, and sepia-green values in the result. See above link for the specific weights.
In both cases, each pixel location is computed independently, whereas other operations, like blurring, need to look at other nearby pixels as well.
Now, when you want to produce any effect, essentially you need to do some operation on this matrix. For example, if you want to remove the high contrast (sudden change of color from white to black), then you need to remove the high frequency components from your matrix. Taking a Fourier transform and removing the high frequency components and taking back the inverse transform can do the trick for you. I'm not sure about Sepia effect in particular, but all I want to convey here is doing some operation on Matrix does the job. Hope it helps."
Also they use the term contrast incorrectly. They're describing a low pass filter (blur) in the example but refer to contrast -- that post would lead beginners very astray.
It's a cool "aha! moment" when you realize that using Look-Up Tables you can implement any Single-Point image transformation entirely using array lookup operations (no if statements or nonlinear math).
And I love reading about applications of linear algebra like this. Makes me want to write my own image processing algorithms as practice.
The OP seems weird - it's clearly a beginner asking, but the answers assume an understanding of spatial frequency and Fourier transforms. I think it would be more intuitive to explain in terms of convolutions with small kernels.