Skip to content

zahuang923/imfractal

 
 

Repository files navigation

imfractal

An open source (BSD) library to compute (multi)fractal dimensions of images and volumes written in Python. Different implementations of the multifractal formalism are present, e.g., the Sandbox method, and the Singularity or Lipschitz-H"older multifractal spectrum.

Required dependencies for imfractal:

Optionally, the classification test requires:

Installation

  • In Debian/Ubuntu, just install the required Python packages:

    apt-get install python-numpy python-scipy python-sklearn;

    pip install cython

Example

The most interesting example is a classifier to distiguish bread images from others types of images using imfractal. The code is available here.

Multifractal Spectrums implemented (so far)

  1. Singularity Multifractal spectrum (Haussdorf dimentions through Hölder exponents) (2D, 3D)
  2. Sandbox Multifractal spectrum (2D, 3D)

About

A library to compute (multi)fractal dimensions of images written in Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.6%
  • MATLAB 1.8%
  • Other 0.6%