Code Monkey home page Code Monkey logo

image-pairs-stereo-capacity's Introduction

image-pairs-stereo-capacity

Estimate the stereoscopic capacity (B/H ratio) of pairs of images from the Pleiades or SPOT6-7 satellites

Very high resolution satellites, such as Pleiades and SPOT6-7, can acquire images in stereo or tri-stereo modes. Still, two monoscopic acquisitions can be combined to produce a digital surface model (DSM). howstereo.py can help you to choose which pair of images offers the best configuration in terms of stereoscopic capacity.

For those agile satellites, the incidence angle, which is used to calculate the B/H ratio, is decomposed in the scan and ortho-scan directions (see the Pleiades and SPOT6-7 user guides for more details). For each acquisition, the scan, ortho-scan and scan azimuth angles are provided in the Airbus archive catalog (http://www.intelligence-airbusds.com/geostore/).

Of course, you should also look at other parameters for choosing the images, such as their common footprint, cloud and snow cover, the time difference between the two acquisitions (which induces changes between the two images and therefore potential correlation issues).

Thanks to Julien & Charlotte for the precious help!

Usage:

howstereo.py --incid1 SCAN ORTHO --az1 AZIMUTH --incid2 SCAN ORTHO --az2 AZIMUTH [-h] [--input_file FILE] [--show_plot]

Mandatory arguments:

--incid1 SCAN ORTHO  incidence angles for image 1 (in degrees)
--az1 AZIMUTH        scan azimuth for image 1 (in degrees)
--incid2 SCAN ORTHO  incidence angles for image 2 (in degrees)
--az2 AZIMUTH        scan azimuth for image 2 (in degrees)

Optional arguments:

-h, --help           show this help message and exit
--input_file FILE    input from a file instead (in csv format: incid_scan,incid_ortho,az)
--show_plot          show a 3D, interactive plot

Examples:

Example 1:

  • Image 1 has an incidence of -5.44° in the scan direction, 7.07° in the ortho-scan direction and a scan azimuth of 48.63°.

  • Image 2 has an incidence of -28.34° in the scan direction, 15.28° in the ortho-scan direction and a scan azimuth of 24.34°

howstereo.py --incid1 -5.44 7.07 --az1 48.63 --incid2 -28.34 15.28 --az2 24.34

Output:

pair	b/h	angle
im1-im2	0.48	27.1°

Example 2:

The information for each image is listed in image_list.txt:

15,10,120
-15,-10,120
20,0,30
-20,0,30

howstereo.py --input_file image_list.txt --show_plot

Output:

pair	b/h	angle
im1-im3	0.32	18.0°
im2-im4	0.32	18.0°
im1-im4	0.60	33.2°
im2-im3	0.60	33.2°
im1-im2	0.64	35.7°
im3-im4	0.73	40.0°

Interactive plot of the result (screen capture)

image-pairs-stereo-capacity's People

Contributors

scpsc avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.