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.5.3.tar.gz (33.0 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.5.3-py3-none-any.whl (49.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: freeaeon_fractal-0.5.3.tar.gz
  • Upload date:
  • Size: 33.0 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.5.3.tar.gz
Algorithm Hash digest
SHA256 ff669580fcd6bea458f6aca1f8914e781fa47e06d51ca2859b1a486b1a0fd0de
MD5 95e6ea6a860553f619b1b3c0cbe26f20
BLAKE2b-256 bb594ab5805db21933ba6db50487306307ba91cabfec20a62afdb91dc60002a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freeaeon_fractal-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e5fa03d3cdbef88c91006191ec90a9ac9962599f6079b8b6013aa803f0eefdc9
MD5 80baab530d6f8f82e40368f9d3ad2ea9
BLAKE2b-256 f7a874c262f4445480ac6126a5092fe893c96502d3f43b5221ff05a49ad067ac

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