GithubHelp home page GithubHelp logo

simone-codeluppi / phase_correlation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from michaelting/phase_correlation

0.0 2.0 0.0 136 KB

Phase correlation implementation in Python

Python 100.00%

phase_correlation's Introduction

#=======================================================================#
# Phase Correlation implementation in Python				#
# Michael Ting								#
# Created 25 June 2013							#
# Updated 19 July 2013							#
#=======================================================================#

Simple image phase correlation implementation using Python - SciPy and NumPy.

Images are converted to NumPy arrays which are used in the phase correlation
algorithm.

#=======#
# Files #
#=======#

* phase_corr.py	- Python implementation of phase correlation algorithm
* road.jpg	- the original image test file
* road1.jpg	- first image used in phase correlation example, 122x122 px
* road2.jpg	- second image used in phase correlation example, 122x122 px
* corr.jpg	- the correlation image file produced from the phase
		  correlation of road1.jpg and road2.jpg, 122x122 px

The phase correlation program reads input from the command line as follows:

$ python phase_corr.py in1 in2 out

* in1	- the name of the first input image
* in2	- the name of the second input image
* out	- the name of the output image file with the phase correlation

NOTE: Both input images must be the same size

#==============#
# Dependencies #
#==============#

* argparse	- Available in Python >= 2.7 and 3

* NumPy		- Can be found at www.numpy.org

* SciPy		- Can be found at www.scipy.org

phase_correlation's People

Contributors

michaelting avatar

Watchers

James Cloos avatar simone codeluppi 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.