Closed yurivict closed 2 years ago
Hello, I've the same problem: which option ?
Any option. It seems that the command was invoked with incorrect syntax but it's hard to say without knowing the exact command line.
The help screen does specify how to supply an image though (highlighted in bold):
./oidnDenoise -h Intel(R) Open Image Denoise usage: oidnDenoise [-d/--device default|cpu] [-f/--filter RT|RTLightmap] [--hdr color.pfm] [--ldr color.pfm] [--srgb] [--dir directional.pfm] [--alb albedo.pfm] [--nrm normal.pfm] [--clean_aux] [--is/--input_scale value] [-o/--output output.pfm] [-r/--ref reference_output.pfm] [-t/--type float|half] [-w/--weights weights.tza] [--threads n] [--affinity 0|1] [--maxmem MB] [--inplace] [--bench ntimes] [-v/--verbose 0-3] [-h/--help]
Please, how to specify input file as the demo (jpg file) ?
oidnDenoise.exe -i 1.png -o t.png
Error: invalid argument
@atafra Is there an example how to run oidnDenoise on a png image to produce a denoised png image?
./oidnDenoise -ldr input.png -o output.png
But you need to rebuild with OpenImageIO support to have PNG support.
Help screen isn't helpful (it doesn't even mention how to supply an image), and when run it always says:
The error message should specify what option is meant.