I was wondering, if the image_align tool is suitable for aligning non-mapprojected images as well and if that would even make sense?
1) When using the disparity produced from previously running parallel_stereo instead of IP matches to find the alignment transform, the points seem to be off. I am attaching two screenshots from the stereo_gui. The IP matches image_align generates from the disparity do not correspond to the images I provided as input to parallel_stereo and image_align, but rather to the rectified images *-L.tif and *-R.tif. Is this mismatch an issue?
2) As both reference and source image are not georeferenced, the aligned image won't have a reference either and loses the RPC metadata. Is there any way to transfer the alignment transform to the camera of the second image though? I was thinking about something like:
bundle_adjust $img2 -t rpc -o ba/run --apply-initial-transform-only --initial-transform align/run-transform.txt
and then re-creating the RPCs with cam2rpc, however, bundle_adjust requires a 4x4 matrix and image_align only provides 3x3.
--
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/7375c41b-ac8b-4c45-a3fb-325cf3752339n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ames-stereo-pipeline-support/dfd891f8-0d5b-4ed4-9e85-6d051d88e1d3n%40googlegroups.com.
Dear Oleg,
You were right - it appears that RANSAC discarded some matches:
Found 5564 / 8309 inliers using RANSAC.
Setting the inlier threshold to 30 pixels worked to retrieve matches over the entire disparity. Would it be an issue to set a really high threshold here, e.g. 1000 pixels or so, to make sure to always get matches over the entire disparity? Technically, the disparity should have already been filtered when running parallel_stereo, so there would be no need to remove outliers.
Best,
Ariane