Skip to main content

Phasepack: a toolkit for phase-based image feature detection

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.

Release files for phasepack 1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phasepack 1.5
File Size Uploaded
phasepack-1.5.tar.gz 15.3 kB Details

Release files / phasepack-1.5.tar.gz

Download URL phasepack-1.5.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d9f8474cd684e674e11572acda18fb32a624fef2be3c691ac3c24b88f95bc0ad
BLAKE2b-256 checksum
How to use checksums
7decb52bc331f9e69cbf3c2c367c531176b45185741bd9f516ef82b64e7fbe9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.5 This release

1 release file

1.4

1 release file

1.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page