Fast recognition of a Digital Straight Line subsegment: Two algorithms of logarithmic time complexity

Isabelle Sivignon 1
1 GIPSA-AGPIG - AGPIG
GIPSA-DIS - Département Images et Signal
Abstract : Given a Digital Straight Line (DSL) of known characteristics (a, b, µ), we address the problem of computing the characteristics of any of its subsegments. We propose two new algorithms that use the fact that a digital straight segment (DSS) can be defined by its set of separating lines. The representation of this set in the Z 2 space leads to a first algorithm of logarithmic time complexity. This algorithm precises and extends existing results for DSS recognition algorithms. The other algorithm uses the dual representation of the set of separating lines. It consists of a smart walk in the so called Farey Fan, which can be seen as the representation of all the possible sets of separating lines for DSSs. Indeed, we take profit of the fact that the Farey Fan of order n represents in a certain way all the digital segments of length n. The computation of the characteristics of a DSL subsegment is then equivalent to the localization of a point in the Farey Fan. Using fine arithmetical properties of the fan, we design a fast algorithm of theoretical complexity O(log(n)) where n is the length of the subsegment. Experiments show that our algorithms are also efficient in practice, with a comparison to the ones previously proposed by Lachaud and Said [1]: in particular, the second one is faster in the case of " small " segments.
Type de document :
Article dans une revue
Discrete Applied Mathematics, Elsevier, 2015, pp.130-146. <10.1016/j.dam.2014.04.017>
Liste complète des métadonnées

https://hal.archives-ouvertes.fr/hal-01120578
Contributeur : Isabelle Sivignon <>
Soumis le : jeudi 26 février 2015 - 09:44:38
Dernière modification le : mercredi 17 juin 2015 - 01:14:07
Document(s) archivé(s) le : mercredi 27 mai 2015 - 11:41:57

Fichier

article.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

Collections

Citation

Isabelle Sivignon. Fast recognition of a Digital Straight Line subsegment: Two algorithms of logarithmic time complexity. Discrete Applied Mathematics, Elsevier, 2015, pp.130-146. <10.1016/j.dam.2014.04.017>. <hal-01120578>

Partager

Métriques

Consultations de
la notice

140

Téléchargements du document

115