Thursday, January 23, 2014

How to get a fixed pull irregular shapes in the picture


            
I hope to achieve this functionality:
1, reads a picture
2, the application has a default template
irregular3, according to this template, pull the excess part of the picture taken, leaving only consistent with the template edge portion of the picture, the rest is blank transparent

For example, a ready-made picture, there is a heart-shaped outline of the template, pull the finish after the original picture into heart-shaped, the outside becomes transparent.
Reply:
This feature, which is basically the PS button map function, the function can be achieved, requires a very complex algorithm to match the template and the reasons
Reply:
ps in the matting need to calculate the edge, my edge template is ready, dig a direct out, it should be much simpler.
Reply:
Ps this is not doing live? It makes you a little difficult android dry ....... it! Never thought to that aspect.
Reply:
I have to get, bear stickers.
Reply:
Hello, this is how to achieve, the code can give me a look? Thank you! ! E-mail: 565926039@qq.com

No comments:

Post a Comment