Git Product home page Git Product logo

spaceintersection's Introduction

SpaceIntersection

Description

This repository is an implementation of space intersection, which can get the position of an object point with given information. The necessary information include:

  • focal length [mm]
  • image coordinates [mm]
  • exterior orientation parameters of more than two photos with overlap area [m] [deg]

Usage

First, create an input file. The format of an input file must like:

<f>
<Photo-Name> <x1> <y1> <XL1> <YL1> <ZL1> <Omega1> <Phi1> <Kappa1> <XL1-Err> <YL1-Err> <ZL1-Err> <OmegaL1-Err> <PhiL1-Err> <KappaL1-Err>
<Photo-Name> <x2> <y2> <XL2> <YL2> <ZL2> <Omega2> <Phi2> <Kappa2> <XL2-Err> <YL2-Err> <ZL2-Err> <OmegaL2-Err> <PhiL2-Err> <KappaL2-Err>
<Photo-Name> <x3> <y3> <XL3> <YL3> <ZL3> <Omega3> <Phi3> <Kappa3> <XL3-Err> <YL3-Err> <ZL3-Err> <OmegaL3-Err> <PhiL3-Err> <KappaL3-Err>

<f> is focal length of camera.
<x*> <y*> stands for the image coordinates of target point.
<XL*> <YL*> <ZL*> <Omega*> <Phi*> <Kappa*> are the exterior orientation parameters.
Since the exterior orientation parameters are treated as observables with uncertainty, so they must have errors <XL*-Err> <YL*-Err> <ZL*-Err> <Omega*-Err> <Phi*-Err> <Kappa*-Err>.

Then you can just call ./spaceIntersection.py -i <input file> to start the computation.
You can also type ./spaceIntersection.py -h for more information about this repository.
There are already two input files serve as an example.

Requirements

Python

Python v2.7.X with the following modules to be installed.

-Numpy
-Sympy
-Pandas

spaceintersection's People

Contributors

otakusaikou avatar

Watchers

James Cloos avatar Chris Thomas 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.