Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Ai 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:

Code Block
themeConfluence
denoise run [-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.
-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