The Ai Denoiser denoiser can also be run from the command line on frames that have already been rendered to disc .in the condition that the required AOVs are correct
usage: denoise run
Code Block | ||
---|---|---|
| ||
denoise_batch [-h] [-v] [-a ASYMMETRY] [-o OUTPUT] [-cf] [-f] [-j] files [files ...] |
positional arguments:
files |
Input files for the denoiser. Files can be either specified via: |
optional arguments:
-h, | -h, | show this help message and exit |
-v, | --verbose | Verbose output for debugging. |
--include-aovs | Include AOVs in the output image for debugging | |
-a ASYMMETRY, | --asymmetry ASYMMETRY | controls the asymmetry value, 0 is the best quality, and higher values encourage the denoiser to avoid overblurring, leading to weaker denoising. |
-o OUTPUT, | --output OUTPUT | The output directory for the denoised images. The JSON config file(s) will also be written to this directory. If not specified, we write into a subdirectory called "denoised", from the image path. |
-cf, | --crossframe | Do crossframe denoising |
-f, | --flow | Whether to compute optical flow. |
-j, | --json | IfIf provided, use the first input file as the configuration JSON file. All other files and options are ignored. |
--frame-include FRAME_INCLUDE | Includes only the passed frame indices in the denoising job.
| |
--frame-exclude FRAME_EXCLUDE | Excludes the passed frame indices from the denoising job. |
for example :
$RMANTREE/bin/denoise_batch -o /path/to/directory/for/denoised/images imagename.*.exr