在R2012a或更低版本中替换worldToIntrinsic函数 [英] The replacement of worldToIntrinsic function in R2012a or below

查看:227
本文介绍了在R2012a或更低版本中替换worldToIntrinsic函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

MATLAB:取代 worldToIntrinsic function 在R2012a或以下

MATLAB: the replacement of worldToIntrinsic function in R2012a or below

众所周知,讨论中的功能仅在R2013a或更高版本中可用,所以

As it is known to all, the function in discussion available only in R2013a or later, so

任何可替换的内置函数或home-make方法都很好。

Any replaceable build-in functions or home-make approaches are good.

编辑:我没有imref2d类,但世界坐标问题

I don't have imref2d class, yet have world coordinate issue introduced by function imtransform

我们拥有的是下面的xdata和ydata:

What we have is the xdata and ydata from below:

[ output, xdata, ydata ] = imtransform( imgDouble{1}, tform );

任何想法?

推荐答案

调用imtransform后,您遇到的世界坐标问题是什么? XData / YData输出和UData / VData / Size Name / Value输入在将图像网格引用到世界坐标系方面与使用imref2d相当。

What is the world coordinate issue you have after calling imtransform? The XData/YData ouputs, and UData/VData/Size Name/Value inputs are the functional equivalent to the use of imref2d in terms of referencing an image grid to a world coordinate system.

如果您感兴趣的是几何变换所暗示的正向/反向意义上的点变换,那么您可以使用函数tformfwd / tforminv。很难知道如何在不知道你想要解决的问题的情况下回答这个问题。

If what you are interested in is the point transformations in a forward/inverse sense implied by your geometric transformation, then you can use the functions tformfwd/tforminv. Its hard to know how to answer this question without knowing the problem you are trying to solve.


  • Alex

这篇关于在R2012a或更低版本中替换worldToIntrinsic函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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