Curve Stabbing Depth: Data Depth for Plane Curves
Stephane Durocher, Alexandre Leblanc, Spencer Szabados
TL;DR
This work introduces curve stabbing depth, a principled depth measure for plane curves defined by D(Q,𝒞) = \frac{1}{\pi L(Q)} ∫_{q∈Q} ∫_{0}^{π} \min\{stab_{𝒞}(\overrightarrow{q_θ}), stab_{𝒞}(\overrightarrow{q_{θ+π}})\} dθ dq, capturing how deeply Q lies inside a family 𝒞. It grounds the measure in wedges and tangent points, and develops an exact algorithm for computing the depth when Q and 𝒞 are polylines, with a worst-case time of O(n^3 + n^2 m log^2 m + n m^2 log^2 m). The paper also studies fundamental properties, showing similarity invariance and a bounded, nondegenerate, and vanishing-at-infinity behavior, alongside a Monte Carlo approximation framework. Together, these results enable robust analysis of curve data with potential applications to trajectory classification, clustering, and central-trajectory discovery, while outlining extensions to higher dimensions and alternative depth measures.
Abstract
Measures of data depth have been studied extensively for point data. Motivated by recent work on analysis, clustering, and identifying representative elements in sets of trajectories, we introduce {\em curve stabbing depth} to quantify how deeply a given curve $Q$ is located relative to a given set $\cal C$ of curves in $\mathbb{R}^2$. Curve stabbing depth evaluates the average number of elements of $\cal C$ stabbed by rays rooted along the length of $Q$. We describe an $O(n^3 + n^2 m\log^2m+nm^2\log^2 m)$-time algorithm for computing curve stabbing depth when $Q$ is an $m$-vertex polyline and $\cal C$ is a set of $n$ polylines, each with $O(m)$ vertices.
