Intel OpenImageDenoise VS Nvidia Optix 降噪结果对比
生活随笔
收集整理的這篇文章主要介紹了
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.
總結
以上是生活随笔為你收集整理的Intel OpenImageDenoise VS Nvidia Optix 降噪结果对比的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 编写手机脚本入门篇 1---adb
- 下一篇: 国教考试—英国历史