Skip to main content

A toolkit for phase-based feature detection

Project description

This toolkit consists of a set of functions which use information contained within the phase of a Fourier-transformed image to detect localised features such as edges, blobs and corners. These methods have the key advantage that the properties they measure are invariant with respect to image brightness and contrast.

phasecong:

Phase congruency using oriented filters

phasecongmono:

Fast phase congruency using monogenic filters

phasesym:

Phase symmetry using oriented filters

phasesymmono:

Fast phase symmetry using monogenic filters

For more information on a particular function, see the associated docstring and the references therein.

Installation

$ python setup.py install

Fast(er) Fourier Transforms

All of the functions in this module make use of the Fast Fourier Transform (FFT), and their speed significantly depends on the module used to provide FFT functions. If it is available, the pyFFTW module will be used. This provides Python bindings to the FFTW C library, and is substantially faster than fftpack, the default for scipy.

To install pyFFTW:

$ pip install pyfftw

Authorship

These functions were originally written for MATLAB by Peter Kovesi, and were ported to Python by Alistair Muldal. The original MATLAB code, as well as further explanatory information and references are available from Peter Kovesi’s website.

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

The software is provided “as is”, without warranty of any kind.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phasepack-1.3.tar.gz (15.0 kB view details)

Uploaded Source

File details

Details for the file phasepack-1.3.tar.gz.

File metadata

  • Download URL: phasepack-1.3.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for phasepack-1.3.tar.gz
Algorithm Hash digest
SHA256 125812b0cfa95e1537421a05afd7a9e8eae292ae6827ee408ccef57d00d404a0
MD5 76b4c5f20cbd80426649a16ba6900fff
BLAKE2b-256 32519417e88f7f4e86cfff2cf792d64a799e36efb11301aed7ef7ea60dc9a3d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page