Skip to main content
QUICK REVIEW

[Paper Review] Image Triangulation Using the Sobel Operator for Vertex Selection (Media Exposition)

Olivia Laske, Lori Ziegelmeier|arXiv (Cornell University)|Jan 1, 2024
Image Retrieval and Classification TechniquesComputer Science2 citations
TL;DR

This paper presents a Python-based image triangulation algorithm that uses the Sobel edge detection operator and point cloud sparsification to select vertices for Delaunay triangulation, producing visually appealing artistic compositions. By applying grayscale conversion, image sharpening, Sobel edge detection with a threshold, and density-based sampling, the method reduces vertex count while preserving image features, resulting in stylized, abstract triangulated images with color-filled triangles derived from original pixel values.

ABSTRACT

Image triangulation, the practice of decomposing images into triangles, deliberately employs simplification to create an abstracted representation. While triangulating an image is a relatively simple process, difficulties arise when determining which vertices produce recognizable and visually pleasing output images. With the goal of producing art, we discuss an image triangulation algorithm in Python that utilizes Sobel edge detection and point cloud sparsification to determine final vertices for a triangulation, resulting in the creation of artistic triangulated compositions.

Motivation & Objective

  • To develop a reproducible, artistic image triangulation pipeline using computational geometry and image processing.
  • To address the challenge of selecting visually meaningful vertices for triangulation that preserve image features while reducing complexity.
  • To enable users to control abstraction levels via threshold and density parameters for aesthetic outcomes.
  • To demonstrate that edge-aware vertex selection outperforms random point sampling in preserving image integrity.
  • To provide a customizable, open-source implementation for artistic image triangulation.

Proposed method

  • Convert input images to grayscale using the standard luminance formula: c = 0.299R + 0.587G + 0.114B.
  • Apply a Laplacian sharpening kernel (L) via 2D convolution to enhance edge contrast, producing a smaller (n−2)×(n−2) image.
  • Use the Sobel operator with x- and y-kernels to compute gradient magnitude: G = √(G²ₓ + G²ᵧ), identifying edge pixels.
  • Filter pixels above a user-defined threshold t (set to 50) to retain only strong edge features.
  • Reduce vertex density by uniformly sampling |S|/d points from the thresholded edge set, where d is the density parameter (set to 60).
  • Compute Delaunay triangulation on the sampled points and assign each triangle the average color of its centroid, mapped to the original image’s RGB value.

Experimental results

Research questions

  • RQ1How does Sobel edge detection improve vertex selection for artistic image triangulation compared to random point placement?
  • RQ2What is the impact of threshold value t on the number and visual quality of resulting triangles?
  • RQ3How does the density parameter d affect triangulation complexity, run time, and visual clarity?
  • RQ4Can edge-aware vertex sampling preserve image features with fewer vertices than random sampling?
  • RQ5What trade-offs exist between image fidelity and artistic abstraction in triangulated outputs?

Key findings

  • Increasing the Sobel threshold t from 25 to 75 significantly reduces the number of vertices and triangles, leading to more abstract, simplified compositions.
  • Raising the density parameter d from 35 to 85 reduces vertex count and eliminates clusters of small triangles, improving visual clarity and reducing computation time.
  • With t = 50 and d = 60, the algorithm produces a balanced number of vertices (approximately 1000) that preserve key image features while maintaining artistic appeal.
  • Random point sampling with ~1000 vertices fails to preserve image integrity, resulting in loss of structural features, whereas edge-based sampling maintains the image’s underlying skeleton.
  • The final triangulated image uses centroid-based color assignment from the original image, ensuring accurate color approximation within each triangle.
  • The method enables user control over abstraction level: higher t or d values yield more abstract results, while lower values produce more faithful representations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.