使用透视变换的图像变换 [英] image transformation using perspective transform

查看:201
本文介绍了使用透视变换的图像变换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生

我正在借助反纹理几何API在Visual C ++中从事图像转换项目的工作

http://www.antigrain.com/ [ ^ ]

在此链接上有一个api,在示例文件夹中的该api中,我得到了image_perspective转换.
它是四点变换,因此我能够拉伸拐角处的图像,因为map_matrix只能使用4点.
现在我要从4点拉伸图像,这是图像四个边缘的中点.以及从图像的中心点开始.

请让我知道如何在转换中添加4个以上的点

sir

i m working on the image transformation project in visual c++ with the help of anti grain geometry api

http://www.antigrain.com/[^]

on this link there is api and in that api in example folder i got image_perspective transform.
it is four point transform so i am able to strech image using for corners as map_matrix can take only 4 points.
now i want to strech image from the 4 point wich are the mid point of four edges of image. as well as from the centre point of image.

plz let me know how to add more than 4 point in transformation

推荐答案

这个问题最好摆在支持该库的人或该API的用户论坛上. AntiGrain产品在任何C ++标准下都不是反抗的.

如果您遇到有关C ++的一般问题,请随时提问.
This question is better posed to the folks that support the library, or a user forum for that API. The AntiGrain product isn''t defiend under any C++ standard.

If you have a mroe general C++ question, feel free to ask.


这篇关于使用透视变换的图像变换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆