开发者

Image manipulation, theory, formulas and pseudo code

I'd like to know where read materials to learn how to manipulate image via code. I just created a simple software to 开发者_运维知识库read any pixels from an image and i'm able to apply some simple code to modify it, for example i can create a gray scale image using this (pseudo)code:

foreach(pixel in image){
 red = pixel.r;
 green = pixel.g;
 blue = pixel.b;
 alpha = pixel.a;

 gray = (red + green + blue) / 3; 

 pixel.r = gray;
 pixel.g = gray;
 pixel.b = gray;
}

Do you know websites (or a books) where i can find any informations about image manipulation applied to software development ?


If you need a fast approach to this problem, you can use as solution wikipedia :) try out these links, there you'll find formulas too.

  • http://en.wikipedia.org/wiki/Gaussian_blur
  • http://en.wikipedia.org/wiki/Sepia_(color) in the right box you find RGB %

I have to separate my answers because as new user i can post only 2 hyperlinks at once


Try using MATLAB for an easy beginning:

Image Processing with MATLAB


One good reference that starts with absolute basics and covers some interesting material is Digital Image Processing Algorithms and Applications By Ioannis Pitas


HIPR Image Processing Learning Resources


Graphics Gems (all volumes) have terrific information about image processing (as well as all aspects of computer graphics). Although the books are not tutorials, some of the gems are definitely written in a tutorial style.


You can start with something simple and open source such as Processing. Here is a comprehensive tutorial that has many examples...

http://processing.org/learning/pixels/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜