• DocumentCode
    2836301
  • Title

    Computing the Nearest Neighbor Transform Exactly with Only Double Precision

  • Author

    Millman, David L. ; Love, Steven ; Chan, Timothy M. ; Snoeyink, Jack

  • Author_Institution
    Comput. Sci., UNC-Chapel Hill, Chapel Hill, NC, USA
  • fYear
    2012
  • fDate
    27-29 June 2012
  • Firstpage
    66
  • Lastpage
    74
  • Abstract
    The nearest neighbor transform of a binary image assigns to each pixel the index of the nearest black pixel - it is the discrete analog of the Voronoi diagram. Implementations that compute the transform use numerical calculations to perform geometric tests, so they may produce erroneous results if the calculations require more arithmetic precision than is available. Liotta, Preparata, and Tamassia, in 1999, suggested designing algorithms that not only minimize time and space resources, but also arithmetic precision. A simple algorithm using double precision can compute the nearest neighbor transform: compare the squared distances of each pixel to all black pixels, but this is inefficient when many pixels are black. We develop and implement efficient algorithms, computing the nearest neighbor transform of an image in linear time with respect to the number of pixels, while still using only double precision.
  • Keywords
    computational geometry; image processing; transforms; Voronoi diagram; arithmetic precision; binary image; black pixel; double precision; geometric tests; nearest neighbor transform; numerical calculations; Algorithm design and analysis; Approximation algorithms; Computer science; Graphics processing unit; Indexes; Polynomials; Transforms; Arithmetic precision; Computational geometry; Degree-driven analysis of algorithms; Distance transform; Image processing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Voronoi Diagrams in Science and Engineering (ISVD), 2012 Ninth International Symposium on
  • Conference_Location
    New Brunswick, NJ
  • Print_ISBN
    978-1-4673-1910-2
  • Type

    conf

  • DOI
    10.1109/ISVD.2012.13
  • Filename
    6257658