Take the 2-minute tour ×

Can you tell me the color matrix of all the image filters effects like:

  1. GaussianBlur
  2. Sharpen
  3. Smooth
  4. EdgeDetectQuick
  5. EdgeDetectConvolution
  6. EdgeEnhance
  7. OutLine
  8. Sepia
  9. Solarize
  10. Sobel

I can change my images easily by using pointers in C#, but that is unsafe, so I'm avoiding it. The other way to change the pixel data is color matrix. Can you help me?

share|improve this question
I don't understand your question. Can you please explain what you are trying to achieve? –  Oded Dec 4 '10 at 14:17
Maybe accepting answers to your other questions would help get this one answered? No one will provide an answer if they think it will be ignored. Also, please consider the use of correct punctuation - full stops and the like make things much nicer to read. –  Bojangles Dec 4 '10 at 14:18
Oded : I am trying to change Bitmap Images by applying filters like ACD SEE software does... I can achieve that by the use of Pointers but that harmful.. so i am looking for is colormartix for each effets –  Pro_Zeck Dec 4 '10 at 14:20
Wrong tool, ColorMatrix can only work on one pixel at a time. Almost all of the effects you listed requires sampling multiple input pixels for each output pixel. Use a graphics library. –  Hans Passant Dec 4 '10 at 15:40
@Hans Passant : Can you pin point which graphic library you talking about? –  Pro_Zeck Dec 4 '10 at 16:10
add comment

2 Answers

There is not a unique matrix for each image processing.
They usually depend from some parameter (like σ for Gaussian Blur Matrix) and should be generated before using them to processing image.

For some matrix examples and explanation look at this Link

Anyway, there are some description also on Wikipedia:

share|improve this answer
add comment

The easiest way is to use color matrix. You can change each pixel, but it will take too much time for high quality pictures.

I hope this link is useful. It was for me!


This one is a little bit more complicated: http://www.codeproject.com/KB/GDI-plus/Image_Processing_Lab.aspx

share|improve this answer
add comment

Your Answer


