How to directly specify rotation and translation matrices for camera parameter object
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sze Kiat Tan
le 26 Jan 2016
Commenté : Sze Kiat Tan
le 26 Jan 2016
Hi, currently I have a stereo dataset with known camera parameters (in the form of the CAHVOR model) which I can convert to photometric model. Hence I am trying to input the camera parameters as a cameraParams object "by hand". However I noticed that the Name-Value pair arguments only accept rotation and translation vectors in order to calculate the corresponding matrices. I wonder if it is possible to directly specify the matrices which is known.
Would appreciate if someone can shed some light on camera calibration in this case without using the calibration app.
Many thanks,
Sze
0 commentaires
Réponse acceptée
Dima Lisin
le 26 Jan 2016
If you are ultimately trying to create a stereoParameters object, then the extrinsics in the individual cameraParameters do not really matter. So you could just create the two cameraParamaters objects by specifying the intrinsics and the distortion coefficients, and then pass them into the constructor of stereoParameters, along with a translation and a rotation between the cameras, where the rotation is specified as a matrix.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Camera Calibration dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!