Skip to main content

Sample image textures from anisotropic fractional Brownian fields

Project description

https://zenodo.org/badge/368267301.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. 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:

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.

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

PyAFBF-0.2.0.tar.gz (45.0 kB view hashes)

Uploaded Source

Built Distribution

PyAFBF-0.2.0-py3-none-any.whl (62.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page