We are attempting to visualise the registered camera frustums computed in RC in another application. We are having trouble interpreting the rotation information included within the _ Internal/External Camera Parameters _ export (example below).
Our questions:
How is the heading/pitch/roll defined? We have tried to guess our way without success. Are they defined in world coordinate or image’s local coordinate? In Cesium, the Heading is the rotation about the negative z axis, Pitch is the rotation about the negative y axis, Roll is the rotation about the positive x axis. Is this the same in the _ Internal/External Camera Parameters _ export? What is the default direction(heading/pitch/roll = 0)?
2.
If defined in a world coordinate, x->left to right, y->backward to frontward, z->down to up?
3.
If defined in a local coordinate, are they using the EastNorthUp coordinate?
- In terms of transforming the heading/pitch/roll into a matrix, are there any other transform we need to do in order to compare to the algorithm in this article?
Any documentation would be much appreciated.
#name,x,y,alt,heading,pitch,roll,f,px,py,k1,k2,k3,k4,t1,t2
DJI_20220221103904_0022.JPG,-5041986.508798251,2573482.020935406,-2929105.142556032,-148.4200306549068,10.20497551291449,118.7049066788339,34.98005589922394,2.08370424314095e-003,8.261463622613804e-003,-4.472883919490048e-002,4.299250744468713e-002,-0.1293881883164149,0,0,0 DJI_20220221103956_0044.JPG,-5041974.610274723,2573499.802754866,-2929110.290966901,10.38505537635033,-9.7283810446774,-115.7011765380064,35.00697049557222,-2.759873217514973e-003,1.409853041227379e-002,-4.302171265375437e-002,2.572761946144416e-002,-9.709280172749243e-002,0,0,0