File size: 5,111 Bytes
43c1fe1
70049e7
 
 
 
 
 
 
aed4517
70049e7
 
 
 
 
 
 
 
 
 
 
5de8ed4
aed4517
 
a1bc236
38243f7
 
 
 
aed4517
 
ac8737c
00b0bdb
 
aed4517
 
 
 
 
 
9c830c2
a1bc236
aed4517
a1bc236
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
aed4517
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
00b0bdb
 
ac8737c
00b0bdb
 
 
 
 
 
 
 
 
 
 
 
 
ac8737c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9c830c2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
---
annotations_creators:
- expert-generated
language: []
language_creators: []
license:
- cc-by-nc-4.0
multilinguality: []
pretty_name: 'TD01: Natural Ground Texture Photos'
size_categories:
- n<1K
source_datasets:
- original
tags:
- texture-synthesis
- photography
- non-infringing
task_categories:
- unconditional-image-generation
task_ids: []
viewer: false
---

_The Dataset Teaser is now enabled instead! Isn't this better?_

![preview of all texture sets](https://huggingface.co/datasets/texturedesign/td01_natural-ground-textures/resolve/main/docs/teaser.webp)


# TD 01: Natural Ground Textures

This dataset contains multi-photo texture captures in outdoor nature scenes — all focusing on the ground.  Each set has different photos that showcase texture variety, making them ideal for training a domain-specific image generator!

Overall information about this dataset:

* **Format** — JPEG-XL, lossless RGB
* **Resolution** — 4032 × 2268
* **Device** — mobile camera
* **Technique** — hand-held
* **Orientation** — portrait or landscape
* **Author**: Alex J. Champandard
* **Configurations**: 4K, 2K (default), 1K

To load the medium- and high-resolution images of the dataset, you'll need to install `jxlpy` from [PyPI](https://pypi.org/project/jxlpy/) with `pip install jxlpy`:

```python
# Recommended use, JXL at high-quality.
from jxlpy import JXLImagePlugin
from datasets import load_dataset
d = load_dataset('texturedesign/td01_natural-ground-textures', 'JXL@4K')

print(len(d['train']), len(d['test']))
```

The lowest-resolution images are available as PNG with a regular installation of `pillow`:

```python
# Alternative use, PNG at low-quality.
from datasets import load_dataset
d = load_dataset('texturedesign/td01_natural-ground-textures', 'PNG@1K')

# EXAMPLE: Discard all other sets except Set #1.
dataset = dataset.filter(lambda s: s['set'] == 1)
# EXAMPLE: Only keep images with index 0 and 2.
dataset = dataset.select([0, 2])
```

Use built-in dataset `filter()` and `select()` to narrow down the loaded dataset for training, or to ease with development.


## Set #1: Rock and Gravel

![preview of the files in Set #1](https://huggingface.co/datasets/texturedesign/td01_natural-ground-textures/resolve/main/docs/set01.webp)

* **Description**:
    - surface rocks with gravel and coarse sand
    - strong sunlight from the left, sharp shadows
* **Number of Photos**:
    - 7 train
    - 2 test
* **Edits**:
    - rotated photos to align sunlight
    - removed infrequent objects
* **Size**: 77.8 Mb


## Set #2: Dry Grass with Pine Needles

![preview of the files in Set #2](https://huggingface.co/datasets/texturedesign/td01_natural-ground-textures/resolve/main/docs/set02.webp)

* **Description**:
    - field of dry grass and pine needles
    - sunlight from the top right, some shadows
* **Number of Photos**:
    - 6 train
    - 1 test
* **Edits**:
    - removed dry leaves and large plants
    - removed sticks, rocks and sporadic daisies
* **Size**: 95.2 Mb


## Set #3: Chipped Stones, Broken Leaves and Twiglets

![preview of the files in Set #3](https://huggingface.co/datasets/texturedesign/td01_natural-ground-textures/resolve/main/docs/set03.webp)

* **Description**:
    - autumn path with chipped stones and dry broken leaves
    - diffuse light on a cloudy day, very soft shadows
* **Number of Photos**:
    - 9 train
    - 3 test
* **Edits**:
    - removed anything that looks green, fresh leaves
    - removed long sticks and large/odd stones
* **Size**: 126.9 Mb


## Set #4: Grass Clumps and Cracked Dirt

![preview of the files in Set #4](https://huggingface.co/datasets/texturedesign/td01_natural-ground-textures/resolve/main/docs/set04.webp)

* **Description**:
    - clumps of green grass, clover and patches of cracked dirt
    - diffuse light on cloudy day, shadows under large blades of grass
* **Number of Photos**:
    - 9 train
    - 2 test
* **Edits**:
    - removed dry leaves, sporadic dandelions, and large objects
    - histogram matching for two of the photos so the colors look similar
* **Size**: 126.8 Mb


## Set #5: Dirt, Stones, Rock, Twigs...

![preview of the files in Set #5](https://huggingface.co/datasets/texturedesign/td01_natural-ground-textures/resolve/main/docs/set05.webp)

* **Description**:
    - intricate micro-scene with grey dirt, surface rock, stones, twigs and organic debris
    - diffuse light on cloudy day, soft shadows around the larger objects
* **Number of Photos**:
    - 9 train
    - 3 test
* **Edits**:
    - removed odd objects that felt out-of-distribution
* **Size**: 102.1 Mb


## Set #6: Plants with Flowers on Dry Leaves

![preview of the files in Set #6](https://huggingface.co/datasets/texturedesign/td01_natural-ground-textures/resolve/main/docs/set06.webp)

* **Description**:
    - leafy plants with white flowers on a bed of dry brown leaves
    - soft diffuse light, shaded areas under the plants
* **Number of Photos**:
    - 9 train
    - 2 test
* **Edits**:
    - none yet, inpainting doesn't work well enough
    - would remove long sticks and pieces of wood
* **Size**: 105.1 Mb