Volume 48, Issue 12 pp. 12514-12527
RESEARCH ARTICLE

QGI Algorithm for Solving Quaternion Equation Arising in Image Encryption

Xinying Li

Xinying Li

School of Mathematical Sciences, University of Jinan, Jinan, China

Contribution: Writing - original draft, Software, Conceptualization

Search for more papers by this author
Caiqin Song

Corresponding Author

Caiqin Song

School of Mathematical Sciences, University of Jinan, Jinan, China

Correspondence:

Caiqin Song ([email protected])

Contribution: Methodology, Writing - review & editing, Conceptualization, Supervision

Search for more papers by this author
First published: 05 May 2025

Funding: The authors received no specific funding for this work.

ABSTRACT

In view of the advantages of the solution of the quaternion matrix equation, which was originally employed to solve the color image encryption problem, the quaternion gradient-based algorithm (QGI) is proposed by presenting a new real representation of quaternion matrix for solving the quaternion solution, pure imaginary solution, and real solution of the equation G Y = M $$ GY=M $$ . The necessary and sufficient conditions for the above solutions existing are provided. It is demonstrated that our QGI method can also obtain the least squares quaternion solution, least squares pure imaginary solution, and least squares real solution when it is inconsistent. Finally, numerical examples are provided to illustrate the feasibility and validity of the QGI algorithm when different parameters are chosen. Experimental results demonstrate that the proposed method is feasible and much more effective for color image encryption and its encryption performance is evaluated from four different aspects. All parameters are found to be close to the ideal values, confirming the effectiveness of QGI encryption scheme and the accuracy of the theoretical results obtained.

Conflicts of Interest

The authors declare no conflicts of interest.

The full text of this article hosted at iucr.org is unavailable due to technical difficulties.