Skip to main content

The Program “Appcontour”: User’s Guide

  • Chapter
  • First Online:
Shape Reconstruction from Apparent Contours

Part of the book series: Computational Imaging and Vision ((CIVI,volume 44))

  • 1011 Accesses

Abstract

In this chapter we describe a software code developed by the authors and capable to manipulate the topological structure of apparent contours [15].

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    See Sect. 2.5

  2. 2.

    Most of the pictures of apparent contours in this chapter were obtained with the showcontour software, sometimes with slight additions/modifications. The command used is “showcontour <file>.morse --ge xfig --skiprtime 0.5”, it reads a Morse description of the contour (often obtained with contour printmorse) and writes a picture in xfig format.

  3. 3.

    Of course the enclosing quotation marks ‘“’ and ‘”’ are not part of the string itself.

  4. 4.

    Here −λ has the meaning of time.

  5. 5.

    By inspecting the resulting apparent contour it turns out that the first occurrence of rule T is the lowest one shown in Fig. 10.7, left. Applying the second occurrence of rule T (referring to it with T:2) produces a result that is mirror-equivalent to Fig. 10.7, right, but not diffeomorphically equivalent in the sense of Definition 2.4.2.

  6. 6.

    Not to be confused with the external region of the whole apparent contour, it is the unbounded connected component of \(\mathbb{R}^{2}\setminus C\). Occasionally we shall refer to the external region of C as the subset of the unbounded connected component of \(\mathbb{R}^{2}\setminus C\) that coincides with the region of the apparent contour adjacent to C from the outside.

  7. 7.

    This procedure was recently suggested to us by Giovanni Paolini, Scuola Normale Superiore, Pisa, to whom we are indebted. It was first implemented in version 2.0.0 of the program. Previous versions of appcontour suffer from an imperfect canonization procedure that could lead to different regions descriptions starting from diffeomorphically equivalent apparent contours.

  8. 8.

    As already noted in a footnote of Sect. 7.5.2, the isomorphism problem is decidable in the special case of the fundamental groups of 3-manifolds.

  9. 9.

    The “Kinoshita-Terasaka” knot has the same property. Indeed the Conway and the Kinoshita-Terasaka knots form a “mutant” pair, they are non-equivalent knots with the same Alexander and Jones polynomials.

  10. 10.

    As we shall see in Sect. 10.10.7 this particular syntax can be used to directly feed a Laurent ideal to the software.

  11. 11.

    To conclude that the link cannot be split we also need to know that separately each component of the links is the unknot. That is clear from the picture, but could also be seen by concatenating the command “contour --extractcc 1 whitehead” or “contour --extractcc 2 whitehead” with “contour fg --out”.

  12. 12.

    The elements of L can be represented by strings, a well-ordering on strings can e.g., be defined by first comparing the strings length and, in case of equal length, by making a lexicographic comparison.

  13. 13.

    In the context of knot theory this would correspond to the sum of the two diagrams, however the result is different than the horizontal sum as apparent contours (of a tubular neighbourhood), indeed the horizontal sum of the apparent contour will apply surgery only on one of the two “parallel” arcs bounding each of the arcs of the diagrams involved in the sum operation of knots. Moreover one of the two “summands” is not in this case a knot, making the result of the sum not well defined.

  14. 14.

    The Conway knot and its “mutant”, the Kinoshita–Terasaka knot, are the simplest nontrivial knots, in terms of number of crossing in their diagram, having trivial Alexander polynomial.

  15. 15.

    Here is the list of equivalent presentations after each Tietze transformation: <a,b,c; AbaBcaC>, <a,b,c; BAbacabC>, <a,b,c; BBAbabcabbC>, <a,b,c; CBCBAbcabccabcb>, <a,b,c; ACBACBAbcaabcacaabcab>.

  16. 16.

    This is not unexpected: the abelianized of the fundamental group coincides with the first homology group of the inside set E, the rank of which is the Betti number b 1 and can be computed by using the Euler–Poincaré characteristic χ = 0 of E as b 1 = b 0 + b 2χ where the Betti number b 0 = 1 is the number of connected components of E and the Betti number b 2 = 1 is the number of “voids” of E, which in our context is the number of connected components of ∂ E decreased by 1.

  17. 17.

    Actually the unknotting theorem in [18, page 103] implies that indeed both the inside and outside are solid tori (in \(\mathbb{S}^{3}\)) and that they are both unknotted.

References

  1. Bing, R.H.: Some aspects of the topology of 3-manifolds related to the Poincaré Conjecture. In: Saaty, T.L. (ed.) Lectures on Modern Mathematics II, pp. 93–128. Wiley, Boston (1964)

    Google Scholar 

  2. Brown, M.: A proof of the generalized Schoenflies theorem. Bull. Amer. Math. Soc. 66, 74–76 (1960)

    Article  MATH  MathSciNet  Google Scholar 

  3. Cromwell, P.: Knots and Links. Cambridge University Press, Cambridge (2004)

    Book  MATH  Google Scholar 

  4. Datta, S., Limaye, N., Nimbhorkar, P., Thierauf, T., Wagner, F.: Planar Graph Isomorphism is in Log-Space. 24th Annual IEEE Conference on Computational Complexity (2009)

    Google Scholar 

  5. Francis, G.k, Weeks, J.R.: Conway’s ZIP proof. Am. Math. Mon. 106, 393–399 (1999)

    Google Scholar 

  6. Hacon, D., Mendes de Jesus, C., Romero Fuster, M.C.: Global topological invariants of stable maps from a surface to the plane. Proceedings of the 6th Workshop on Real and Complex Singularities, 2001. Lecture Notes in Pure Applied Mathematics, vol. 232, pp. 227–235 (2003)

    MathSciNet  Google Scholar 

  7. Haefliger, A.: Quelques remarques sur les applications différentiables d’une surface dans le plan. Ann. Inst. Fourier. Grenoble 10, 47–60 (1960)

    Article  MATH  MathSciNet  Google Scholar 

  8. Hatcher, A.: Algebraic Topology online book. Cambridge University Press, Cambridge (2002)

    Google Scholar 

  9. Köbler, J., Schöning, U., Torán, J.: The Graph Isomorphism Problem: Its Structural Complexity. Birkhäuser Verlag, Berlin (1993)

    Book  MATH  Google Scholar 

  10. Lickorish, W.B.R.: An Introduction to Knot Theory. Springer, New York (1997)

    Book  MATH  Google Scholar 

  11. Magnus, W., Karrass, A., Solitar, D.: Combinatorial Group Theory: Presentations of Groups in Terms of Generators and Relations. Dover Publications, New York (1976)

    MATH  Google Scholar 

  12. Millett, K.C.: Generic smooth maps of surfaces. Topology Appl. 18, 197–215 (1984)

    Article  MATH  MathSciNet  Google Scholar 

  13. Ohmoto, T., Aicardi, F.: First order local invariants of apparent contours. Topology 45, 27–45 (2006)

    Article  MATH  MathSciNet  Google Scholar 

  14. Paolini, G.: An algorithm for a canonical form of finite subsets of \(\mathbb{Z}^{d}\) up to affinities, arXiv:1408.3310 [cs.DS]

    Google Scholar 

  15. Paolini, M., Pasquarelli, F.: Appcontour: a software code to interact with apparent contours, SourceForge project: http://appcontour.sourceforge.net (2006)

  16. Pauer, F., Unterkircher, A.: Gröbner bases for ideals in Laurent polynomial rings and their application to systems of difference equations. Appl. Algebra Eng. Commun. Comput. 9, 271–291 (1999)

    Article  MATH  MathSciNet  Google Scholar 

  17. Poenaru, V.: Extension des Immersions en Codimension 1 (d’après Samuel Blank). Séminaire Bourbaki 342, 473–505 (1967/68)

    Google Scholar 

  18. Rolfsen, D: Knots and Links, AMS Chelsea Publishing, New York (2003)

    Google Scholar 

  19. Vassiliev, V.A.: Cohomology of knot spaces. Adv. Sov. Math. 21, 23–69 (1990)

    MathSciNet  Google Scholar 

  20. Weinberg, L: A simple and efficient algorithm for determining isomorphism of planar triply connected graphs. Circuit Theory 13, 142–148 (1966)

    Article  MathSciNet  Google Scholar 

  21. Whitney, H.: On singularities of mappings of Euclidean spaces. I. Mappings of the plane into the plane. Ann. Math. 62, 374–410 (1955)

    MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Bellettini, G., Beorchia, V., Paolini, M., Pasquarelli, F. (2015). The Program “Appcontour”: User’s Guide. In: Shape Reconstruction from Apparent Contours. Computational Imaging and Vision, vol 44. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-45191-5_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-662-45191-5_10

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-662-45190-8

  • Online ISBN: 978-3-662-45191-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics