透视倾斜
我计划为给定的 2D 图像创建 3D 浮雕图像。
为此,我将把给定的 2D 图像视为左眼视图,现在我必须创建右眼视图。
我开始知道透视旋转、透视倾斜、透视扭曲等。将创建右眼视图。
假设在图像中,如果某些物体距离相机非常近,而有些物体距离相机非常远,那么图像应该是
original - result
|------| /-------/
| | / /
| | / /
|------| /-------/
从中心开始,上部应向右旋转/倾斜,下部应向左旋转。
假设在图像中,如果某些物体距离相机较远,而有些物体则非常远 那么变换应该是
original - result
|------ | /-------/
| | / /
| | | |
|------ | |-------|
Tha,只有上部会向右旋转/倾斜,下部应保持原样。
我可以找到这种透视倾斜或旋转的转换矩阵吗?
什么是 4 点透视旋转以及它如何工作?
提前致谢
I am planing to create a 3D anaglyph image for a give 2D image.
For this I will consider given 2D image as left eye view and now I have to create right eye view.
I came to know that the perspective rotation, perspecive skew, perspective distortation etc,. will create ritht eye view.
Suppose in an image if some objectas are very much closer to the camera and some are very far to the camera then the image should be
original - result
|------| /-------/
| | / /
| | / /
|------| /-------/
That is from the center, the upper part should rotate/skew towards right and lower part should rotate towards left.
And suppose in an image if some of the objects are some what away from the camera and some are very far
then the transformation should be
original - result
|------ | /-------/
| | / /
| | | |
|------ | |-------|
Tha is only the upper part will rotate/skew towards right and lower part should as it is.
Can I find any transfromation matrix for such a perspective skew or rotation?
What is 4 point perspective rotation and how will it work?
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论