学习Shader Program Traces
Learning from Shader Program Traces
摘要:
用于图像处理的深度学习通常将输入图像视为某些颜色空间中的像素。本文提出,而不是从程序片段着色程序的程序痕迹-程序生成图像。在每个像素处,我们收集在程序执行时计算的中间值,这些数据形成学习模型的输入。我们研究了各种应用程序的学习任务:我们的模型可以学习从显示采样噪声的着色器程序中预测低噪声输出图像;该模型还可以从简化的着色器程序中学习,该程序以更少的计算近似参考解决方案,以及学习后处理滤波器的输出,如散焦模糊和边缘感知锐化。最后,我们表明,从程序痕迹学习的想法,甚至可以适用于非图像模拟成群的boids。我们在各种着色器上的实验定量和定性地显示,从程序跟踪中学习的模型优于从RGB颜色中学习的基线模型,这些颜色使用手工挑选的着色器特定功能(如法线,深度,漫反射和镜面反射颜色)进行增强。
英文摘要:
Deep learning for image processing typically treats input imagery as pixels in some color space. This paper proposes instead to learn from program traces of procedural fragment shaders -- programs that generate images. At each pixel, we collect the intermediate values computed at program execution, and these data form the input to the learned model. We investigate this learning task for a variety of applications: our model can learn to predict a low-noise output image from shader programs that exhibit sampling noise; this model can also learn from a simplified shader program that approximates the reference solution with less computation, as well as learn the output of postprocessing filters like defocus blur and edge-aware sharpening. Finally we show that the idea of learning from program traces can even be applied to non-imagery simulations of flocks of boids. Our experiments on a variety of shaders show quantitatively and qualitatively that models learned from program traces outperform baseline models learned from RGB color augmented with hand-picked shader-specific features like normals, depth, and diffuse and specular color.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。