What is the reference point for the orientation and location arguments of addView and addConnection functions in CV Toolbox?
2 次查看(过去 30 天)
显示 更早的评论
Computer Vision System Toolbox has the functions addView and addConnection. Both functions can accept orientation and location information through name-value pair arguments. The online reference mentions that both arguments are "relative to the first camera". However, addView function refers to adding a single camera view while addConnection actually connects two camera views.
Since addView has only a single camera view, I would assume that its orientation and location is relative to the first view added to a view set, not to the latest (previous) view added. Is this a correct assumption?
On the other hand, addConnection has two view IDs as input arguments and it is confusing when the online reference states "relative to the first camera". Does this mean relative to the first ever view added to a view set? Or relative to the first view ID parameter of this function? To state the question more clearly, let us assume we have 3 views in a viewSet object and we are adding a connection between views 2 and 3. Are the orientation and location parameters of the addConnection function relative to view with viewID1 which, in this case, is view 2 or relative to the very first view added to the view set (view 1)?
It seems to me that the same text ("orientation of the second camera relative to the first") is used in the online reference to mean different things for the two functions. For addView it seems to mean relative to the very first view added to a view set and for addConnection it seems to mean relative to the first viewID argument supplied to the function? A clarification would be appreciated...
edit: By "online reference" I mean these two pages: http://www.mathworks.com/help/vision/ref/viewset.addview.html http://www.mathworks.com/help/vision/ref/viewset.addconnection.html
0 个评论
采纳的回答
Qu Cao
2019-4-22
In both functions, it means relative to the previous view, not the very first view.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!