Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display units for translations in registration.txt #95

Open
meyer-usda opened this issue Feb 6, 2025 · 1 comment
Open

Display units for translations in registration.txt #95

meyer-usda opened this issue Feb 6, 2025 · 1 comment

Comments

@meyer-usda
Copy link

Would it be possible to display the units for the translations in registration.txt? We are trying to apply a transformation found for a pair of DSMs onto an orthomosaic derived from the AOI DSM (and pointcloud). It seems like the units could be pixels or perhaps cm/mm but so far haven't found a conversion that fits the observed shift.

When viewing DSM and DSM_registered there appears to be a 10m shift in x and ~0m in Y. Understanding how this shift maps from the provided translations would be great, thanks!

Transformation matrix:
[[ 9.99599931e-01 -1.46808327e-04 -5.44040176e-03 1.14434870e+03]
[ 1.51526200e-04 9.99614360e-01 8.66455776e-04 2.57916565e+03]
[ 5.44027240e-03 -8.67267615e-04 9.99599567e-01 4.11771693e+03]
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 1.00000000e+00]]
Transformation Parameters:
Omega = -0.050 degrees
Phi = -0.312 degrees
Kappa = 0.009 degrees
X Translation = 1144.349
Y Translation = 2579.166
Z Translation = 4117.717
Scale = 0.999615
Number of pairs = 339092
RMSEs:
X = +/-0.535,
Y = +/-0.576,
Z = +/-0.576,
3D = +/-0.975
Propagated Error:
Assumed global 3D error = +/-3m
3D_RMSE = +/-0.975
Total Error is computed as √(global_3d_error²+3D_RMSE²)
Total Error = +/-3.154384032226434

@hobu
Copy link
Collaborator

hobu commented Feb 8, 2025

The units should be whatever the units of the coordinate system of the data are provided with. CODEM shouldn't do any unit translation. Could the DSM vs DTM differences be some kind of aliasing effect?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants