Page tree

Contents

The denoiser can 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_batch [-h] [-v] [-a ASYMMETRY] [-o OUTPUT] [-cf] [-f] [-j] files [files ...]



positional arguments:



filesImage files to be denoised. Can accept a glob as input. Ex: foo.*.exr



optional arguments:




-h,-h,show this help message and exit
-v,--verboseVerbose output for debugging.

--include-aovsInclude AOVs in the output image for debugging
-a ASYMMETRY,--asymmetry ASYMMETRYcontrols the asymmetry value, 0 is the best quality, and higher values encourage the denoiser to avoid overblurring, leading to weaker denoising.
-o OUTPUT,--output OUTPUTThe 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,--crossframeDo crossframe denoising
-f,--flowWhether to compute optical flow.
-j,--json If provided, use the first input file as the configuration JSON file. All other files and options are ignored.


for example :
$RMANTREE/bin/denoise_batch -o /path/to/directory/for/denoised/images imagename.*.exr