Depixelizing pixel art
Johannes Kopf, Dani Lischinski · ACM Transactions on Graphics · 2011
We describe a novel algorithm for extracting a resolution-independent vector representation from pixel art images, which enables magnifying the results by an arbitrary amount without image degradation. Our algorithm resolves pixel-scale features in the input and converts them into regions with smoothly varying shading that are crisply separated by piecewise-smooth contour curves. In the original image, pixels are represented on a square pixel lattice, where diagonal neighbors are only connected through a single point. This causes thin features to become visually disconnected under magnification by conventional means, and creates ambiguities in the connectedness and separation of diagonal neighbors. The key to our algorithm is in resolving these ambiguities. This enables us to reshape the pixel cells so that neighboring pixels belonging to the same feature are connected through edges, thereby preserving the feature connectivity under magnification. We reduce pixel aliasing artifacts and improve smoothness by fitting spline curves to contours in the image and optimizing their control points.
Cited by 51 works. doi:10.1145/2010324.1964994
Authors
References
- A Practical Guide to Splines
- Multiresolution analysis of arbitrary meshes
- Image upsampling via imposed edge statistics
- Diffusion curves
- A GPU Laplacian solver for diffusion curves and Poisson image editing
- Automatic and topology-preserving gradient mesh generation for image vectorization
- Patch-based image vectorization with automatic curvilinear feature alignment
- Random-access rendering of general vector graphics