forked from ASTex-ICube/semiproctex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPPTBF_file_format.txt
99 lines (75 loc) · 3.79 KB
/
PPTBF_file_format.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
-----------------------------------------------------------------------------------------------------------------
Technical paper:
Semi-Procedural Textures Using Point Process Texture Basis Functions
P. Guehl , R. AllEgre , J.-M. Dischler, B. Benes , and E. Galin
Computer Graphics Forum (EGSR 2020 special issue)
-----------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------
PPTBF file format
---------------------------------------------------------------------------
A PPTBF file store parameters of our PPTBF model (Point Process Texture Basis Functions) of procedural stochastic structures.
Example:
0.892735
5 1 55 0.359 0.850971 0.034 0.872 0.547 1 10 0 2 0 0.812 0.01 0 2 0 5 1 1 0.855 0.855 1 1 0.0844974 1 0
--------------------------------------------------
-------------------- 1st line --------------------
--------------------------------------------------
The first line contains the threshold to apply to the PPTBF procedural model.
This threshold HAS TO be applied after a "histogram egalization" of the PPTBF values to renormalize its values in [0;1]
So, threshold value lies in [0;1.0]
- [0] PPTBF threshold value
--------------------------------------------------
-------------------- 2nd line --------------------
--------------------------------------------------
The second line contains the concatenated list of PPTBF procedural parameters.
They describe 5 types of PPTBF parameters :
- code PPTBF model: point process, window function and feature feature
- additional parameters: transformations and deformations
-----------------------
---- Point process ----
-----------------------
Point set parameters:
- [0] tiling type : tiling type (e.g., regular, irregular...)
- [1] jittering : randomness
------------------------
---- Transformation ----
------------------------
NOTE: also used for normalization parameters during parameter estimation.
- [2] resolution : uniform scale (zoom/unzoom)
- [3] rotation : rotation around world coordinate frame at origin (0.0;0.0)
- [4] aspect ratio : shear on X axis (scale)
--------------------
---- Turbulence ----
--------------------
Brownian distorsion parameters:
- [5] distorsion base amplitude :
- [6] distorsion amplitude gain :
- [7] distorsion frequency :
-------------------------
---- Window function ----
-------------------------
Window function parameters:
- [8] window shape : window function type
- [9] window arity : number of control points for smoothing
- [10] window larp : anisotropy of cellular basis window
- [11] window norm : cellular basis window norm
- [12] window smoothness : degree of smoothing
- [13] window blend : linear combination of the two basis windows
- [14] window sigwcell : sigma of window
--------------------------
---- Feature function ----
--------------------------
Feature function parameters:
- [15] feature bombing : mixture model
- [16] feature norm : feature norm
- [17] feature winfeatcorrel : correlation with centroids
- [18] feature aniso : anisotropy
- [19] feature minNbKernels : min number of kernels
- [20] feature maxNbKernels : max number of kernels
- [21] feature sigcos : sigma of Gabor kernel
- [22] feature sigcosvar : random variation of [21] (sigma of Gabor kernel)
- [23] feature frequency : frequency of stringed Gabor stripes
- [24] feature phaseShift
- [25] feature thickness : thickness of stringed Gabor stripes
- [26] feature curvature : curvature of stringed Gabor stripes
- [27] feature orientation : orientation of stringed Gabor stripes