Efficient Algorithms to Test Digital Convexity
Abstract
A set is digital convex if , where denotes the convex hull of . In this paper, we consider the algorithmic problem of testing whether a given set of lattice points is digital convex. Although convex hull computation requires time even for dimension , we provide an algorithm for testing the digital convexity of in time, where is the number of edges of the convex hull and is the diameter of . This main result is obtained by proving that if is digital convex, then the well-known quickhull algorithm computes the convex hull of in linear time. In fixed dimension , we present the first polynomial algorithm to test digital convexity, as well as a simpler and more practical algorithm whose running time may not be polynomial in for certain inputs.
Keywords
Cite
@article{arxiv.1901.04738,
title = {Efficient Algorithms to Test Digital Convexity},
author = {Loïc Crombez and Guilherme D. da Fonseca and Yan Gérard},
journal= {arXiv preprint arXiv:1901.04738},
year = {2019}
}