Fast Quaternion Algorithm for Face Recognition

Quaternions extend the concept of complex numbers and have significant applications in image processing, as they provide an efficient way to represent RGB images. One interesting application is face recognition, which aims to identify a person in a given image. In this paper, we propose an algorithm...

Full description

Saved in:
Bibliographic Details
Main Authors: Anita Carević, Ivan Slapničar
Format: Article
Language:English
Published: MDPI AG 2025-06-01
Series:Mathematics
Subjects:
Online Access:https://www.mdpi.com/2227-7390/13/12/1958
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849705038310539264
author Anita Carević
Ivan Slapničar
author_facet Anita Carević
Ivan Slapničar
author_sort Anita Carević
collection DOAJ
description Quaternions extend the concept of complex numbers and have significant applications in image processing, as they provide an efficient way to represent RGB images. One interesting application is face recognition, which aims to identify a person in a given image. In this paper, we propose an algorithm for face recognition that models images using quaternion matrices. To manage the large size of these matrices, our method projects them onto a carefully chosen subspace, reducing their dimensionality while preserving relevant information. An essential part of our algorithm is the novel Jacobi method we developed to solve the quaternion Hermitian eigenproblem. The algorithm’s effectiveness is demonstrated through numerical tests on a widely used database for face recognition. The results demonstrate that our approach, utilizing only a few eigenfaces, achieves comparable recognition accuracy. This not only enhances execution speed but also enables the processing of larger images. All algorithms are implemented in the Julia programming language, which allows for low execution times and the capability to handle larger image dimensions.
format Article
id doaj-art-8bde42b1f8744c82957c830e165a4de9
institution DOAJ
issn 2227-7390
language English
publishDate 2025-06-01
publisher MDPI AG
record_format Article
series Mathematics
spelling doaj-art-8bde42b1f8744c82957c830e165a4de92025-08-20T03:16:34ZengMDPI AGMathematics2227-73902025-06-011312195810.3390/math13121958Fast Quaternion Algorithm for Face RecognitionAnita Carević0Ivan Slapničar1Faculty of Electrical Engineering, Mechanical Engineering and Naval Architecture, University of Split, Rudjera Boškovića 32, 21000 Split, CroatiaFaculty of Electrical Engineering, Mechanical Engineering and Naval Architecture, University of Split, Rudjera Boškovića 32, 21000 Split, CroatiaQuaternions extend the concept of complex numbers and have significant applications in image processing, as they provide an efficient way to represent RGB images. One interesting application is face recognition, which aims to identify a person in a given image. In this paper, we propose an algorithm for face recognition that models images using quaternion matrices. To manage the large size of these matrices, our method projects them onto a carefully chosen subspace, reducing their dimensionality while preserving relevant information. An essential part of our algorithm is the novel Jacobi method we developed to solve the quaternion Hermitian eigenproblem. The algorithm’s effectiveness is demonstrated through numerical tests on a widely used database for face recognition. The results demonstrate that our approach, utilizing only a few eigenfaces, achieves comparable recognition accuracy. This not only enhances execution speed but also enables the processing of larger images. All algorithms are implemented in the Julia programming language, which allows for low execution times and the capability to handle larger image dimensions.https://www.mdpi.com/2227-7390/13/12/1958quaternion matricesquaternion eigenvalue problemface recognition
spellingShingle Anita Carević
Ivan Slapničar
Fast Quaternion Algorithm for Face Recognition
Mathematics
quaternion matrices
quaternion eigenvalue problem
face recognition
title Fast Quaternion Algorithm for Face Recognition
title_full Fast Quaternion Algorithm for Face Recognition
title_fullStr Fast Quaternion Algorithm for Face Recognition
title_full_unstemmed Fast Quaternion Algorithm for Face Recognition
title_short Fast Quaternion Algorithm for Face Recognition
title_sort fast quaternion algorithm for face recognition
topic quaternion matrices
quaternion eigenvalue problem
face recognition
url https://www.mdpi.com/2227-7390/13/12/1958
work_keys_str_mv AT anitacarevic fastquaternionalgorithmforfacerecognition
AT ivanslapnicar fastquaternionalgorithmforfacerecognition