照片应用 [英] Photo application
问题描述
我正在开发一个仅用于娱乐的应用程序,包括从网络摄像头捕获图像。
I'm developing an application just for fun that consists of capturing images from a webcam.
我想知道的是我如何应用一些过滤器来我捕获的图像?理想情况下,我想开发类似Apple iPhoto的东西;破坏图像的东西。
What I would like to know is how can I apply some filters to the image that I capture? Ideally I would like to develop something like Apple iPhoto; something that defaces the image.
我使用的编程语言是C#。
The programming language I am using is C#.
推荐答案
如果你想实现过滤算法,首先你必须找到算法中涉及的所有操作(也是一个简单的低通可能涉及一些工作)然后你需要访问每个像素图像(您可以使用图像或位图类,使用Set / GetPixel方法执行此操作。
if you wnat to implement the filter algorithms, first of all you have to find all operations involved in the algorithm (also a simple low-pass can involve a bit of work) and then you need to access every single pixels of the image (you can do this using Image or Bitmap classes, using the Set/GetPixel method.
这篇关于照片应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!