Intel OpenImageDenoise VS Nvidia Optix 降噪结果对比

 

 说明:原始图像(Raytracing的直接输出结果,每一幅的左图)为PPM格式,

一、OIDN

按照官方文档提示,先用ImageMagick转换成pfm格式,再将其作为oidn的输入,输出亦为pfm。

magick convert inOneWeekend.ppm -endian LSB PFM:inOneWeekend.pfm

 

K:\progworks\raytracing\intel\oneapi\samples\04_oidn_gsg\build\
Release>.\oidnDenoise.exe -hdr inOneWeekend.pfm -o denoise.pfm

输出结果为每一幅的右下图。

二、Optix

Optix 不支持ppm作为输入,

pfm作为输入时:

会提示有通道信息缺失,转换可能会有损失。

K:\progworks\raytracing\intel\oneapi\samples\04_oidn_gsg\build\Release>imgtool denoise-optix inOneWeekend.pfm --outfile inOneWeekend_denoise_optix.exr
Warning: inOneWeekend.pfm: image doesn't have Albedo.{R,G,B} channels. Denoising quality may suffer.
Warning: inOneWeekend.pfm: image doesn't have Nsx, Nsy, Nsz channels. Denoising quality may suffer.

后又尝试先转为exr格式 ,

https://convertio.co/zh/ppm-exr/

再进行降噪,输出为exr格式。

会出现同样的提示:

K:\progworks\raytracing\intel\oneapi\samples\04_oidn_gsg\build\Release>imgtool denoise-optix inOneWeekend_convertio.co.exr --outfile inOneWeekend_denoise_optix2.exr
Warning: inOneWeekend_convertio.co.exr: image doesn't have Albedo.{R,G,B} channels. Denoising quality may suffer.
Warning: inOneWeekend_convertio.co.exr: image doesn't have Nsx, Nsy, Nsz channels. Denoising quality may suffer.

输出结果为每一幅的右上图。

参考链接:

Build and Run Sample Projects Using the Visual Studio* Command Line...


 

GitHub - mmp/pbrt-v4: Source code to pbrt, the ray tracer described in the forthcoming 4th edition of the "Physically Based Rendering: From Theory to Implementation" book.

你可能感兴趣的:(图形学,算法,降噪,光线追踪,raytracing)