A New Method in Facial Registration in Clinics Based on Structure Light Images

Pengfei Li, Ziyue Ma, Hong Wang, Juan Deng, Yan Wang, Zhenyu Xu, Feng Yan, Wenjun Tu, Hong ShaarXiv 2024 · DOI

Abstract

Precise registration between pre-operative medical imaging and intra-operative patient positioning is critical for neurosurgical navigation. This paper presents a novel registration method that utilizes structured light depth images and 2D facial landmark detection. By projecting 3D surface normal vectors into a 2D representation, the system leverages the dlib library to identify key facial features. Experimental results demonstrate a Root Mean Squared Error (RMSE) of 0.99 mm and a coarse registration time of under 0.1 seconds, meeting clinical requirements for both accuracy and efficiency.

Introduction

In neurosurgery, navigation systems allow surgeons to locate lesions accurately by referencing pre-operative CT or MRI scans. The efficacy of these systems depends on "registration"—the alignment of the digital scan's coordinate system with the physical position of the patient. Traditional registration methods, such as using physical skin markers or manual anatomical feature identification, are time-consuming and susceptible to human error.

While automated depth cameras (structured light cameras) offer a potential solution, standard registration algorithms like Iterative Closest Point (ICP) often struggle with facial point clouds. These clouds are typically dense, noisy, and lack distinct geometric features in many areas, causing algorithms to converge slowly or fail entirely.

Proposed Methodology

The researchers developed a multi-stage pipeline designed to bridge the gap between high-speed 2D computer vision and 3D medical imaging. The process begins with data acquisition using an Intel RealSense D415 structured light camera for real-time depth data, while VTK/ITK libraries extract the 3D facial surface from pre-operative CT scans.

The proposed registration pipeline, illustrating the flow from data acquisition to final transfer matrix output.

Feature Extraction via Normal Vectors

The core innovation lies in the feature extraction phase. Rather than analyzing the 3D point cloud directly, the system calculates the angle of normal vectors on the 3D surface. This data is projected into a 2D "normal map" image. Because this map preserves the essential shape and contours of the face, it can be processed by dlib, a standard C++ library for 2D face recognition.

Landmark detection using the dlib library on the projected facial data.

Two-Stage Registration

  1. Coarse Registration: The system identifies key points specifically around the eyes and nose bridge. The mouth area is intentionally excluded to ensure robustness against deformations caused by surgical intubation. These points provide an initial rough alignment.
  2. Fine Registration: A final ICP pass is performed to refine the alignment, locking the two models into a single coordinate system.

Results and Discussion

The method was evaluated using a 3D scan and corresponding CT data from a volunteer. The proposed dlib-based approach was compared against standard feature detectors, including Intrinsic Shape Signatures (ISS), Harris, and Sift.

  • Precision: The system achieved a Root Mean Squared Error (RMSE) of 0.995913 mm, successfully staying below the 1 mm threshold required for clinical safety in neurosurgery.
  • Efficiency: The coarse registration phase was completed in just 0.0949 seconds, significantly outperforming the ISS method (0.8640 seconds).
  • Robustness: While Harris and Sift detectors failed to register the facial context correctly, the dlib-based approach remained consistent and reliable.

Conclusion

By repurposing 2D facial recognition technology for 3D depth data through normal vector projection, this method provides a fast, accurate, and robust solution for clinical facial registration. Future work will focus on validating the system in diverse operating room environments with larger patient cohorts and exploring higher-grade structured light hardware to further minimize registration error.

Summary updated

BibTeX
@misc{li2024new,
  author = {Pengfei Li and Ziyue Ma and Hong Wang and Juan Deng and Yan Wang and Zhenyu Xu and Feng Yan and Wenjun Tu and Hong Sha},
  title = {{A New Method in Facial Registration in Clinics Based on Structure Light Images}},
  year = {2024},
  eprint = {2405.14292},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.14292},
}
Figure