Giter Site home page Giter Site logo

vldkhramtsov / subpixelalignment Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 0.0 2.8 MB

Implementation of image alignment through phase correlation in Fourier space for pixel- and subpixel-bias.

License: MIT License

Python 0.45% Jupyter Notebook 99.55%

subpixelalignment's Introduction

SubpixelAlignment

Implementation of image alignment through phase correlation in Fourier space for pixel- and subpixel-bias.

Dataset

The data is located in the data directory. It contains two datasets: saturn and sentinel2. Each dataset consists of two .tiff images of the one region, separated in time.

Code

The code is located in the code directory. It contains the scripts for dataset uploading (dataset.py), drawing (plot.py), and detection of the offset between images via phase correlation.

Note: if the offset is assumed to be on the order of pixels, the parameter upsample_factor should be equal to 1 (saturn dataset case); otherwise, if the shift between images is observed on the subpixel level, the parameter upsample_factor should be more than 1 (typically 3-10; sentinel2 dataset case).

The example of using the code is presented in the Jupyter Notebook (data/example.ipynb).

Requirements

  • numpy==1.18.5
  • rasterio==1.1.5
  • scikit-image==0.17.2
  • scipy==1.4.1

(see requirements.txt for the more details)

subpixelalignment's People

Contributors

vldkhramtsov avatar

Stargazers

 avatar  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.