Line Drawing Algorithm for GPU Base on NPR

Author
YuanJian
Advisor
ChenZeLin , XieMing
School
South China University of Technology
Major
Software Engineering
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2012
Downloads
19
Citations
0

Request the full text

Abstract

Non-Photorealistic-Rendering is one of the most important branches of Graphics. Afterdevelopment more than a decade, it has become the key technology in industry. Nowadays,the research for NPR is focused on Application, and become more specific. For any NPRsystem, it has a base step, which is called lines exaction, because lines are the raw materialsfor NPR system. The problem all NPR system facing is that we cannot get speed and accuracyat the same time. Especially for some applications which need accuracy, we have to give upspeed.This page is focused on two kinds of lines, suggestive contour and silhouette. Silhouetteis used for drawing outline while the suggestive contour is good at expressing inner featuresof the model.This page has implemented line exaction first of all, because line is the base element forNPR system. I use TriMesh to read the ply file and calculate the normal、curvature、derivate ofcurvature. And then go through the faces to find the lines I want according to the formula.After exacting the lines, I draw the lines as strokes. Extending the points in their normaldirection, I get some quadrilaterals. And then, I use texture to put color on the quadrilateralsand get the stroke effect.Taking into account that the algorithm for extracting lines has natural parallelism and thepowerful GPU, implementing the algorithm on GPU can improve the efficiency of the systemat once. This page will show you how to divide the NPR system in two parts, preprocessingpart and dynamic calculation part. I preprocess some data using CPU, and then calculate therest in GPU dynamically.

Table of contents

Summary 5-6 Abstract 6-9 first chapter 9-14 1.1 Background 9-11 < meaning br /> 1.2 research 11 1.3 research and innovation 11-12 1.4 dissertation organizations and arrangements 12-14 the second chapter topics in accordance with the current development NPR 14-19 Status 2.1 NPR development 14-15 2.2 suggestive contours 15-16 <br / > 2.3 stylized strokes 16-17 2.4 GPU development status 17-18 2.5 Summary 18-19 Chapter III NPR lines knowledge and mathematical principles 19-26 3.1 T algorithm 19-22 3.1.1 algorithm Description 19-21 3.1.2 algorithm 21-22 3.1.3 algorithm Analysis 22 3.2 curvature derivative 22-24 3.3 surface smoothing 24 -25 3.4 Summary 25-26 Chapter IV lines NPR extraction algorithm 26-40 4.1 NPR lines introduced 26 - 29 4.1.1 line concepts 26 4.1.2 background contours 26-27 4.1.3 suggestive contours 27 - 29 4.2 implementation tools 29-30 4.2.1 TriMesh2 29-30 4.2.2 PLY 30 4.3 lines drawn achieve draw 30-36 4.3.1 background contours 30-33 draw 4.3.2 suggestive contours 33 4.3 .3 visibility 33-35 4.3.4 suggestive contour improvement 35 4.3.5 suggestive contours fade 35-36 4.4 NPR strokes drawn 36-38 4.5 Summary 38-40 Chapter GPU algorithms to achieve 40-54 5.1 GLSL and environmental structures 40-43 5.2 data transfer transfer 43-47 5.2.1 point property 43-45 5.2 .2 uniform variable transmission 45-47 5.3 algorithm implementation 47-50 5.3.1 vertex shader 47-49 5.3. 2 geometry shader program 49-50 5.3.3 fragment shader program 50 5.4 results 50-53 5.4.1 experimental environment 50 5.4.2 performance Comparison 50-52 5.4.3 conformance test 52-53 5.5 Summary 53 - 54 Chapter VI summary and Outlook 54-56 References 56-58 Thanks 58-59 accessories 59

Related dissertations

  1. Non-photorealistic Rendering Techniques Based on Silhouette
    JiangBaoJi ·Liaoning Normal University ·2013 ·Master's thesis
  2. The Application of GPU Acceleration in Digital Image Processing
    CaiZuo ·Anhui University ·2014 ·Master's thesis
  3. The Research and Application of Multi Planar Reconstruction Based on OpenGL in Visual Medical Image System
    WangTingBo ·Zhejiang Sci-Tech University ·2012 ·Master's thesis
  4. Fast Drawing of Seismic Data Graphics Based on GPU
  5. Software Design of a Certain Experience Platform Multi-parameter Monitoring System
    BaiZuoZuo ·University of North ·2014 ·Master's thesis
  6. Research and Design for the Simulator and Offline-programme System of Transfer Robot Based on OPENGL
  7. Research of Efficient Computing Method on GPU-based LS-SVM
    BaoWenLei ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Research on Key Technologies of Network Traffic Analysis and System Implementation
  9. A Study of GPU-based Parallel Learning to Rank
    FanXiXian ·Harbin Institute of Technology ·2012 ·Master's thesis
  10. Optimization of CUDA-based Parallel SOM Algorithm and Its Application
    ZhangJinChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  11. Research on GPU General Computing on Text Classification
    LiZhiLong ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  12. A Professional Technology Institute Virtual Design and Realization of the System
  13. Particle Systems’ Applied and Achieved in the Virtual Environment
  14. Research on GPU-based Flame Effects Technology
    DongChengChen ·Harbin Engineering University ·2013 ·Master's thesis
  15. Design and Implement of Visual Simulation System Based on OpenGL for Rehabilitation Training
  16. The Control Based on the Brain Computer Interface and Research of Virtual Scene Application
    ZhangZuoLin ·Harbin Engineering University ·2013 ·Master's thesis
  17. Natural Landscape Simulation Research Based on Particle System
  18. Research on Fast Method for Triangular Mesh Recnostruction
  19. Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
    XiaoZuo ·Northeastern University ·2011 ·Master's thesis
  20. Research on Multimodal Visualization of Heart
    ShenFangZhou ·Harbin Institute of Technology ·2012 ·Master's thesis