使用Visual C ++进行图像包装 [英] image wrapping using visual c++

查看:81
本文介绍了使用Visual C ++进行图像包装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,

我是Visual c ++的新手,我想进行图像包装,也可以说图像处理,
1)我必须加载图像.
2)假设如果我借助鼠标从右上角拉伸了该图像,则应该从那个角拉伸该图像.

请帮助我.

谢谢

Sir,

I am new to visual c++ and I would like to perform image wrapping or you can say image processing,
1) I have to load image.
2) Suppose if I stretched that image from top right corner with the help of mouse then it should be stretched from that corner.

Please help me.

Thanks

推荐答案

这是一篇有用的文章:使用线性插值和双缓冲面板进行图像变形 [ ^ ]-它是C#而不是C ++,但由于它在很大程度上依赖于不安全的代码,因此您应该能够很容易地了解发生了什么.

如果仍不能解决问题,请尝试使用google:使图像鼠标c ++变形",使您从入门入手.
This is a useful article: Image Warping Using Linear Interpolation and Double Buffer Panel[^] - it''s C# not C++ but as it relies fairly heavily on unsafe code you should be able to understand what is going on pretty easily.

If it doesn''t help enough, then then try a google: "warping image mouse c++" should get you somewhere useful to start with.


这篇关于使用Visual C ++进行图像包装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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