How to initlialize the 'RotationMatrices' property in a cameraParameters Object?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
BLEARGH BUNY
el 24 de Nov. de 2017
Comentada: Walter Roberson
el 25 de Nov. de 2017
I want to generate / initialize my own cameraParamters object with the 'RotationMatrices' Property.
I'm getting this error:
'RotationMatrices' is not a recognized parameter. For a list of valid name-value pair arguments, see the documentation for this function.
cPara = cameraParameters('IntrinsicMatrix',W','RotationMatrices',R,'TranslationVectors',T);
I try to convert it to a structure, add the field and then reconvert back but to no avail.
I'm doing this to use with the bundleAdjustment function. Can someone tell me how to go about this? Thanks
1 comentario
Respuesta aceptada
Walter Roberson
el 24 de Nov. de 2017
You cannot initialize that property. That property is a Dependent property, calculated from other properties, at approximately line 418 of toolbox/vision/vision/+vision/+internal/+calibration/CameraParametersImpl.m . The RotationVectors are used to compute it. The RotationVectors can be initialized.
6 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Computer Vision Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!