Full text Source code


Pascal Getreuer, “Image zooming with contour stencils.” Proceedings of SPIE, vol. 7246, 2009. DOI: 10.1117/12.805934.

Article permalink: http://dx.doi.org/10.1117/12.805934

    title = {Image Zooming with Contour Stencils},
    author = {Pascal Getreuer},
    booktitle = {Proceedings of {SPIE}},
    volume = {7246},
    year = {2009},
    doi = {10.1117/12.805934}

See also the follow-up work “Contour Stencils: Total Variation along Curves for Adaptive Image Interpolation.”.


We introduce “contour stencils” as a simple method for detecting the local orientation of image contours and apply this detection to image zooming. Our approach is motivated by the total variation along curves: small total variation along a candidate curve suggests that this curve is a good approximation to the contours. Furthermore, a relationship is shown between interpolation error and total variation. The contour stencil detection is used to develop two image zooming methods. The first one, “contour stencil interpolation,” is simple and computationally efficient, yet competitive in a comparison against existing methods. The second method approaches zooming as an inverse problem, using a graph regularization where the graph is determined by contour stencil detection. Both methods extend naturally to vector-valued data and are demonstrated for grayscale and color images.

©2009 Society of Photo-Optical Instrumentation Engineers. This paper was published in the Journal of Electronic Imaging and is made available as an electronic preprint with permission of SPIE. One print or electronic copy may be made for personal use only. Systematic or multiple reproduction, distribution to multiple locations via electronic or other means, duplication of any material in this paper for a fee or for commercial purposes, or modification of the content of the paper are prohibited.