You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples_tests/39.DenoiserTonemapper/CommandLineHandler.hpp
+24-23Lines changed: 24 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ Mandatory parameters:
36
36
-CAMERA_TRANSFORM=mitsubaFilePath or val1,val2,val3,...,val9
37
37
-DENOISER_EXPOSURE_BIAS=value
38
38
-DENOISER_BLEND_FACTOR=value
39
-
-BLOOM_FOV=theta
39
+
-BLOOM_SCALE=theta
40
40
-TONEMAPPER=tonemapper=keyValue,extraParameter
41
41
-OUTPUT=file.choosenextension
42
42
Optional Parameters:
@@ -48,14 +48,14 @@ Optional Parameters:
48
48
-BLOOM_PSF_FILE=psfFilePath
49
49
50
50
Note there mustn't be any space characters!
51
-
All file's resolutions must match!
51
+
All files' (except the bloom kernel) resolutions must match!
52
52
Also you must not put another data like comments or behaviour will be undefined, the app'll crash (TODO: not crash on parse failure)
53
53
54
54
Description and usage:
55
55
56
-
COLOR_FILE: File containing color image data, it's required to run within.
57
-
ALBEDO_FILE: File containing albedo image data, it is not required to run within.
58
-
NORMAL_FILE: File containing normal image data, it is not required to run within, but it can only be specified if ALBEDO_FILE has been specified.
56
+
COLOR_FILE: File containing color image data, it's required to run with.
57
+
ALBEDO_FILE: File containing albedo image data, it is not required to run.
58
+
NORMAL_FILE: File containing normal image data, it is not required to run, but it can only be specified if ALBEDO_FILE has been specified.
59
59
60
60
COLOR_CHANNEL_NAME: Channel name for multilayered EXR images, a layer with most matching name will be chosen (one that contains the channel name as a substring at the earliest position).
61
61
ALBEDO_CHANNEL_NAME: Channel name for multilayered EXR images, a layer with most matching name will be chosen (one that contains the channel name as a substring at the earliest position). It can only be specified if ALBEDO_FILE has been specified.
@@ -73,9 +73,9 @@ you should use the Tonemapping Operator's Key Value.
73
73
74
74
DENOISER_BLEND_FACTOR: denoiser blend factor, 0.0 is full denoise, 1.0 is no denoise.
75
75
76
-
BLOOM_FOV: Field of View of the image, its used to scale the size of the Bloom's light-flares (point spread function) to match the Camera's projection.
77
-
If you don't want bloom then either provide a PSF image the size of the input image with a single bright pixel, or set the FoV to negative or NaN.
78
-
Please note that the Bloom is not implemented yet, so the value is ignored (forced to NaN).
76
+
BLOOM_SCALE: Must not be negative or greater than 1. The scale relative to the kernel being placed at the center of the denoised image and isotropically stretched until it touches one of the sides of the denoised image.
77
+
You'll usually want to keep this value below 1/32
78
+
If you don't want bloom then either provide a PSF image which is a single white pixel, or set bloom scale to a very small non negative value.
79
79
80
80
TONEMAPPER: tonemapper - choose between "REINHARD", "ACES" and "NONE". After specifying it you have to pass arguments to revelant tonemapper,
81
81
the first argument is always the Key Value, a good default is 0.18 like the Reinhard paper's default.
@@ -100,15 +100,16 @@ while "NONE looks like:
100
100
-TONEMAPPER=NONE=AutoexposureOff
101
101
102
102
OUTPUT: output file with specified extension
103
-
BLOOM_PSF_FILE: A EXR file with a HDR sprite corresponding to the Point Spread Function you want to convolve the image with,
104
-
if this file is not provided then we use a built-in PSF as the kernel for the convolution.
103
+
BLOOM_PSF_FILE: A EXR file with a HDR sprite corresponding to the Point Spread Function you want to convolve the image with.
104
+
The kernel must be centered and in RGB or RGBA floating point format. Resolution should be less than the denoised image.
105
+
If this file is not provided then we use a built-in PSF as the kernel for the convolution.
0 commit comments