计算机科学 ›› 2018, Vol. 45 ›› Issue (11A): 218-221.

• 模式识别与图像处理 • 上一篇    下一篇

一种后处理式的改进抗锯齿算法

邵鹏1, 周伟1, 李光泉1, 吴志健2   

  1. 江西农业大学计算机与信息工程学院 南昌3300451
    武汉大学计算机学院 武汉4300722
  • 出版日期:2019-02-26 发布日期:2019-02-26
  • 通讯作者: 邵 鹏(1983-),男,博士,讲师,主要研究方向为智能计算、图像处理,E-mail:sp198310@163.com
  • 作者简介:周 伟(1998-),男,主要研究方向为图像处理。
  • 基金资助:
    本文受国家自然科学基金(70971043,61763019),江西省教育厅科技项目(GJJ160409,GJJ161076)资助。

Improved Anti-aliasing Algorithm Based on Deferred Shading

SHAO Peng1, ZHOU Wei1, LI Guang-quan1, WU Zhi-jian2   

  1. School of Computer and Information Engineering,Jiangxi Agricultural University,Nanchang 330045,China1
    School of Computer,Wuhan University,Wuhan 430072,China2
  • Online:2019-02-26 Published:2019-02-26

摘要: FXAA算法是一种后处理式的抗锯齿算法,由于它是基于图像像素的边缘检测算法,在很多情况下边缘检测的不准确会造成许多不必要的抗锯齿计算,导致图像过度模糊。为了提高抗锯齿的性能,提出了一种基于FXAA算法的改进抗锯齿算法(IAAFXAA)。该算法将相对视点的深度和法线保存到纹理中,当使用深度和法线信息时从G-buffer中提取。该算法能利用深度、法线信息进行较为精确的边缘检测。大量的实验结果与分析表明,该算法在保证抗锯齿效果的同时,能更加精确地确定抗锯齿区域,生成高质量的边界,避免图像的过度模糊,提升图像质量。

关键词: G-Buffer, 边缘检测, 抗锯齿, 延迟渲染

Abstract: FXAA is a post-processing anti-aliasing algorithm.Because it is an edge detection algorithm based on image pixel,it causes a lot of unnecessary anti-aliasing computation.In order to improve the performance of anti-aliasing,an improved anti-aliasing algorithm based on FXAA (IAAFXAA) was proposed.The depth and normal of the relative view are saved into the texture.The algorithm extracts depth and normal information from G-buffer,and uses depth and normal information to perform more accurate edge detection.A large number of experimental results and analysis show that while ensuring the good anti-aliasing effect,the proposed algorithm can determine the anti-aliasing region more accurately to generate high-quality boundaries,and avoid excessive blurring of images to improve image quality.

Key words: Anti-aliasing, Deferred rendering, Edge detection, G-Buffer

中图分类号: 

  • TP301
[1]杜文俊.基于几何的实时绘制反走样[D].杭州:浙江大学,2015.
[2]吴玉培,王斌.基于GPU的实时抗锯齿算法[J].现代计算机,2016(3):54-57.
[3]王栋,刘文波.基于变混合系数的自适应抗锯齿视频叠加算法[J].电子测量技术,2013,36(12):20-24.
[4]黄炳,陈俊丽,万旺根,等.飞行视景仿真系统研究与实现[J].计算机仿真,2009,26(11):235-238.
[5]BAVOIL L,SAINZ M,DIMITROV R.Image-space horizon-based ambient occlusion[C]∥Proceeding SIGGRAPH’08 ACM SIGGRAPH.ACM,2008.
[6]COOK R L,CARPENTER L,CATMULL E.The Reyes image rendering architecture[C]∥Conference on Computer Graphics and Interactive Techniques.ACM,1987:95-102.
[7]王斌,吴玉培,吴志红.基于SRAA延迟渲染抗锯齿[J].四川大学学报(自然科学版),2015,52(6):1230-1236.
[8]罗德宁,张建伟.基于延迟着色技术的大场景反走样渲染架构设计[J].四川大学学报(工程科学版),2017,49(4):158-166.
[9]PHARR M,FERNANDO R.GPU Gems 2:Programming Techniques for High-Performance Graphics and General-Purpose Computation (Gpu Gems) [M].Addison-Wesley Professional,2005:143-166.
[10]佚名.FXAA如此这般[J].电脑迷,2012(2):51-51.
[11]FUCHS H,GOLDFEATHER J,HULTQUIST J P,et al.Fast spheres,shadows,textures,transparencies,and imgage enhancements in pixel-planes[J].Acm Siggraph Computer Graphics,1985,19(3):111-120.
[12]MAMMEN A.Transparency and Antialiasing Algorithms Implemented with the Virtual Pixel Maps Technique [J].IEEE Computer Graphics and Applications,1989,9(4):43-55.
[13]AKELEY K.Reality Engine graphics[C]∥Conference on Computer Graphics and Interactive Techniques,SIGGRAPH.DBLP,1993:109-116.
[14]GÁBOR L,DACHSBACHER C.Decoupled deferred shading for hardware rasterization[C]∥Proceedings of the ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games.ACM,2012:143-150.
[15]LOTTCS T.FXAA[R].Nvidia Corporation,2011.
[16]章慧,陈宏明.融合SUSAN算法和Robert算法的图像边缘检测滤波处理技术[J].计算机科学,2013,40(3):302-304.
[1] 程成, 降爱莲.
基于多路径特征提取的实时语义分割方法
Real-time Semantic Segmentation Method Based on Multi-path Feature Extraction
计算机科学, 2022, 49(7): 120-126. https://doi.org/10.11896/jsjkx.210500157
[2] 宋昱, 孙文赟.
改进非线性结构张量的含噪图像边缘检测
Edge Detection in Images Corrupted with Noise Based on Improved Nonlinear Structure Tensor
计算机科学, 2021, 48(6): 138-144. https://doi.org/10.11896/jsjkx.200600017
[3] 朱戎, 叶宽, 杨博, 谢欢, 赵蕾.
基于改进DeeplabV3+的地物分类方法研究
Feature Classification Method Based on Improved DeeplabV3+
计算机科学, 2021, 48(11A): 382-385. https://doi.org/10.11896/jsjkx.201100184
[4] 刘俊琦, 李智, 张学阳.
基于视觉显著性的海面船只候选区域检测方法
Candidate Region Detection Method for Maritime Ship Based on Visual Saliency
计算机科学, 2020, 47(6A): 237-241. https://doi.org/10.11896/JsJkx.191000196
[5] 周岳勇,程江华,刘通,王洋,陈明辉.
高分辨率SAR图像道路提取综述
Review of Road Extraction for High-resolution SAR Images
计算机科学, 2020, 47(1): 124-135. https://doi.org/10.11896/jsjkx.190100033
[6] 霍星, 费志伟, 赵峰, 邵堃.
深度学习在驾驶员安全带检测中的应用
Application of Deep Learning in Driver’s Safety Belt Detection
计算机科学, 2019, 46(6A): 182-187.
[7] 王亚鸽, 康晓东, 郭军, 洪睿, 李博, 张秀芳.
一种联合Canny边缘检测和SPIHT的图像压缩方法
Image Compression Method Combining Canny Edge Detection and SPIHT
计算机科学, 2019, 46(6A): 222-225.
[8] 王智慧, 李佳桐, 谢斯言, 周佳, 李豪杰, 樊鑫.
两阶段的视频字幕检测和提取算法
Two-stage Method for Video Caption Detection and Extraction
计算机科学, 2018, 45(8): 50-53. https://doi.org/10.11896/j.issn.1002-137X.2018.08.009
[9] 周建,徐海芹.
一种基于核密度估计的图像边缘检测方法
Image Edge Detection Method Based on Kernel Density Estimation
计算机科学, 2018, 45(6A): 239-241.
[10] 李姗姗,陈莉,张永新,袁娅婷.
基于RPCA的图像模糊边缘检测算法
Fuzzy Edge Detection Algorithm Based on RPCA
计算机科学, 2018, 45(5): 273-279. https://doi.org/10.11896/j.issn.1002-137X.2018.05.047
[11] 余小庆, 陈仁文, 唐杰, 许锦婷.
融合小波变换和新形态学的含噪图像边缘检测
Edge Detection for Noisy Image Based on Wavelet Transform and New Mathematical Morphology
计算机科学, 2018, 45(11A): 194-197.
[12] 张秀峰, 王娟, 丁强.
智能钢轨磨耗检测方法的研究
Research on Intelligent Detection Method of Steel Rail Abrasion
计算机科学, 2018, 45(11A): 274-277.
[13] 瞿中, 鞠芳蓉, 陈思琪.
结构森林边缘检测与渗流模型相结合的混凝土表面裂缝检测
Concrete Surface Cracks Detection Combining Structured Forest Edge Detection and Percolation Model
计算机科学, 2018, 45(11): 288-291. https://doi.org/10.11896/j.issn.1002-137X.2018.11.046
[14] 吴静, 杨武年, 桑强.
基于生物视觉特征的目标轮廓提取算法
Object Contour Extraction Algorithm Based on Biological Visual Feature
计算机科学, 2018, 45(10): 281-285. https://doi.org/10.11896/j.issn.1002-137X.2018.10.052
[15] 张治国,郑茜,兰京川.
基于插值小波塔式分解算法的图像边缘检测
Image Edge Detection Based on Pyramidal Algorithm of Interpolation Wavelet
计算机科学, 2017, 44(Z6): 164-168. https://doi.org/10.11896/j.issn.1002-137X.2017.6A.038
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!