开发者

Color Matrix of all Image Effects

开发者 https://www.devze.com 2023-01-28 03:26 出处:网络
Can you tell me the color matrix of all the image filters effects like: GaussianBlur Sharpen Smooth EdgeDetectQuick

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 o开发者_StackOverflow中文版ther way to change the pixel data is color matrix. Can you help me?


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:

  • Gaussian Blur Matrix
  • Sobel Operator


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!

http://www.codeproject.com/KB/GDI-plus/ImageProcessing2.aspx

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

0

精彩评论

暂无评论...
验证码 换一张
取 消