开发者

Removing the background from an image using C#

i am trying to create an application that remove the background of an image on a click of a button, can anyone give me any direction on how to build it.

the photos are like passport photos i need to remove the white background from t开发者_如何学Chem

i am a beginner C# developer and i could use all the help :)


You can implement an edge detection algorithm, and have that scan the image. Then start in the upper-left and upper-right corners of the picture, and turn every pixel transparent until you meet and edge, where you stop.

That should keep you from making people's teeth and eyes disappear. White hair might be out of luck.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜