English

A Labeled Array Distance Metric for Measuring Image Segmentation Quality

Computer Vision and Pattern Recognition 2025-06-23 v1

Abstract

This work introduces two new distance metrics for comparing labeled arrays, which are common outputs of image segmentation algorithms. Each pixel in an image is assigned a label, with binary segmentation providing only two labels ('foreground' and 'background'). These can be represented by a simple binary matrix and compared using pixel differences. However, many segmentation algorithms output multiple regions in a labeled array. We propose two distance metrics, named LAD and MADLAD, that calculate the distance between two labeled images. By doing so, the accuracy of different image segmentation algorithms can be evaluated by measuring their outputs against a 'ground truth' labeling. Both proposed metrics, operating with a complexity of O(N)O(N) for images with NN pixels, are designed to quickly identify similar labeled arrays, even when different labeling methods are used. Comparisons are made between images labeled manually and those labeled by segmentation algorithms. This evaluation is crucial when searching through a space of segmentation algorithms and their hyperparameters via a genetic algorithm to identify the optimal solution for automated segmentation, which is the goal in our lab, SEE-Insight. By measuring the distance from the ground truth, these metrics help determine which algorithm provides the most accurate segmentation.

Keywords

Cite

@article{arxiv.2406.07851,
  title  = {A Labeled Array Distance Metric for Measuring Image Segmentation Quality},
  author = {Maryam Berijanian and Katrina Gensterblum and Doruk Alp Mutlu and Katelyn Reagan and Andrew Hart and Dirk Colbry},
  journal= {arXiv preprint arXiv:2406.07851},
  year   = {2025}
}

Comments

Submitted to: Electronic Letters on Computer Vision and Image Analysis

R2 v1 2026-06-28T17:02:33.811Z