-
Notifications
You must be signed in to change notification settings - Fork 77
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
cartosat data produces incorrect output #146
Comments
Hi Krishna, Best |
Hi Carlo, Thanks, |
Hi Krishna, Thank you very much for raising this issue. After a bit of analysis, it turns out that the problem is caused by an optimisation that was introduced in s2p to speed-up the search for SIFT matches. This optimisation assumes that the stereo-rectification computed blindly from the RPC camera models is correct up to 10 pixels and restricts the search area to a narrow stripe of 10 pixels around epipolar lines. On this pair of Cartosat images the pointing error is larger than 10 pixels, hence all SIFT matches are wrongly rejected. I've added a parameter called As a side note, I'd recommend also adding the parameter Best, |
Dear Carlo,
Thank you very much for fixing this!
So far I was using my old installation (from 2 years back) which was still
working. Now I will switch to the latest version.
Best Regards
Krishna
…On Thu, Jun 14, 2018 at 2:27 PM, Carlo de Franchis ***@***.*** > wrote:
Hi Krishna,
Thank you very much for raising this issue. After a bit of analysis, it
turns out that the problem is caused by an optimisation that was introduced
in s2p to speed-up the search for SIFT matches. This optimisation assumes
that the stereo-rectification computed blindly from the RPC camera models
is correct up to 10 pixels and restricts the search area to a narrow stripe
of 10 pixels around epipolar lines.
On this pair of Cartosat images the pointing error is larger than 10
pixels, hence all SIFT matches are wrongly rejected.
I've added a parameter called max_pointing_error for tuning this value.
It defaults to 10 pixels (to keep the previous behaviour). On this pair of
Cartosat images you can safely set it to 100 pixels to make the pipeline
work. Just add "max_pointing_error": 100 in the json input configuration
file.
As a side note, I'd recommend adding also the option "register_with_shear":
true to reduce the disparity range and speed-up the whole processing.
Best,
Carlo
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#146 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AjDzIX3Y8UUiM1DAklReOGj9eg-BoEkNks5t8iV8gaJpZM4SQwej>
.
|
I have used S2P previously from the older repository (installed in January 2016), and it worked fine with Cartosat data. Carlo had very kindly added support for Cartosat in that version. But yesterday I reinstalled S2P from this new github repository and the output is not quite right.
Attaching two dsm files (in zipped folder named dsm_error.zip).
Also attaching the .json file (stereo.json) so you can see the settings used to run S2P (also in zipped folder).
dsm_error.zip
The cartosat image pair is available here: https://www.dropbox.com/s/4sj8akfoui2les0/152904411.zip?dl=0
Thank you
The text was updated successfully, but these errors were encountered: