Git Product home page Git Product logo

empcorrect_app's Introduction

EmpCorrect_App

Use empirical line correction method to convert mosaic image to at-surface reflectance image

Changelog

===== 27/1/2021 =====

  • Add the compatibility with new gdal import method

===== 13/4/2020 =====

  • Add the set_draggable attribute to legend to support new matplotlib API

===== 14/9/2017 =====

  • Change ROI window's title to DN and reflectance value
  • Disable opencv QT context menu when right click
  • Make "Original" window automatically appear at the centre of screen, and resize to 2/3 screen size
  • Add support to numpad Enter in Reflectance input box
  • Add the function to adjust display brightness (0-300%)

===== 11/9/2017 =====

  • Remove executable since python crash every time when I try to build it

===== 6/7/2017 =====

  • The lastest source code assigns QT5Agg as the default backend.
  • Replace os.system with subprocess.run to execute exiftool.
  • Correct Syntax to copy XMP metadata

This is my first GUI application so that I just take any modules for quick development.

Any Suggestion for improvement is welcome

Note: The script is coded in Python 3.6 environment on Windows 10 64-bit, and only tested on Windows and Linux (Ubuntu 16.04 with Python 3.5). The script may not work on other platform.
Please download exiftool from https://sno.phy.queensu.ca/~phil/exiftool/

Dependency: numpy, scipy, opencv, gdal, matplotlib, PyQt5
For Windows users: install modules downloaded from http://www.lfd.uci.edu/~gohlke/pythonlibs/ if pip doesn't work.

Usage:

Double click the script to execute the application. Otherwise, use python3 in command line (or python if you only install python3 in your computer)
Use mode 1 to zoom with mouse drag (right click to reset view), and mode 0 to draw polygon to specify pixels (right click to finish drawing).
After drawing the area of interest, input the at-surface reflectance value for those pixels.
When finish, press "ESC" and it will generate the linear regression graph.
If you satisfy the result, close the graph and confirm to continue. The application will apply the linear equation to calculate the at-surface reflectance image.

empcorrect_app's People

Contributors

dobedobedo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.