What is the reference point for the orientation and location arguments of addView and addConnection functions in CV Toolbox?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hekimgil
el 20 de Mayo de 2016
Respondida: Qu Cao
el 22 de Abr. de 2019
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 comentarios
Respuesta aceptada
Qu Cao
el 22 de Abr. de 2019
In both functions, it means relative to the previous view, not the very first view.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Computer Vision Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!