Submitted:
11 December 2023
Posted:
13 December 2023
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Related Work
- The problem of better fitting, where the approximation error is minimized or the fitting accuracy is maximized given the number of vertices N.
- The problem of minimum number of vertices, where the approximation error or the fitting accuracy is bounded and the goal is to find the minimum number of vertices that satisfy the given bound.
- Boundary based metrics that compares the distance between the boundary of given shape and the approximated curve. Some of the most most metrics are the root mean square error () between the two curves and the maximum error between the boundary S and their corresponding subcurves of P. These metrics have the advantage that can also be applied on given curves (non closed contours) but are sensitive to boundary noise [1,7].
- Region based metrics that compares the region of the approximated shape and the given shape. Region-based metrics are more tolerant to noise since they do not restrict themselves to the boundaries of shapes but rather take into account all shape points [12]. Common metrics of this category are the Intersection over Union (IoU) and the Dice coefficient (DICE), which is defined by twice the area of the shapes’ intersection divided by the sum of the areas of each shape. Both of them have been also used to measure the performance of image segmentation methods [16].
3. Unconstrained Polygonal Fitting
3.1. Problem Formulation
3.2. Equal Area Principle
3.3. UPF-PSO Algorithm
4. Experimental Evaluation
5. Conclusions
Author Contributions
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Panagiotakis, C.; Tziritas, G. Any dimension polygonal approximation based on equal errors principle. Pattern recognition letters 2007, 28, 582–591. [CrossRef]
- Panagiotakis, C.; Doulamis, A.; Tziritas, G. Equivalent key frames selection based on iso-content principles. IEEE Transactions on circuits and systems for video technology 2009, 19, 447–451.
- Kyriazis, N.; Argyros, A. Scalable 3D Tracking of Multiple Interacting Objects. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2013, pp. 3430–3437.
- Li, M.; Lafarge, F.; Marlet, R. Approximating shapes in images with low-complexity polygons. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2020, pp. 8633–8641.
- Douglas, D.H.; Peucker, T.K. Algorithms for the reduction of the number of points required to represent a digitized line or its caricature. Cartographica: the international journal for geographic information and geovisualization 1973, 10, 112–122. [CrossRef]
- Kennedy, J.; Eberhart, R. Particle swarm optimization. Proceedings of ICNN’95-international conference on neural networks. IEEE, 1995, Vol. 4, pp. 1942–1948.
- Fernández-García, N.L.; Martínez, L.D.M.; Carmona-Poyato, Á.; Madrid-Cuevas, F.J.; Medina-Carnicer, R. Assessing polygonal approximations: A new measurement and a comparative study. Pattern Recognition 2023, 138, 109396.
- Yin, P.Y. A discrete particle swarm algorithm for optimal polygonal approximation of digital curves. Journal of visual communication and image representation 2004, 15, 241–260. [CrossRef]
- García, N.L.F.; Martínez, L.D.M.; Poyato, Á.C.; Cuevas, F.J.M.; Carnicer, R.M. Unsupervised generation of polygonal approximations based on the convex hull. Pattern Recognition Letters 2020, 135, 138–145. [CrossRef]
- Panagiotakis, C.; Papadakis, H.; Grinias, E.; Komodakis, N.; Fragopoulou, P.; Tziritas, G. Interactive image segmentation based on synthetic graph coordinates. Pattern Recognition 2013, 46, 2940–2952. [CrossRef]
- Yang, X.; Gao, X.; Tao, D.; Li, X.; Li, J. An efficient MRF embedded level set method for image segmentation. IEEE Transactions on Image Processing 2015, 24, 9–21.
- Panagiotakis, C.; Argyros, A. Parameter-free modelling of 2D shapes with ellipses. Pattern Recognition 2016, 53, 259–275. [CrossRef]
- Mai, F.; Hung, Y.; Zhong, H.; Sze, W. A hierarchical approach for fast and robust ellipse extraction. Pattern Recognition 2008, 41, 2512–2524. [CrossRef]
- Panagiotakis, C.; Argyros, A. Region-based Fitting of Overlapping Ellipses and its application to cells segmentation. Image and Vision Computing 2020, 93, 103810. [CrossRef]
- Markaki, S.; Panagiotakis, C. Unsupervised Tree Detection and Counting via Region-Based Circle Fitting. BMVC, 2023.
- Jin, L.; Yang, J.; Kuang, K.; Ni, B.; Gao, Y.; Sun, Y.; Gao, P.; Ma, W.; Tan, M.; Kang, H.; others. Deep-learning-assisted detection and segmentation of rib fractures from CT scans: Development and validation of FracNet. EBioMedicine 2020, 62. [CrossRef]
- Papoutsakis, K.; Panagiotakis, C.; Argyros, A.A. Temporal action co-segmentation in 3d motion capture data and videos. Proceedings of the IEEE conference on computer vision and pattern recognition, 2017, pp. 6827–6836.
- Gad, A.G. Particle swarm optimization algorithm and its applications: a systematic review. Archives of computational methods in engineering 2022, 29, 2531–2561.
- Latecki, L.J.; Lakamper, R.; Eckhardt, T. Shape descriptors for non-rigid shapes with a single closed contour. IEEE Conference on Computer Vision and Pattern Recognition. IEEE, 2000, Vol. 1, pp. 424–429.
- Bai, X.; Yang, X.; Latecki, L.J.; Liu, W.; Tu, Z. Learning context-sensitive shape similarity by graph transduction. Pattern Analysis and Machine Intelligence, IEEE Transactions on 2010, 32, 861–874. [CrossRef]
- Kimia, B. A Large Binary Image Database, LEMS Vision Group at Brown University, 2002. http://www.lems.brown.edu/~dmc/.
| 1 | The centroid of P can be also used. The centroid of S is more preferable for stability reasons in an iterative process. |
| 2 | In each execution, the PSO based methods may yields slightly different results due to Particle Swarm Optimization, so we have executed 10 times each PSO based method (UPF-PSO, UPF-PSO-EA) getting the average IoU. |








| Methods | IoU | DICE | Pr(m/IOU) |
|---|---|---|---|
| UPF-PSO | 0.776 | 0.866 | 0.477 |
| UPF-PSO-EA | 0.770 | 0.861 | 0.322 |
| DP | 0.645 | 0.764 | 0.005 |
| DP-EA | 0.661 | 0.771 | 0.031 |
| SM | 0.732 | 0.833 | 0.084 |
| SM-EA | 0.731 | 0.831 | 0.080 |
| Methods | IoU | DICE | Pr(m/IOU) |
|---|---|---|---|
| UPF-PSO | 0.801 | 0.885 | 0.404 |
| UPF-PSO-EA | 0.803 | 0.886 | 0.382 |
| DP | 0.679 | 0.793 | 0.008 |
| DP-EA | 0.685 | 0.794 | 0.024 |
| SM | 0.751 | 0.848 | 0.093 |
| SM-EA | 0.751 | 0.847 | 0.089 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).