Skip to content

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

License

Notifications You must be signed in to change notification settings

rbaravalle/imfractal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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