图像处理、理论、公式和伪代码
我想知道在哪里阅读材料来学习如何通过代码操作图像。 我刚刚创建了一个简单的软件来读取图像中的任何像素,并且我可以应用一些简单的代码来修改它,例如我可以使用此(伪)代码创建灰度图像:
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;
}
你知道网站吗?书籍)在哪里可以找到有关应用于软件开发的图像处理的信息?
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 ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
如果您需要快速解决此问题,您可以使用维基百科作为解决方案:) 尝试这些链接,在那里您也可以找到公式。
在右侧框中,您会发现 RGB %
我必须将我的答案分开,因为作为新用户,我一次只能发布 2 个超链接
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.
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
尝试使用 MATLAB 轻松入门:
使用 MATLAB 进行图像处理
Try using MATLAB for an easy beginning:
Image Processing with MATLAB
数字图像处理算法和应用作者:Ioannis Pitas
One good reference that starts with absolute basics and covers some interesting material is Digital Image Processing Algorithms and Applications By Ioannis Pitas
HIPR 图像处理学习资源
HIPR Image Processing Learning Resources
Graphics Gems(所有卷) 提供有关图像处理(以及计算机图形学的各个方面)的精彩信息。尽管这些书不是教程,但其中一些精华绝对是以教程风格编写的。
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.
您可以从简单且开源的东西开始,例如处理。这是一个包含许多示例的综合教程...
http://processing.org/learning/pixels/
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/