Giter Site home page Giter Site logo

photogrammetry-algorithm's Introduction

Photogrammetry Algorithm

A collection of the implementation of photogrammetry algorithm,including Resection, Calculation of elements of exterior orientation and Forward Intersection.
Before compiling the source code, please make sure that you have configured the OpenCV open source library properly.
To compile the source code, first compile the readpixel.cpp and produce the readpixel.exe. Then, compile the resection.cpp and forwardintersection.cpp. Both these 2 solutions will call the readpixel.exe we produced previously.

Resection

Given the reference image as below, the solution of Resection is used to compute the length, width and height of the corridor.In the image below, the O,A,B,C are the 4 control points we set for the image.

Forward Intersction

Given 2 reference images as below, the solution of Forward Intersction is used to compute the elements of exterior orientation, projection parameters and the coordinates of the image points in the real world. In the images below, A,B,C,D are the 4 control points we selected from the IMG_LEFT and A',B',C',D' are the corresponding points in IMG_RIGHT.
In the source code, we hard code the default size for an image as 5616*3744. Also,we hard code the pixel coordinates of control points shown in the images below:
IMG_LEFT: A(2783,1758), B(3116,1760), C(2778,2092), D(3116,2096)
IMG_RIGHT(Corresponding Points): A'(2477,1768), B'(2809,1763), C'(2474,2102), D'(2811,2100)

IMG_LEFT

IMG_RIGHT

photogrammetry-algorithm's People

Stargazers

Andrew Tischenko avatar

Watchers

James Cloos avatar

Forkers

eglrp whigg

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.