ChelovekHe / imfractal

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:Other


Languages

Language:Python 99.3%Language:R 0.4%Language:C 0.3%