English

An Implementation of the Crack Topology Score with Extensions

Image and Video Processing 2026-01-19 v1

Abstract

The Crack Topology Score (CTS) is a recently proposed metric that focuses on evaluating the topological correctness of crack segmentation outputs. While pixel-wise metrics such as IoU or F1-score fail to capture structural validity, CTS offers a skeleton-based matching framework to measure the preservation of connectivity. This paper presents a faithful implementation of the CTS metric, along with optional preprocessing extensions designed to handle common prediction artifacts (e.g., small holes and edge noise) found in deep learning outputs. All extensions are disabled by default to ensure strict comparability with the original definition. The implementation supports PyTorch-based workflows and includes visualization tools for transparency. Code and archival resources will be made available at https://github.com/SH-Joo/crack-topology-score.

Keywords

Cite

@article{arxiv.2601.10762,
  title  = {An Implementation of the Crack Topology Score with Extensions},
  author = {Siheon Joo and Hongjo Kim},
  journal= {arXiv preprint arXiv:2601.10762},
  year   = {2026}
}