Skip to main content

Toolkit for Multifractal Analysis

Project description

FreeAeon-Fractal

FreeAeon-Fractal is a Python toolkit for computing Multifractal Spectra, Fractal Dimensions, Fractal Lacunarity and Fourier Spectra of images or series.

📦 Installation

Install via pip:

pip install FreeAeon-Fractal

💡 Requires Python 3.6+ and OpenCV (cv2) support.

🖼 Usage

Calculate the Multifractal Spectrum of an image

python demo.py --mode mfs --image ./images/face.png

Example:

Multifractal Spectrum Input

Calculate the Fractal Dimensions (Box-Counting, DBC, SDBC) of an image

python demo.py --mode fd --image ./images/fractal.png

Example:

Fractal Dimension Input

Lacunarity analysis of an image

python python demo.py --mode=lacunarity --image=./images/fractal.png

Example:

Fractal Dimension Input

Fourier analysis of an image

python demo.py --mode fourier --image ./images/face.png

Example:

Fractal Dimension Input

Calculate the Multifractal Spectrum of a Series

python demo.py --mode series

Example:

Fractal Dimension Input

Parameters

  • --image: Path to the input image
  • --mode: Analysis mode:
    • fd – Fractal Dimension
    • mfs – Multifractal Spectrum (default)
    • lacunarity - Lacunarity analysis
    • fourier - Fourier analysis
    • series - Multifractal Spectrum for Series analysis

Use GPU to speed up

from FreeAeonFractal.FAImageDimensionGPU import CFAImageDimensionGPU as CFAImageDimension
from FreeAeonFractal.FA2DMFSGPU import CFA2DMFSGPU as CFA2DMFS

📁 Directory Structure

FreeAeon-Fractal/
├── FreeAeonFractal/      # Core module
├── demo.py               # CLI interface
├── images/               # Example images
├── requirements.txt
├── setup.py
└── README.md

📄 License

This project is licensed under the MIT License. See LICENSE for details.

✍️ Author

Jim Xie

📧 E-Mail: jim.xie.cn@outlook.com, xiewenwei@sina.com

🔗 GitHub: https://github.com/jim-xie-cn/FreeAeon-Fractal

Yin Jie

📧 E-Mail: yinjiejspi@163.com

Cindy Ma

📧 E-Mail: 453303661@qq.com

Wenjing Zhang

📧 E-Mail: 634676988@qq.com

Danny Zhang

📧 E-Mail: zhyzxsw@126.com


🧠 Citation

If you use this project in academic work, please cite it as:

Jim Xie, FreeAeon-Fractal: A Python Toolkit for Fractal and Multifractal Image Analysis, 2025.
GitHub Repository: https://github.com/jim-xie-cn/FreeAeon-Fractal

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

freeaeon_fractal-0.6.0.tar.gz (39.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

freeaeon_fractal-0.6.0-py3-none-any.whl (51.7 kB view details)

Uploaded Python 3

File details

Details for the file freeaeon_fractal-0.6.0.tar.gz.

File metadata

  • Download URL: freeaeon_fractal-0.6.0.tar.gz
  • Upload date:
  • Size: 39.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for freeaeon_fractal-0.6.0.tar.gz
Algorithm Hash digest
SHA256 3a64ccfccb91a460601292ec598d13c157c7e6984fde1eb730c61209f8c7dad9
MD5 d01e5006b048f87faca8f2d4b2c8f3b4
BLAKE2b-256 e4f9d0f3025cfcf69b92e97d3b3fde2e1f2c8da8db638b5272d5038c0a131ef8

See more details on using hashes here.

File details

Details for the file freeaeon_fractal-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for freeaeon_fractal-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 323c6597e363b3488a31758dd23ce3dec31be858c64fc68c90661d223db2abef
MD5 7cb4c636664a344a6f7e65e19f30c80b
BLAKE2b-256 3f5c627c0d03b76f8d21813c83660e436e736affcbd5e53695c795959c5deb2c

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