What is the reference point for the orientation and location arguments of addView and addConnection functions in CV Toolbox?
조회 수: 1 (최근 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에서 MATLAB Support Package for IP Cameras에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!