Dear PROBERT,
No problem for the screens.
Ahah it's not at all my first time. We are dealing with thousands of terrestrial and aerial images with full automated processes for years now.
We are actually trying to implement new process elements that are based of image orientation angles. That's why we need accurate yaw pitch roll values of all images in our project.
Dear Alexey,
Thanks for your answer. Indeed we understand that kind of situation could appear, but for now we have no solution to identify if given values are correct or not. Even if we reset and then realign this image, the orientation values are always the same. As we have no a priori values for orientation, is there any possibily to identify extrem situation and so wrong values ? Or another possibility to get those angles ?
Actual calculation :
matrix_t = chunk.transform.matrix
matrix_m = chunk.crs.localframe(matrix_t.mulp(camera.center))
matrix_r = (matrix_m * matrix_t * camera.transform * Metashape.Matrix().Diag([1, -1, -1, 1])).rotation()
camera_yaw, camera_pitch, camera_roll = Metashape.utils.mat2ypr(matrix_r)
Regards