Coder Social home page Coder Social logo

geojames / pybathysfm Goto Github PK

View Code? Open in Web Editor NEW
21.0 4.0 4.0 1.26 MB

A Python script for preforming refraction correction on Structure from Motion datasets.

License: MIT License

Python 100.00%
bathymetry structure-from-motion correction refraction

pybathysfm's Introduction

pyBathySfM

Updates to the original py_sfm_depth with a new fancy name and a shiny new GUI interface

DOI

Update History
  • V.4 - 2019 June 26 - GUI bug fixes

Updates from the original py_sfm_depth

  1. Shiny new GUI interface (QT)
  2. More options
    • Angle and distance filters
    • Debugging outputs (raw processing outputs)
    • added small angle refraction calculation option

This script is SfM software indifferent (Agisoft, Pix4D, etc)

  • you just need to be able to export a CSV point cloud and get camera parameters (x,y,z,pitch,roll,yaw)
  • see the tutorial for more info.

Running the script

Download and unzip the Github Repository to a In your command line program of choice (i.e. Windows command prompt, Anaconda prompt)

  • Change the direcotry cd c:\... to the unzipped repository
  • Run the script with python pyBathySfM.py
    • do not run pyBathySfM_gui.py this is the source code, but it will not display the GUI

Requirements

  • Python v3.x (written in 3.6 & 3.7)
  • Required Libraries: PyQT5, numpy, pandas, sympy, matplotlib

** I use Anaconda Python that has all the required libraries

Licence: MIT

© 2019, James T. Dietrich, Ph.D.

pybathysfm's People

Contributors

geojames avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pybathysfm's Issues

Calculation of Visibility Not Working

Good afternoon, Dr. Dietrich.
I am wondering if you could give some enlightenment on this issue I have been facing when using the script for refraction correction.
When I run it for my dataset, the function for visibility calculation returns a empty array, but regardless that, I still can get the calculation of corrected depth.
For another dataset, the output corrected point cloud show some points without the correction calculation. I am trying to figure out why is that, but not success so far. I did check the target points' coordinates and camera coordinates, as well, and they seem ok.
Would you possibly have some idea of the cause for it?

Thank you.

Output Error, missing corElev_avg

Hello, At first thanks for your software.

When I try to use your software, in the output csv the only data I get is h_a, the other columns are empty
imagen
Tried your sample data but got the same result.
imagen
What could be the problem?

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.