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.2.tar.gz (31.9 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.2-py3-none-any.whl (45.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for freeaeon_fractal-0.5.2.tar.gz
Algorithm Hash digest
SHA256 a39c5e7fa5eceef6a52c33add2075faacc470a463dcb496bdcb105ca28f4e1ad
MD5 4a52bce3d3d71992e8d3c8d8de29e163
BLAKE2b-256 ccd85a983081a4d6f4e87488ff20c4095f947bdf346a370417ce1c68ddb27003

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freeaeon_fractal-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 28e4ffb6c49bf8000adac83890ff6a80f6509ac972e33eca7eaf8d28030571f1
MD5 c0e7ee2c9c6c3d483c499b6acf71383a
BLAKE2b-256 3ead2685cd14413c0c90c0a6a9837d6646293f1bd651aa4832602252a5e60fa5

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