Abstract
Introduction. One of the directions associated with identification, analysis of the shape of objects, their size, orientation, marking and other geometric characteristics is contour analysis. Various methods for contour approximation are described in the literature. The proposed method is based on a well-known method. Its essence lies in the sequential search for possible directions and end points of approximating straight line segments belonging to the contour. The number of approximation nodes should be as small as possible. The calculation is carried out only for the next point of the contour, without returning to check the criterion of approximation to all previous points. The computational complexity of the algorithm is proportional to the number of points in the contour. The purpose of the paper to propose a method of piecewise linear approximation of the contours of objects in images, which will allow to use the parallel computations at all stages of computer processing using vector operations. Results. The paper proposes an improved method for piecewise linear approximation of a closed contour of an object in an image by a polygon, the vertices of which are directly the points of this contour. Approximation criterion: the distance from each point of the approximated section of the contour to the approximating segment should not exceed the approximation error. The method is focused on parallel computing using vector operations. A method for parallel computation of integral vectors of extreme values of a sequence of numbers for the implementation of parallel computations using vector operations at all stages of approximation is also proposed. Conclusions. Methods are proposed that are implemented using vector operations and provide an opportunity to speed up the solution of contour analysis problems, as well as other similar problems in real time. The gain in computing speed is proportional to the amount of data that a vector processor can simultaneously process. The presence of developed subsystems of vector instructions in Intel and ARM processors makes it possible to use the proposed computation methods in practice. Keywords: image, object contour, piecewise linear approximation, parallel computations, vector operations.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.