Multi-Scale Superpatch Matching using Dual Superpixel Descriptors

Rémi Giraud, Merlin Boyer, Michaël ClémentarXiv 2020

This paper introduces Dual Superpatch Matching (DSPM), a robust and efficient framework for image matching and labeling that leverages the power of superpixels while overcoming their inherent geometric irregularities. By combining interior region features with structural boundary information and a novel multi-scale search strategy, the authors achieve state-of-the-art results that rival deep learning methods in accuracy while being significantly faster and more interpretable.

TL;DR

The authors propose "Dual Superpatches"—neighborhood descriptors that combine interior superpixel data with boundary structure—and a fast multi-scale matching algorithm. This approach significantly improves image labeling accuracy and reduces computational time from 45 seconds to under 3 seconds per image compared to previous superpixel methods.

What Problem Does This Paper Address?

In computer vision, superpixels—groups of pixels with similar colors and textures—are used to reduce the complexity of an image from millions of pixels to a few hundred regions. However, unlike regular square pixel grids, superpixels are irregular in shape and size.

Existing "superpatch" methods (which look at a neighborhood of superpixels) have two major flaws:

  1. Missing Boundaries: They typically only look at features inside each superpixel, ignoring the contours and edges where critical structural information lives.
  2. Scale Sensitivity: They struggle to match objects if they appear at different sizes across images.
  3. Computational Cost: Comparing these irregular structures often requires complex, slow algorithms.

Methods

The core innovation is the Dual Superpatch (DSP) descriptor, which captures two distinct types of information:

  • Intra-region Descriptors (R): These capture color and texture from the interior of superpixels. Critically, the authors introduce a border offset ($\beta$). By ignoring pixels within 1-3 pixels of the superpixel boundary, the descriptor becomes much more robust to imperfect segmentations and noisy edges.
  • Interface Descriptors (I): To capture structure, the authors extract features (like HOG) specifically at the "interfaces"—points where three or more superpixels meet. This explicitly encodes the image's contour information.
The Dual Superpatch (DSP) descriptor combines blue interior regions (with a border offset) and green interface squares.

To make matching fast, they move away from exhaustive quadratic comparisons. Instead, they use a barycenter projection method. After aligning two superpatches based on their central superpixels, they only compare a superpixel in image A to the one it physically overlaps with in image B.

Finally, they introduce a Multi-Scale framework. By geometrically rescaling the coordinates of superpixel barycenters, they can compare a small superpatch in one image to a larger one in another, allowing the system to find matches regardless of object size.

Figure 1: Superpatch definition. For a superpixel S i (filled blue), neighboring superpixels (blue contours) having their barycenters (red dot) into a radius r, centered on XS i the barycenter of S i, are part of the superpatch Si.

Datasets

The authors evaluated their method on several benchmarks:

  • Synthetic Textures: Used to prove that the border offset ($\beta$) improves matching accuracy in the presence of noise.
  • Standard Images (Baboon, Lena, etc.): Used to test robustness against different superpixel segmentation algorithms (SLIC vs. SNIC).
  • Labeled Faces in the Wild (LFW): A dataset of 2,427 images used for the primary evaluation of face part labeling (eyes, nose, mouth, etc.).

Key Insights and Ideas

  • The "Edge of Chaos": The most surprising finding is that excluding the pixels at the very edge of a superpixel makes the descriptor better. Because superpixel boundaries are often slightly "off," including them introduces noise that confuses matching algorithms.
  • Structural Junctions: Treating the meeting points of superpixels as "interest points" for HOG descriptors provides a "relatively regular grid" of structural information without needing complex corner detectors.
  • Geometry over Learning: The paper demonstrates that for certain tasks, a well-designed geometric framework can perform as well as costly supervised deep learning models while remaining fully interpretable and requiring no training phase.

Key Results

  • Accuracy: On the LFW face labeling task, DSPM achieved a superpixel accuracy of 95.24%, outperforming the previous SuperPatchMatch (SPM) and matching the performance of specialized Deep Convolutional Neural Networks (DCNN).
  • Efficiency: The new distance metric and projection strategy reduced the processing time from 45 seconds (original SPM) to less than 3 seconds per subject.
  • Scale Robustness: The multi-scale strategy successfully matched objects (like flowers) even when they were twice as large in the target image compared to the source.

Limitations and Future Work

While highly effective, the method still relies on an initial over-segmentation step; if the superpixels are extremely poor, the descriptors will suffer. The authors also note that their multi-scale fusion currently uses a simple "argmax" strategy, which could be improved with more sophisticated probabilistic merging.

Future work aims to apply this dual approach to medical imaging (where data is often limited, making non-learning methods attractive) and to unregistered datasets where objects may appear in any orientation or position.

Summary updated

BibTeX
@misc{giraud2020multi,
  author = {Rémi Giraud and Merlin Boyer and Michaël Clément},
  title = {{Multi-Scale Superpatch Matching using Dual Superpixel Descriptors}},
  year = {2020},
  eprint = {2003.04428},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.04428},
}
Figure