This project provides matlab scripts for generating and analyzing weighted tensorised fractional brownian fields (WTFBF). The texture synthesis file generates new textures based on the spectral representation method, while the analysis file offer various metrics to evaluate texture auto-similarity and rectangular increments stationarity. These scripts reproduce the results given in the preprint 'Weighted tensorized fractional Brownian textures', Céline Esser, Claire Launay, Laurent Loosveldt, Béatrice Vedel, March 2025.
- Texture Synthesis: Generate textures based the spectral representation method.
- Texture Analysis: Analyze textures for properties like texture auto-similarity and rectangular increments stationarity.
- Skewness: A fonction to compute the samples' skewness
- A Matlab license
To generate the textures presented in the preprint 'Weighted tensorized fractional Brownian textures', open the script 'wtfbf_synthesis.m' and run it.
This will create 14 figures associated with a fixed seed :
- 6 samples of WTFBF, of size 512x512, with parameters H = 0.3 or 0.7, and alpha = 0, 0.5 and 1.
- one sample of a fractional Brownian field, of size 512x512, with parameter H = 0.3.
- one sample of a fractional Brownian sheet, of size 512x512, with parameter H = 0.3.
- 6 samples of anisotropic WTFBF, of size 512x512, with parameters H = 0.4, beta1 = 0.7, beta2 = 1.3 and alpha = 0, 0.5 or 1, or with parameters H = 0.6, beta1 = 0.85, beta2 = 1.15 and alpha = 0, 0.5 or 1.
The file 'wtfbf_analysis.m' reproduces the quantitative results in the preprint 'Weighted tensorized fractional Brownian textures'. To obtain the same results as in the preprint, run the script.
It generates 100 samples of WTFBF and computes the estimated mean, variance and skewness of the generated textures. It compares it with the estimated mean, variance and skewness of the associated rectangular increments, to assess stationarity, and with the estimated mean, variance and skewness of the associated rescaled fields, to test auto-similarity.
- 'Weighted tensorized fractional Brownian textures', Céline Esser, Claire Launay, Laurent Loosveldt, Béatrice Vedel, March 2025 (https://arxiv.org/pdf/2406.03313).