问题描述
我是Image Processing的新手。我正在开发一个Web应用程序。我需要拍摄一张图片(免费手绘图)并删除部分图片。例如,拍摄猫的图像并删除除眼睛以外的所有内容。
I am new to Image Processing. I am developing a web application. I need to take an image (free hand drawings) and remove parts of it. For example, take an image of cat and remove everything except its eye.
P.S->我正在开发基于pictionary游戏的身份验证系统。它要求用户选择与他的密码相关联的图像,我会通过检测边缘并移除它的部分并将其作为提示存储并将其显示给他来变形它,这样它才对他有意义而不是攻击者。
P.S-> I am developing a pictionary game based authentication system. It requires user to select an image co-relating his password, and I would morph it by detecting the edges and removing the parts of it and store it as a cue and display it to him, so that it makes sense only to him and not an attacker.
推荐答案
我没有完整的代码,但是我使用[here]定义的方法进行了边缘检测(http://www.pixastic.com/lib/docs/actions/edges2/)。使用画布方法
I don't have the entire code, but I had done edge detection using the approach defined [here] (http://www.pixastic.com/lib/docs/actions/edges2/). The removal of the parts was done using canvas methods
这篇关于边缘检测和删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!