Sample image textures from anisotropic fractional Brownian fields
Project description
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
Licence
PyAFBF is under licence GNU GPL, version 3.
Citation
When using PyAFBF, please cite the original paper
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:
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
Built Distribution
File details
Details for the file PyAFBF-0.2.0.tar.gz
.
File metadata
- Download URL: PyAFBF-0.2.0.tar.gz
- Upload date:
- Size: 45.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3d73ec2fb79df071bd1a5846308e0f70c4e5003388433a1d60767ddf2df5c40 |
|
MD5 | 4132518e457e05f3198287e1716227d0 |
|
BLAKE2b-256 | 4bb9f9c58a55285bfcd959b448a5fdd290570ee65ce4e3687e5a688703fe0065 |
File details
Details for the file PyAFBF-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: PyAFBF-0.2.0-py3-none-any.whl
- Upload date:
- Size: 62.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b67872261b29ccb56e4b74c5ddf7bebe10de6e9a682770ce4f56fff22750290 |
|
MD5 | 8a0140449e4daaaa721cfb3fa1707c80 |
|
BLAKE2b-256 | 23799bc881f96208f79eb3747b69ff1a5c7bfeaba4fef14fdec664c6e41f26e5 |