Mahalanobis Distance-Based Algorithm for Ellipse Growing in Iris Preprocessing

Krzysztof Misztal, Jacek Tabor

Introduction

Iris recognition systems, such as the widely adopted Daugman’s algorithm, typically assume "on-axis" images where the pupil and iris appear as perfect circles. In real-world scenarios, however, gaze deviation or camera angles often result in elliptical projections. Traditional detection methods like the Hough transform or least-squares fitting are frequently computationally expensive or overly sensitive to noise. This paper introduces a novel "ellipse-growing" algorithm that leverages the Mahalanobis distance to efficiently extract and normalize these elliptical shapes for biometric processing.

Methodology: The Ellipse-Growing Algorithm

The core of the proposed method is the use of the Mahalanobis distance to define cluster boundaries. Unlike the Euclidean distance, which treats all directions equally and forms circular boundaries, the Mahalanobis distance accounts for the orientation and "stretch" (covariance) of a data cluster, naturally forming elliptical contours.

Iterative Growth and the "Magic Number 2"

The algorithm begins with a small "seed" cluster found via initial thresholding. It then iteratively expands by evaluating points on the immediate boundary. A point $x$ is added to the cluster $C$ if its Mahalanobis distance from the cluster's mean is within a specific threshold:

$$\|x - \mu_C\|_{\Sigma_C} \leq 2 + \delta$$

where $\mu_C$ is the mean, $\Sigma_C$ is the covariance matrix, and $\delta$ is a small error tolerance. A key theoretical contribution of this work is the mathematical proof that for a uniform probability density on an ellipse, the boundary corresponds exactly to a Mahalanobis distance of 2. This provides a theoretically grounded threshold for the growth condition.

Figure 4: Transformation of an elliptical distribution (a) into a circular one (b) via Mahalanobis distance properties.

Computational Efficiency

To maintain high performance, the algorithm utilizes "on-line" update formulas for the mean and covariance matrix, avoiding the need for full recalculations as new points are added. Furthermore, by only processing points on the immediate boundary (using von Neumann neighborhoods), the algorithm is significantly more efficient than global search methods.

Experimental Evaluation

The researchers evaluated the algorithm using both synthetic geometric shapes and the CASIA Iris Image Database, a standard benchmark in biometric research.

Robustness to Non-Elliptical Outliers

Using synthetic figures like stars and rectangles, the authors demonstrated the algorithm's ability to identify the "maximal almost-ellipse" within complex geometries. This robustness is critical for handling real-world ocular noise, such as eyelashes or reflections, which can distort the perceived shape of the iris.

Figure 6: The ellipse-growing algorithm successfully identifying the central elliptical region within a star-shaped boundary.

Iris Normalization

Once the optimal ellipse is fitted to the pupil or iris, an affine transformation is applied to the image. This process effectively "circularizes" the off-axis iris, making it compatible with standard recognition software. Qualitative results on the CASIA database confirmed that the method effectively corrects perspective distortion, transforming side-view elliptical irises into normalized circular ones.

Conclusion

The Mahalanobis-based ellipse-growing algorithm offers a mathematically grounded and computationally efficient alternative for iris preprocessing. While the method currently requires some manual parameter tuning for the error tolerance $\delta$, its ability to incorporate grayscale data and its robustness to shape outliers mark a significant advancement for flexible biometric systems. Future work will focus on automating parameter detection and extending the algorithm to 3D medical imaging for ellipsoid detection.

Summary updated

BibTeX
@inproceedings{misztal2013mahalanobis,
  author = {Krzysztof Misztal and Jacek Tabor},
  title = {{Mahalanobis Distance-Based Algorithm for Ellipse Growing in Iris Preprocessing}},
  booktitle = {CISIM},
  year = {2013},
  doi = {10.1007/978-3-642-40925-7\_16},
}
Figure