Sample Test Format v1#
Note
This is the documentation of our on-disk storage format for per-sample test datasets. If you are looking to export Noisebase-compatible data from your renderer or write a Noisebase-compatible data loader for your framework, you’re in the right place.
If you want to use a dataset, our corresponding data loader manual should be more helpful. If you are looking for datasets using the format, check out our datasets page.
Follows almost the same format as our training data, except that we store one frame per zip file for test sequences. In practice, each array is missing the F
dimension but is otherwise the same.
Supported loaders#
Pytorch:
noisebase.loaders.torch.TestSampleLoader_v1
Default format definition is in conf/noisebase/format/test_sample_v1.yaml
.
A YAML file describing a dataset using the format needs to give the following source parameters and directories:
src:
samples: 8
rendering_height: 1080
rendering_width: 1920
files: sampleset_v1/test8/{sequence_name}/frame{index:04d}.zip
sequences:
- name: bistro1
frames: 160
- name: bistro2
frames: 160
# and so on
name: "Sample Set v1 - Test8 Dataset"
# Where denoised images should be saved
# relative to the provided `save_dir`
output: test8/{sequence_name}/frame{index:04d}.png
# Where reference images should be saved
# relative to the data directory
reference: sampleset_v1/ref/test8/{sequence_name}/frame{index:04d}.png
# Where computed metrics should be saved
# relative to the provided `save_dir`
metrics: test8/{sequence_name}.json
# Optionally skip the first few frames during metric computations
# to let the temporal buffer fill up
warmup: 16
Check conf/noisebase/sampleset_test8_v1.yaml
for an example.
Radiance#
Key |
Description |
Dimensions |
DType |
---|---|---|---|
|
RGBE encoded sample radiance |
|
|
|
Minimum and maximum exposure per frame |
|
|
|
Clean radiance |
|
|
Sample geometry#
Key |
Description |
Dimensions |
DType |
---|---|---|---|
|
Sample position in world-space |
|
|
|
Change of world-space sample position |
|
|
|
Sample normal in world-space |
|
|
|
Diffuse colour of the sample’s material |
|
|
Camera data#
Key |
Description |
Dimensions |
DType |
---|---|---|---|
|
Position of the camera in world-space |
|
|
|
A point in world-space in the center |
|
|
|
Vector in world-space that points straight |
|
|
|
Matrix mapping from world-space to screen-space |
|
|
|
Matrix mapping from camera-space to screen-space |
|
|
|
Offset of the image crop from |
|
|