Tools and libraries for processing Planet SkySat imagery, including camera model refinement, stereo reconstruction, and orthomosaic production
Planet operates a constellation of 13 SkySat-C SmallSats, which can acquire very-high-resolution (0.7 m to 0.9 m) triplet stereo and continuous video imagery with short revisit times. This provides an excellent opportunity to derive on-demand, high-resolution Digital Elevation Models (DEMs) for any point on the Earth's surface, with broad applications for Earth science research. However, the quality of these DEMs is currently limited by the geolocation accuracy of the default SkySat camera models, and few existing photogrammetry tools can process the SkySat images.
We developed automated workflows to refine the SkySat camera models and produce accurate DEMs and orthomosaics. This workflow is described and evaluated in a manuscript submitted to ISPRS Journal of Photogrammetry and Remote Sensing in July 2020. This repository contains all tools and libraries as a supplement to the manuscript under review. This project is under active development and we welcome contributions (information for contributors forthcoming) and preliminary feedback from early visitors (you) :)
skysat_stereo - libraries used throughout the processing workflow
asp_utils.py
- library of functions involving components of the NASA Ames Stereo Pipelineskysat.py
- library of functions specific for SkySat processingmisc_geospatial.py
- miscelaneous functions for geospatial analysis and image processing
scripts - command line utilities for the SkySat processing workflow.
skysat_overlap.py
- identifies overlapping scenesskysat_preprocess.py
- prepares subset of video scenes, generates frame camera modelsba_skysat.py
- bundle adjustment and camera refinementskysat_stereo_cli.py
- stereo reconstructionskysat_dem_mos.py
- generates DEM composites with relative accuracy and count metricsskysat_pc_cam.py
- point clouds gridding, DEM co-registration, export updated frame and RPC camera modelsskysat_orthorectify.py
- orthorectify individual scenes and produce orthoimage mosaicsplot_disparity.py
- visualize DEM, disparity map, stereo triangulation intersection error map
notebooks - notebooks used during analysis and figure preparation
Figure 1: Orthoimage mosaic and DEM composite generated from a SkySat triplet stereo collection over Mt. Rainier, WA, USA. These final products were derived from L1B imagery that is © Planet, 2019 (Planet Team, 2017).
Figure 2: Relative and absolute accuracy before (using Planet RPCs) and after the
skysat_stereo
correction workflow.
Figure 3: Sample products from SkySat video collection over Mt. St. Helen's crater (after
skysat_stereo
correction workflow). These final products were derived from L1A imagery that is © Planet, 2019 (Planet Team, 2017).
- See environment.yml file for complete list of Python packages with pinned version numbers.
- NASA Ames Stereo Pipeline v 2.6.2
Please see the install instructions.
Notes:
- These tools were developed and tested on a dedicated Broadwell node on the NASA Pleiades supercomputer, running SUSE Linux Enterprise Server.
- Many tools use parallel threads and/or processes, and the hardcoded number of threads and processes were tuned based on the available resources (28 CPUs, 128 GB RAM). Some utilities should autoscale based on available resources, but others may require modifications for optimization on other systems.
- The code should work for *nix platforms. We have not tested on Windows.
This project is licensed under the terms of the MIT License.
Accompanying manuscript is under review, and will be available via open access after publication. For now, please cite as:
- Bhushan, Shashank, Shean, David E., Alexandrov, Oleg, & Henderson, Scott. (2020). Automated digital elevation model (DEM) generation from very-high-resolution Planet SkySat triplet stereo and video imagery. ISPRS Journal of Photogrammetry and Remote Sensing, submitted.
- Shashank Bhushan, David Shean, Oleg Alexandrov, & Scott Henderson. (2020, July 11). uw-cryo/skysat_stereo: Zenodo doi release (Version 0.1). Zenodo. http://doi.org/10.5281/zenodo.3940086
- This research was supported by the NASA Terrestrial Hydrology Program (THP) and the NASA Cryosphere Program. Shashank Bhushan was supported by a NASA FINESST award (80NSSC19K1338) and the NASA HiMAT project (NNX16AQ88G). David Shean, Oleg Alexandrov and Scott Henderson were supported by NASA THP award 80NSSC18K1405. SkySat tasking, data access, and supplemental support was provided under the NASA Commercial Smallsat Data Acquisition Program 2018 Pilot Study
- We acknowledge Compton J. Tucker and others at NASA Goddard Space Flight Center and NASA Headquarters for coordinating the Commercial Satellite Data Access Program Pilot and assisting with prelimnary SkySat tasking campaigns. Paris Good at Planet provided invaluable assistance with data acquisition and facilitated discussions with Planet engineering teams. Thanks are also due to Ross Losher, Antonio Martos, Kelsey Jordahl and others at Planet for initial guidance on SkySat-C sensor specifications and camera models. Resources supporting this work were provided by the NASA High-End Computing (HEC) Program through the NASA Advanced Supercomputing (NAS) Division at Ames Research Center. Friedrich Knuth and Michelle Hu provided feedback on initial manuscript outline, code development and documentation. We also acknowledge input from the larger ASP community during photogrammetry discussions.
Planet application program interface: In space for life on earth. San Francisco, CA. https://api.planet.com.