Abstract
A formal study of visual codings in user interface design is presented. Visual codings for maximum distinction of different objects in displayed images are formulated as a discrete optimization problem of maximum-distance graph-coloring. The formulation is a generalization of the classical coloring problem in graph theory. Having pointed out that maximum-distance graph-coloring is NP-complete, we develop new, fast approximation algorithms for optimal visual codings. The proposed algorthms run inO (M N) time, whereM is the number of visual codes used andN is the number of objects to be encoded. Besides being efficient, the algorithms are simple and easy to implement. Our experiments showed that geographic maps automatically colored by the new algorithms were preferred to those colored by the previous graph-theoretical approach and they are competitive, if not better, in terms of the visual distinction of different regions than those drawn by hand.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.References
Appel K, Haken W (1976) Every planar map is four colorable. Bull Am Math Soc 82:711–712
Chiba N, Nishizeki T, Saito N (1980) A linear algorithm for five-coloring a planar graph. Lecture notes in computer science: No. 108 graph theory and algorithms. Springer Verlag, Berlin Heidelber'g New York, pp. 9–19
Foley JD, Dam AV, Feiner SK, Hughes JF (1990) Computer graphics, prinicples and practice, 2nd edn Addison-Wesley, Reading, Mass
Lipton RJ, Miller RE (1978) A batching method for coloring planar graphs. Info Proc Lett 7(4):185–188
Sahni S, Gonzalez T (1976) P-complete approximation problems. J ACM 23(3):555–565
Smith AR (1978) Color gamut transform pairs. Proc SIG-GRAPH 12(3):12–19
Van Cott H, Kinkade R (1972) Human engineering guide to equipment design. No 008-051-00050-0, U.S. Government Printing Office, Washington, DC
Author information
Authors and Affiliations
Corresponding author
Additional information
Supported by grans from Natural Science and Enginneering Research Council of Canada
Rights and permissions
About this article
Cite this article
Wu, X., Fang, Y. Visual coding by optimal graph-coloring. The Visual Computer 10, 54–61 (1993). https://doi.org/10.1007/BF01905531
Issue Date:
DOI: https://doi.org/10.1007/BF01905531