16
General / Re: My Viewpoint won't reset to Viewpoint at 100%
« on: February 21, 2022, 02:03:29 AM »
Thank you , Alexey.
Let me know what you find.
Let me know what you find.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
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.
No Problem. Don't get frustrated . It is a learning curving like I am too !!!
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 :Code: [Select]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