Skip to main content

Toolkit for Multifractal Analysis

Project description

FreeAeon-Fractal

FreeAeon-Fractal is a Python toolkit for computing Multifractal Spectra and Fractal Dimensions of images.

📦 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.1.tar.gz (31.6 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.1-py3-none-any.whl (45.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: freeaeon_fractal-0.5.1.tar.gz
  • Upload date:
  • Size: 31.6 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.1.tar.gz
Algorithm Hash digest
SHA256 0544c6359d7e6b4b93aaec9dec03a309cc9ae276272a4d59aae6f7e54bb92a96
MD5 ba5d1f96890c0ce02121f57c0479ef0e
BLAKE2b-256 88ea15c77625e4624651b980a452e026e182caa290211b6efed948ca7f681ada

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freeaeon_fractal-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 354d65c5d81d791995fe5fe89753bb6a3a304274b10f3d4dbc07ce94182bee7b
MD5 180d30e2ddce2499d2e52d4bbcaff020
BLAKE2b-256 346dc11e1abe37dfcdb4ca7ceeca2322fb22b67e9a2e7d5ed2fee46f3f4d8450

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