--
You received this message because you are subscribed to the Google Groups "Ames Stereo Pipeline Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ames-stereo-pipeline...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ames-stereo-pipeline-support/5a045d25-47d2-4b2b-88d2-37e9dd2dc399n%40googlegroups.com.
Hi Oleg,Thanks for the information that the parameters aren't expected to be consistently used.The transformation I need to do to my camera is a 90 degree rotation around the Z axis, and then a flip across the Y axis (scale X by -1). Performing the rotation in advance works fine, but including the flip causes tools such as mapproject to fail.The output I get from mapproject feels a lot like it tried to propagate the camera to the ground to get the DEM intersection, but it instead ended up shooting rays out into space:```mapproject_single --query-projection ./example/20231130T085712000_visual_30_hotsat1_dem.tiff ./example/20231130T085712000_visual_30_hotsat1_fliplr.tiff ./example/20231130T085712000_visual_30_hotsat1_camera.tsai ./result/20231130T085712000_visual_30_hotsat1_initial_orthoutm.tiff --t_srs EPSG:32642 -t pinhole
--> Setting number of processing threads to: 4
Using session: pinholeLoading camera model: ./example/20231130T085712000_visual_30_hotsat1_fliplr.tiff ./example/20231130T085712000_visual_30_hotsat1_camera.tsai
Computed image to DEM bbox: Origin: (1.79769e+308, 1.79769e+308) width: 0 height: 0
Could not sample correctly the image.
Check your inputs. Or try specifying --t_projwin and --tr values.```Cheers,Daniel
CAUTION: This email originated from outside of NASA. Please take care when clicking links or opening attachments. Use the "Report Message" button to report suspicious messages to the NASA SOC. |
Thank you both Daniel and Oleg for this very informative discussion on a topic that I have encountered myself this week. I have started to use a new capability that Oleg has developed this week and implemented in ASP (build date: 2024-05-16). ASP can now use pitch, roll, and yaw data for airborne data in the cam_gen tool (16.8.1.6. Geodetic coordinates and angles) to create the extrinsics for the pinhole .tsai cameras. My team has flown two different configurations on two different aircraft with different camera orientations due to space constraints in the nadir viewports:
I have previously used ortho2pinhole for creating extrinsics and that of course does not depend on the camera’s orientation. That is of course not the case for cam_gen when yaw is used. A colleague of mine, who is processing the same data in Metashape, simply subtracted 180° from the yaw angles for the "backward" installation and that works as well when I do this for ASP processing with the cam_gen module.
Thanks for sharing that the u_v etc. parameters are not the way to go for accounting for camera orientations. Good to know!
Thanks,
Michael