Skip to content

luspi/NvidiaAIDenoiser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NVidia AI Denoier command line tool

This is a simple implementation of NVidia AI denoiser. You can find a pre-built windows distribution on my website here. To build you will need to download optix 5.+ and copy over the following to contrib/optix/bin as they were too big for the repo,

  • optix.1.dll
  • optix_denoiser.dll
  • cudnn64_7.dll
  • cudart64_90.dll

These libraries will also need to be copied to the bin directory or add them to your path to run the app. The scons build will copy the required dlls from the contrib to the bin for you. You may also need to update your driver as I did.

Usage

Command line parameters

  • -i [string] : path to input image
  • -o [string] : path to output image
  • -a [string] : path to input albedo AOV
  • -n [string] : path to input normal AOV
  • -b [float] : blend amount
  • -h/--help : Lists command line parameters

You need to at least have an input and output for the app to run. If you also have them, you can add an albedo AOV or albedo and normal AOVs to improve the denoising. All images should be the same resolutions, not meeting this requirement will lead to unexpected results (likely a crash).

Examples

Noisy image

test

Denoised output

denoise_test

Licence info

This has no licence, do whatever you want with it just don't sue me if it breaks something!

Known issues

So DevIL seems to have a issue with saving float RGBA images as PNGs so unfortunately in the current version you will not be able to save as PNG.

About

A simple implementation of Nvidia's AI denoiser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 56.0%
  • C++ 43.9%
  • Other 0.1%