The Research and Improvement of Algorithm of 2d Graphics Cropping
- Author
- WangHaoPeng
- Advisor
- ZuoBaiQing
- School
- Xi'an University of Electronic Science and Technology
- Major
- Mechanical Manufacturing and Automation
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 54
- Citations
- 0
Abstract
The next are the outcomes of studying the clipping algorithms.Cohen-Sutherland Line Clipping Algorithm can easily deal with the case that the line is completely inside of the view, or off to the side of the view, and other cases are complexly dealt with operations between line and view several times .The key of improving the algorithm is reducing the times of the Intersecting and Clipping operations. The paper proposed a new improved algorithm. This way could reduce algorithm complexity effectively.Comparing the new algorithm and Cyrus—Beck algorithm,if is sufficiently large,the number of multiplications used by the new algorithm is one third of the one sused by Cyrus—Beck algorithmand the new algorithm for any convex polygons.Hence,the new algorithm is faster than Cyrus—Beck algorithm.An efficient algorithm of line clipping has been proposed.This algorithm avoids a mass of operation of multiplication and division through determinant method of non-intersecting line segments,which can improve the speed of operation greatly.Through the method of coherence which can deal with all kinds of situations roundly and effectively,the line segments clipped can be outputted quickly and accurately.The experimental results prove that this algorithm is more efficient than others in clipping against general polygon recently.It is hard to speed up the line clipping for circular windows due to the complex calculation adopted in the current algorithms.gives an equation, by using t as a parameter about a crossing point between the straight line and window, and calculating crossing point coordinate at last. Taking t value as a judgement we put t into straight line parameter equation, and then can get the coordinate value about the crossing point.
Table of contents
Abstract 3-4
Abstract 4-7
The first chapter 7-18
1.1 computer graphics development process 7
1.2 computer graphics applications 7-11
1.3 computer graphics algorithm development 11
1.4 cropping operation definition 11-13
1.5 Home and Abroad 13-15
1.5.1 point cut 13
1.5.2 rectangular window of linear cut 13
1.5.3 Polygon Window linear cut 13-14
1.5.4 circular window linear cut 14-15
1.5.5 Polygon Polygon Clipping 15
1.6 Significance of this research 15-16
1.7 paper work done 16-18
Chapter rectangular window line clipping 18-27
2.1 Cohen-sutherland algorithm description 18-20
2.2 midpoint split clipping algorithm described 20-21
2.2.1 Algorithm The basic idea 20
2.2.2 algorithm steps 20-21
2.2.3 Algorithm features 21
2.3 Cohen-sutherland line clipping algorithm to improve 21-25
2.3.1 algorithm thought 22
2.3.2 Improved algorithm steps 22
2.3.3 Algorithm part of the code 22-23
2.3.4 cropping results 23-25
2.4 Summary 25-27
Chapter III convex polygon window line clipping 27-35
3.1 Cyrus-Beck algorithm 27-29
3.2 Cyrus-Beck algorithm 29-32
3.2.1 Linear plane split 29-30
3.2.2 Algorithm 30-32
3.2.3 cropping results 32
3.3 The improved algorithm and improve before the algorithm is relatively 32-34
3.4 Summary 34-35
Chapter arbitrary polygon window line clipping algorithm 35-43
4.1 algorithm ideas outlined 35-36
4.2 intersection calculation 36-37
4.3 vertex with the window is clipped segments intersect or overlap with the window border situations will be handled 37-39
4.3.1 clipped line segment intersects the apex of the window 37-38
4.3.2 clipped segments coincide with the boundaries of the window 38-39
4.4 algorithm steps 39
4.5 Algorithm section describes 39-42
4.6 Chapter Summary 42-43
Chapter round and oval window line clipping algorithm 43-51
5.1 circle and line segment intersection operations 43-45
5.2 circular window line segment clipping algorithm improve ideological 45-46
5.3 circular window line segment clipping algorithm steps for improvement 46-47
5.4 oval window linear cut 47-48
5.5 Chapter Summary 48-51
Chapter Summary and Outlook 51-53
6.1 thesis work concluded 51-52
6.2 thesis work prospects 52-53
Thanks 53-55
References 55-59
Related dissertations
- Two-dimensional computer graphics clipping algorithm
- An arbitrary polygon clipping algorithm
- Research on Polygon Clipping Algorithm with Respect to Circle and Ellipse
- The Research on Algorithm for Composite Forest Fire Detection, Recognition and Early Warning
- System Design of Automatic Steel Pipes Group Machine and Research on Algorithm
- The Desigriment and Implementation of Personal Commodity Recommendation System
- Research of Electronic Image Stabilization Algorithm
- Key Research Techniques of Graphic Geometry Processing in Logarithm Domain
- Research and Implementation of Target Correlation Tracking Algorithm Based on FPGA
- Research and Implementation of Mean Shift Object Tracking Algorithm Based on DSP
- Hypermedia Project Production and Personnel Training
- Study on K-means Clustering Algorithm Based on Summarized Information of RTVU Students
- Association Rule Learning Algorithm Based on Extension
- The Paradigm of Architecture and Optimization of Integrating for Data Mining Algorithms and Multi Agent Systems with Business Intelligence
- Clustering Algorithm and Application Based on Combinatorial Optimization
- The Design of Warehouse Management System Based on the Web Services and the Research of Its Zero Storage Technology
- China Mobile’s CRM System Design and Implementation
- Design and Implementation of Physics Engine for Rigid Body and Cloth Simulation in3D Clothing Fitting System
- Study on Logistics Modeling and Optimization Technology of Dyeing Production
- SMS Encryption Research and Application Based on ANDROID