NeoGeographyToolkit / StereoPipeline

The NASA Ames Stereo Pipeline is a suite of automated geodesy & stereogrammetry tools designed for processing planetary imagery captured from orbiting and landed robotic explorers on other planets.
Apache License 2.0
479 stars 169 forks source link

Adapt image_mosaic approach to mosaic planet labs image tiles #239

Closed jchollingsworth closed 10 months ago

jchollingsworth commented 5 years ago

Planet image tiles have bad registration to reach other, and mosaicing them with gdalwarp makes an image which looks visually ok, but if you make any sub-pixel measurements with it you'll retrieve a whole load of nasty mosaicing artifacts.

Maybe we could use the same/similar approach as used in image_mosaic to align and mosaic neighboring planet tiles (either along track or otherwise), so they mosaic with sub-pixel precision.

This would make planet data significantly more useful for optical correlation purposes, especially over larger areas.

Cheers,

James

oleg-alexandrov commented 5 years ago

Stitching of Planet files is on our to-do list for this year. We don't know when we will get to it.

There is a good chance that distortion may play a role when stitching happens, even with accurate alignment. We won't know until we do that.

In principle, now one could invoke bundle_adjust on the entire image set (arrange so that each image overlaps only with the next several ones), followed by mapprojection on some datum. After that dem_mosaic could be used. It should create a mosaicked orthoimage with hopefully not too many artifacts. I am aware here we want to get a raw image, not an orthoimage. The point is that likely the new tool will function a lot like bundle_adjust in determining a set of rotations/translations that brings n images together based on a set of overlaps.

jchollingsworth commented 5 years ago

I see... That all makes a lot of sense. I guess with bundle_adjust you could also try and solve for distortion, if that's an issue (?... though ortho images will pose a problem). Ok... I look forward to this development :) good luck!

J

On Wed, Mar 6, 2019, 1:40 AM Oleg Alexandrov notifications@github.com wrote:

Stitching of Planet files is on our to-do list for this year. We don't know when we will get to it.

There is a good chance that distortion may play a role when stitching happens, even with accurate alignment. We won't know until we do that.

In principle, now one could invoke bundle_adjust on the entire image set (arrange so that each image overlaps only with the next several ones), followed by mapprojection on some datum. After that dem_mosaic could be used. It should create a mosaicked orthoimage with hopefully not too many artifacts. I am aware here we want to get a raw image, not an orthoimage. The point is that likely the new tool will function a lot like bundle_adjust in determining a set of rotations/translations that brings n images together based on a set of overlaps.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NeoGeographyToolkit/StereoPipeline/issues/239#issuecomment-469918010, or mute the thread https://github.com/notifications/unsubscribe-auth/AlTfj1nky5T6WL0TYT-VbWHog7aflQWpks5vTw5rgaJpZM4bfkWf .