NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Non-Photorealistic Sharpening and Binarization of Images by Reversed Unsharp-Masking

Tao Wang, Kohei Inoue, Kiichi UrahamaThe Journal of The Institute of Image Information and Television Engineers 2011

Abstract

We present a reversed unsharp masking technique for sharpening images by producing hue halos around edges. This technique is used to binarize images. In the reversed unsharp masking, a detailed component in the usual unsharp masking is reversed and added to a base component. Images sharpened with this masking are then thresholded to generate non-photorealistic binary images.

Introduction

Standard Unsharp Masking (UM) is a foundational technique in digital photography used to enhance edge contrast. By amplifying high-frequency details, it creates subtle luminance halos—known as Mach bands—that increase perceived sharpness. However, in the field of Non-Photorealistic Rendering (NPR), the objective shifts from realism to artistic expression. Traditional UM is often too subtle for these purposes.

Furthermore, converting photographs into high-quality binary (black and white) images that resemble hand-drawn sketches is computationally intensive. Simple thresholding often loses texture, while advanced optimization methods like graph cuts or simulated annealing are too slow for real-time use. This paper introduces "Reversed Unsharp-Masking," a method that provides both vibrant non-photorealistic enhancement and efficient, high-quality binarization.

Methodology: The Reversed Unsharp-Masking Algorithm

The core innovation of this work is a mathematical reversal of the traditional UM formula.

  1. Standard UM: An image ($d$) is processed by subtracting a blurred version ($f$) to isolate details, which are then added back to the original: $d + \beta(d - f)$.
  2. Reversed UM: The authors propose adding the reversed detail component to the blurred base: $f + \beta(f - d)$.

By using the blurred image as the base and adding negative detail, the algorithm generates "hue halos." Unlike standard UM, which primarily affects brightness, Reversed UM shifts the actual color balance at object boundaries, mimicking the techniques used by painters to make subjects "pop" through contrasting edge colors.

Reversed Unsharp-Masking produces distinct hue halos around edges, creating a painterly, non-photorealistic effect.

Application to Artistic Binarization

The sharpened images produced by Reversed UM serve as an ideal pre-processing stage for binarization. Instead of a global threshold, the authors apply a local comparison: the sharpened pixel value is compared to the local average (the blurred image $f$). If the sharpened value is higher, the pixel becomes white; otherwise, it becomes black.

This approach allows simple thresholding to capture fine textures—such as individual strands of hair or complex floral patterns—that typically disappear in standard conversions. The intensity of the effect is easily controlled by two parameters: the blur window size ($p$) and the halo intensity ($\beta$).

The binarization process preserves intricate details and textures, such as the petals of a flower, through the pre-processing of Reversed UM.

Results and Performance

The proposed method was evaluated using high-resolution digital photographs and portrait images from existing NPR literature.

  • Visual Quality: Binarized images show significantly better detail retention than simple thresholding, successfully capturing sketch-like qualities in complex subjects.
  • Computational Efficiency: On a 2.3GHz CPU, the method processed 512x512 images in approximately 0.3 to 0.7 seconds. This is orders of magnitude faster than optimization-based methods, which can take several seconds to minutes for similar results.

Conclusion and Future Work

Reversed Unsharp-Masking offers a computationally efficient "hack" to achieve sophisticated NPR effects. While the current method can produce graininess in high-texture areas, the authors suggest that post-processing with anisotropic smoothing or utilizing bilateral filters instead of Gaussian blurs could further refine the output. This technique demonstrates that clever pre-processing can enable simple, fast algorithms to rival complex, slow optimization models in artistic image generation.

Summary updated

BibTeX
@article{wang2011non,
  author = {Tao Wang and Kohei Inoue and Kiichi Urahama},
  title = {{Non-Photorealistic Sharpening and Binarization of Images by Reversed Unsharp-Masking}},
  journal = {The Journal of The Institute of Image Information and Television Engineers},
  year = {2011},
  doi = {10.3169/itej.65.550},
}
Figure