Photo application

一笑奈何 提交于 2019-12-11 06:13:32

问题


I'm developing an application just for fun that consists of capturing images from a webcam.

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.

The programming language I am using is C#.


回答1:


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.




回答2:


Your going to have to do some interesting coding to achieve this. My suggestion is to do some research. Image manipulation, such as converting formats, resizing, cropping, zooming, is simple enough. You could even just write a front-end for an existing image manipulation tool, such as this one: http://kfoo.net/products/imgman/

If your looking to do image "warping" or other advanced manipulation, you are in for some fun.



来源:https://stackoverflow.com/questions/747860/photo-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!