Table 4: Classification performance on MPEG7 dataset.
Distance type Distance + angle Distance only
Euclidean 86.14 73.13
Inner 85.52 72.61
Skeleton 87.35 77.25
ing only with distances is much more impressive.
This leaves open the question of a better determina-
tion of the angles between the points of the shape. In
addition, histogram comparisons based on the χ
2
cri-
terion are also not well suited for fairly concentrated
distribution, such as skeleton-geodesic shape context,
that leaves the task of designing a better way to com-
pare such histograms for future research. We also
note that, as in the previous experiment, the inner-
distances did not demonstrate their advantage over the
Euclidean ones, being used in completely the same
manipulations.
7 CONCLUSION
In this article we proposed a method for describing
the shape using the distribution of distances between
its points, which are calculated using a skeleton. It
is shown that using a continuous skeletal representa-
tion, the basis of calculations can be reduced to clas-
sical algorithms on graphs. Proposed distance can be
used in many 2D shape recognition algorithms as a re-
placement for the Euclidean or geodesic distance, for
example, we designed an analogue of very popular
shape context descriptor. Remarkable that such de-
scriptor can be considered from the point of view of
probability theory, it can be calculated with high accu-
racy based on the continuous model, and all the nec-
essary formulas are derived analytically. Estimates
of temporal costs show that the method takes some
time to preprocess the image, but after that it does
distant transformations much faster than this is done
for commonly used inner-distances, so with a mass
query, the gain in time consumption is powerful. A
computational experiments demonstrate that the pro-
posed method of specifying distances is more resis-
tant to a fairly wide class of flexible articulations than
the usual geodesic distance and, especially, Euclidean
one. The way to develop our approach is to design a
more efficient procedure for comparing descriptors.
ACKNOWLEDGEMENTS
The work was funded by Russian Foundation of Basic
Research grant No. 20-01-00664.
REFERENCES
Belongie, S. J., Malik, J., and Puzicha, J. (2002). Shape
matching and object recognition using shape contexts.
IEEE Transactions on Pattern Analysis and Machine
Intelligence, 24(4):509–522.
Boluk, S. A. and Demirci, M. F. (2015). Shape classification
based on skeleton-branch distances. In Proceedings of
the International conference on computer vision the-
ory and applications (VISAPP 2015), pages 353–359.
SCITEPRESS, Portugal.
Bronstein, A. M., Bronstein, M. M., Bruckstein, A. M., and
Kimmel, R. (2008). Analysis of two-dimensional non-
rigid shapes. International Journal of Computer Vi-
sion, 78(1):67–88.
C
´
ardenes, R., Alberola-L
´
opez, C., and Ruiz-Alzola, J.
(2010). Fast and accurate geodesic distance transform
by ordered propagation. Image and Vision Computing,
28(3):307–316.
C
´
ardenes, R., Warfield, S. K., Mac
´
ıas, E. M., and Ruiz-
Alzola, J. (2003). Occlusion points propagation
geodesic distance transformation. In Proceedings of
the International Conference on Image Processing,
ICIP 2003, pages 361–364. IEEE.
Cuisenaire, O. (1999). Distance transformations: fast al-
gorithms and applications to medical image process-
ing. PhD thesis, Universite Catholique de Louvian,
Louvain-la-Neuve, Belgium.
Jain, V. and Zhang, H. (2005). Robust 2D shape correspon-
dence using geodesic shape context. In Proceedings
of Pacific Graphics, pages 121–124.
Johnson, D. B. (1977). Efficient algorithms for shortest
paths in sparse networks. J. ACM, 24(1):1–13.
Ling, H. and Jacobs, D. W. (2007). Shape classification us-
ing the inner-distance. IEEE Transactions on Pattern
Analysis and Machine Intelligence, 29(2):286–299.
Lomov, N. and Mestetskiy, L. (2017). Pattern width de-
scription through disk cover – application to digital
font recognition. In Proceedings of the 12th Inter-
national Joint Conference on Computer Vision, Imag-
ing and Computer Graphics Theory and Applications
(VISIGRAPP 2017), Volume 4: VISAPP, pages 484–
492. SCITEPRESS, Portugal.
Mestetskiy, L. (2015). Medial width of polygonal and cir-
cular figures — approach via line segment voronoi di-
agram. In Proceedings of the International conference
on computer vision theory and applications (VISAPP
2015), pages 379–386. SCITEPRESS, Portugal.
Mestetskiy, L. and Semenov, A. (2008). Binary im-
age skeleton — continuous approach. In VISAPP
2008 — 3rd International Conference on Computer
Vision Theory and Applications, Proceedings, vol-
ume 1, pages 251–258. SCITEPRESS — Science and
Technology Publications, Portugal.
Sethian, J. A. (1999). Fast marching methods. SIAM Re-
view, 41(2):199–235.
Shamai, G. and Kimmel, R. (2017). Geodesic distance de-
scriptors. In Proceedings of the Conference on Com-
puter Vision and Pattern Recognition (CVPR 2017),
pages 3624–3632. IEEE Computer Society.
VISAPP 2020 - 15th International Conference on Computer Vision Theory and Applications
314