赋予 UIImage Stratch 平滑效果

编程入门 行业动态 更新时间:2024-10-26 13:23:33
本文介绍了赋予 UIImage Stratch 平滑效果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我正在创建一个应用程序,我需要以下效果.我不知道热要开始工作.如果有人知道我实现这种效果的第一步是什么,那么请指导我如何像这样拉伸头发.

I am Creating one application and i required following effects. I don't know hot to start work. if any one know what is my first step for this effect then please guide me for how to stretch Hair like this.

效果链接1

效果链接2

我使用了以下链接和教程,但没有成功.

I used following link and tutorial but not succeeded.

http://code.google/p/faceworkshop/

http://code.google/p/imgwarp-opencv/

http://docs.opencv/doc/tutorials/ios/table_of_content_ios/table_of_content_ios.html#table-of-content-ios

我想,我会走错路...请帮帮我.

I think, I am going to wrong way...Plz help me.

推荐答案

效果看起来就像是一个带有纹理的 OpenGL 对象,您可以在其中更改最靠近触摸点的顶点坐标.OpenGL 对象必须由与形式匹配的三角形构建,这可能是基于头发图像完成的.

The effect look alike it's an OpenGL object with a texture where you change the coordinates of the vertex nearest to the touch point. The OpenGL object has to be constructed out of triangles matching the form, which is probably done based on the hair image.

这篇关于赋予 UIImage Stratch 平滑效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-29 03:58:57,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1184009.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:平滑   效果   UIImage   Stratch

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!