Skip to main content
https://zenodo.org/badge/DOI/10.5281/zenodo.17154040.svg

The Package PyAFBF is intended for the simulation of rough anisotropic image textures. Textures are sampled from a mathematical model called the anisotropic fractional Brownian field. More details can be found on the documentation.

Package features

  • Simulation of rough anisotropic textures,

  • Computation of field features (semi-variogram, regularity, anisotropy indices) that can serve as texture attributes,

  • Random definition of simulated fields,

  • Extensions to related fields (deformed fields, intrinsic fields, heterogeneous fields, binary patterns).

Installation from sources

The package source can be downloaded from the repository.

The package can be installed through PYPI with

pip install PyAFBF

To install the package in a Google Collab environment, please type

!pip install imgaug==0.2.6

!pip install PyAFBF

Communication to the author

PyAFBF is developed and maintained by Frédéric Richard. For feed-back, contributions, bug reports, contact directly the author, or use the discussion facility.

Licence

PyAFBF is under licence GNU GPL, version 3.

Citation

When using PyAFBF, please cite the original paper

  1. Biermé, M. Moisan, and F.J.P. Richard. A turning-band method for the simulation of anisotropic fractional Brownian field. J. Comput. Graph. Statist., 24(3):885–904, 2015.

and the JOSS paper:

F.J.P. Richard. PyAFBF: a Python library for sampling image textures from the anisotropic fractional Brownian field. Journal of Open Source Software, 7(75):3821, 2022.

https://joss.theoj.org/papers/10.21105/joss.03821/status.svg

Contents

  • Quick start guide
    • Getting started

    • Customed models

    • Tuning model parameters

    • Model features

    • Simulating with turning-band fields

  • Example gallery
    • Basic examples

    • Extended anisotropic fields

    • Heterogeneous fields

    • Related anisotropic fields

  • API: main classes
    • AFBF (field)

    • Turning band field (tbfield)

  • API: auxiliary classes
    • Periodic functions (perfunction)

    • Coordinates (coordinates)

    • Spatial data (sdata)

    • Process (process)

    • Turning bands (tbparameters)

    • ndarray

Credits

PyAFBF is written and maintained by Frederic Richard, Professor at Aix-Marseille University, France.

Metadata

Release files for PyAFBF 0.2.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyAFBF 0.2.9
File Size Uploaded
pyafbf-0.2.9.tar.gz 39.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PyAFBF 0.2.9
File Interpreter ABI Platform
pyafbf-0.2.9-py3-none-any.whl Python 3 none any Details

Total release size: 85.2 kB

Release files / pyafbf-0.2.9.tar.gz

Download URL pyafbf-0.2.9.tar.gz
Size 39.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4827c8f865da60091840815b3d35795309162bc256744beed535c156154984b7
BLAKE2b-256 checksum
How to use checksums
60ba32a233e3ff5835ae5b92e73efbbe523e24fc4880c95d151c67f5be981395
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / pyafbf-0.2.9-py3-none-any.whl

Download URL pyafbf-0.2.9-py3-none-any.whl
Size 45.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11631e53f560ab1272b3b9d08dd17c8bf9d60c967a790bc0e3351f3af3b6b587
BLAKE2b-256 checksum
How to use checksums
c0c2b04c8a1255d21db7f110cbbb41d877b10f1c2b7da6b7f151b624fb88fd49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.2.9 This release

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.4

2 release files

0.2.0

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.3

2 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page