Docsity
Docsity

Prepara tus exámenes
Prepara tus exámenes

Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity


Consigue puntos base para descargar
Consigue puntos base para descargar

Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium


Orientación Universidad
Orientación Universidad


Efficient Line Clipping Algorithm for Circular Windows using Vector Calculus and Paralleli, Resúmenes de Cálculo para Ingenierios

An efficient algorithm for clipping line segments against circular windows using vector calculus and parallelization techniques. The algorithm is based on the liang-barsky algorithm and utilizes the equation of the circle and vector calculus to optimize the computations. The use of parallelization further improves the time complexity, making it extremely fast for the common case of line segments lying entirely on the circle with both endpoints outside. The article provides a detailed step-by-step explanation, including the derivation of the necessary inequalities and the integration of the tangential square as a clipping window. The proposed method is shown to produce the same results as other line clipping algorithms against circular windows, while offering significant performance improvements.

Tipo: Resúmenes

2021/2022

Subido el 29/10/2022

yeison-la-rotta
yeison-la-rotta 🇨🇴

1 documento

1 / 3

Toggle sidebar

Esta página no es visible en la vista previa

¡No te pierdas las partes importantes!

bg1
AN EFFICIENT LINE CLIPPING ALGORITHM FOR CIRCULAR WINDOWS
USING VECTOR CALCULUS AND PARALLELIZATION
With the advent of digitization and the increasing abundance of graphics and image
processing tools, the use cases for cropping using circular windows have grown considerably.
This article presents an efficient clipping algorithm for line segments using circular and
vector calculus geometric features. Based on research with rectangular windows, this method
is proposed in the belief that calculations are more expensive (heavy) than other calculations.
Execution time can be drastically improved if we replace expensive computations with
cheaper computations. Cheaper computations can be computed even more efficiently using
parallelization, which improves time complexity. To develop the algorithm, the primitives
are used, first using the equation of the circle and parameterizing it, then the Liang-Barsky
algorithm was selected as the base algorithm, because this is one of the best algorithms in
terms of efficiency and implementation, 4 inequalities were found and then entered into the
algorithm. The tangential square acts as a clipping window for the Liang-Barsky algorithm.
The choice of LiangBarsky was made because it is one of the most efficient line trimming
algorithms also in terms of implementation. A point on the line segment is in the clipping
window itself.
The use of vector calculus occurs because the circle is at the origin and is crossed by a line
segment, so this calculation allows us to travel the distance and find the intersection points.
Parallelization of computation from the end point using multiple threads, this algorithm only
needed two threads based on the start points, each process produces a new point then the
process repeats until the end points are inside the circle. The interesting thing about this
article is that a new algorithm based on other algorithms using another method, and in the
end, it turned out to have Good results where the lines that are created have their endpoints
outside the circle and proceed to a parameterization combination. The ends would be outside
the circle if the result in both cases is 2 0, which is why we can say that there are 2
possibilities, that the line is also outside the square or is outside the circle, but inside the
square. In the first case we use the Liang Barsky algorithm, but for the second case a
perpendicular line must be drawn that goes from the center of the circle to the end line. From
the present article we could conclude that the proposed algorithm produces exactly the same
pf3

Vista previa parcial del texto

¡Descarga Efficient Line Clipping Algorithm for Circular Windows using Vector Calculus and Paralleli y más Resúmenes en PDF de Cálculo para Ingenierios solo en Docsity!

AN EFFICIENT LINE CLIPPING ALGORITHM FOR CIRCULAR WINDOWS

USING VECTOR CALCULUS AND PARALLELIZATION

With the advent of digitization and the increasing abundance of graphics and image processing tools, the use cases for cropping using circular windows have grown considerably. This article presents an efficient clipping algorithm for line segments using circular and vector calculus geometric features. Based on research with rectangular windows, this method is proposed in the belief that calculations are more expensive (heavy) than other calculations. Execution time can be drastically improved if we replace expensive computations with cheaper computations. Cheaper computations can be computed even more efficiently using parallelization, which improves time complexity. To develop the algorithm, the primitives are used, first using the equation of the circle and parameterizing it, then the Liang-Barsky algorithm was selected as the base algorithm, because this is one of the best algorithms in terms of efficiency and implementation, 4 inequalities were found and then entered into the algorithm. The tangential square acts as a clipping window for the Liang-Barsky algorithm. The choice of LiangBarsky was made because it is one of the most efficient line trimming algorithms also in terms of implementation. A point on the line segment is in the clipping window itself. The use of vector calculus occurs because the circle is at the origin and is crossed by a line segment, so this calculation allows us to travel the distance and find the intersection points. Parallelization of computation from the end point using multiple threads, this algorithm only needed two threads based on the start points, each process produces a new point then the process repeats until the end points are inside the circle. The interesting thing about this article is that a new algorithm based on other algorithms using another method, and in the end, it turned out to have Good results where the lines that are created have their endpoints outside the circle and proceed to a parameterization combination. The ends would be outside the circle if the result in both cases is 2 0, which is why we can say that there are 2 possibilities, that the line is also outside the square or is outside the circle, but inside the square. In the first case we use the Liang Barsky algorithm, but for the second case a perpendicular line must be drawn that goes from the center of the circle to the end line. From the present article we could conclude that the proposed algorithm produces exactly the same

results as with any other line clipping algorithms against circular windows. Furthermore this document provides an efficient method to clip line segments against circular windows using modern parallel processors and the proposed method is extremely fast for the usual case of line segment lying entirely on the circle having both endpoints outside the circle, taking just a constant time for execution. Combined with Parallelization, the execution time becomes half of the original. OPINIONS Opinión 1 This article is very intelligent since they let us know the progress that has been created between technology and mathematics that serves us as a tool and on the other hand it is very interesting and satisfying, you know that a group of people meet to study these new projects that brings different functions and algorithms also in this article gives us step by step how it works and the process to reach a result thanks to this we can see the great things that can be achieved knowing how to use different functions sometimes we do not even understand we know all the functions of the calculations but it is a matter of logic and creativity and with this we can create many useful tools for everyday life or for use in classrooms. Opinión 2 This article is very striking since we can see how important the use of vector calculation is and also how it is used for many things and different uses, as in this case, it allows algorithms to be made. Circular cutouts and of different shapes, in addition, the same geometric figures are not always used, but sometimes it can be varied by more static and that in addition. Be an efficient tool for the good service of the person, The process of creating logarithms is interesting to see that in the correct way and the good use of Vectorial calculation one can save a lot of time the creation and execution of a job having. Good results that satisfy the client since they are very optimal and efficient. Opinión 3 This article is very complete since it is evident that the people who worked on it know a lot about the subject, for people like us who read it and until now we have basics on the calculation, it is very interesting since the explanation is very well distracted step by step