Papers
Topics
Authors
Recent
Search
2000 character limit reached

Quaternion Representation of Color Images

Updated 20 January 2026
  • Quaternion representation of color images is a framework that encodes RGB values into quaternions, fusing color channel data for integrated processing.
  • It leverages quaternion algebra to preserve inter-channel correlations using techniques like low-rank models, efficient ADMM schemes, and QSVD.
  • The approach enhances applications such as inpainting, denoising, and classification, with extensions to incorporate depth cues and neural architectures.

Quaternion representation of color images is a mathematical and algorithmic framework in which each pixel’s color channels (Red, Green, Blue) are encoded as a single quaternion algebraic entity—typically as a pure-imaginary quaternion—with many extensions involving “full” quaternions incorporating scalar information such as luminance or depth. This approach permits joint modeling of channel correlations and facilitates advanced image processing methodologies, including matrix/tensor completion, compression, enhancement, classification, and inpainting. Quaternion models are now prominent in computer vision tasks where cross-channel statistical structure is critical.

1. Mathematical Formulation of Quaternion-Based Encoding

A quaternion qHq \in \mathbb{H} is defined as q=a+bi+cj+dkq = a + b\,i + c\,j + d\,k, where a,b,c,dRa, b, c, d \in \mathbb{R} and i,j,ki, j, k satisfy i2=j2=k2=ijk=1i^2 = j^2 = k^2 = ijk = -1 with non-commutative multiplication (e.g., ij=kij = k, ji=kji = -k). In the canonical pure-imaginary encoding for color images, the RGB channels of a pixel at (m,n)(m, n) are mapped to a quaternion: qm,n=0+Rm,ni+Gm,nj+Bm,nkq_{m,n} = 0 + R_{m,n}\,i + G_{m,n}\,j + B_{m,n}\,k In this representation, the real part vanishes and the three imaginary coefficients represent Red, Green, and Blue intensities. The entire image forms a quaternion matrix QHM×NQ \in \mathbb{H}^{M \times N}, enabling holistic processing of color data (Tatsumi et al., 21 Mar 2025, Song et al., 2020, Miao et al., 2020, Miao et al., 2019).

Extensions such as the full quaternion representation incorporate scalar information (e.g., luminance average or depth) into the real part, yielding representations of the form: qm,n=am,n+Rm,ni+Gm,nj+Bm,nkq_{m, n} = a_{m, n} + R_{m, n}\,i + G_{m, n}\,j + B_{m, n}\,k where am,na_{m,n} may be zero, the luminance, or a depth value (Tatsumi et al., 21 Mar 2025, Parchami et al., 2020).

2. Preservation of Channel Correlations and Algebraic Advantages

Quaternion encoding couples the RGB channels, facilitating operations that naturally respect the geometric and statistical interdependence among color channels. Algebraic manipulation such as addition, unitary transforms, Hamilton product, and singular value decomposition act on all three channels simultaneously. This avoids per-channel artifacts and enables models to capture spatial–chromatic features otherwise lost in independent channel processing. Notably, quaternion representations preserve hue and saturation relationships during transformation, enhancement, or reconstruction tasks (Zeng et al., 2015, Miao et al., 2020, Grigoryan et al., 2017).

3. Low-Rank Quaternion Matrix and Tensor Models

Low-rank priors in the quaternion domain underpin state-of-the-art approaches to color image inpainting, denoising, deblurring, and recovery. The typical minimization seeks a low-rank quaternion matrix or tensor XX matching observed pixels: minXsubject toPΩ(X)=PΩ(Q)\min \|X\|_{*} \quad \text{subject to} \quad P_\Omega(X) = P_\Omega(Q) where X\|X\|_{*} is the quaternion nuclear norm (sum of quaternion singular values), and PΩP_\Omega restricts to observed indices (Miao et al., 2019, Miao et al., 2020). Factorization surrogates are used to avoid the high computational cost of large-scale Quaternion SVDs (QSVD), relying on optimization over smaller quaternion matrix factors U,VU, V: minU,V12UVXF2+λ2(UF2+VF2)\min_{U, V} \frac{1}{2} \| U V - X \|_F^2 + \frac{\lambda}{2} (\|U\|_F^2 + \|V\|_F^2) Quaternions also permit higher-order color video or multispectral data modeling using tensor decompositions such as Tucker rank, tensor ring, and Quaternion HOSVD (QHOSVD) (Miao et al., 2023, Miao et al., 2021).

4. Depth-Augmented Quaternion Representation

In recent advances, scalar scene-depth is embedded in the real part of each quaternion pixel, forming "depth-aided" color image inpainting. The process involves preliminary restoration using conventional LRQMC, followed by depth estimation (typically via a pretrained network) and subsequent fusion into the real part: qm,n=Dm,n+Rm,ni+Gm,nj+Bm,nkq_{m,n} = D_{m,n} + R_{m,n}\,i + G_{m,n}\,j + B_{m,n}\,k This depth-augmented encoding improves completion in regions where depth strongly predicts color structure. Empirical results confirm systematic gains in PSNR and SSIM over pure-imaginary schemes (Tatsumi et al., 21 Mar 2025).

5. Quaternion Structure in Deep and Neural Architectures

Quaternion neural networks have emerged in classification and generative tasks, where quaternion convolutional layers perform joint rotation and scaling in RGB space. Quaternion-based principal component analysis (QPCA), Quaternion CNNs (QCNNs), and Generative Adversarial Networks (QGANs) extend real-valued architectures to exploit cross-channel structure via Hamilton product-based convolution and quaternion batch normalization. These models demonstrate superior convergence speed, robustness to noise, and accuracy—especially for color-sensitive recognition and inpainting (Zhu et al., 2019, Wang et al., 2024, Zeng et al., 2015, Chen et al., 9 Dec 2025).

6. Optimization, Regularization, and Efficient Algorithms

Matrix and tensor completion models employ regularizers tailored to quaternion structure. These include nuclear norm minus Frobenius norm (QNMF), truncated nuclear norm, and L2,1L_{2,1}-column sparse surrogates, all implemented via efficient ADMM schemes. Computational gains are achieved using QR over QSVD-based factorizations or deep implicit priors (untrained QCNN). Sparse regularization in the quaternion DCT or QDFT frequency domain preserves texture and edge fidelity (Guo et al., 2024, Yang et al., 2022, Han et al., 2022, Han et al., 2023, Miao et al., 2023).

7. Applications and Empirical Impact

Quaternion representation has demonstrated benefits in image inpainting, denoising, deblurring, classification, face recognition, video recovery, compression, and image enhancement:

  • Image inpainting: Low-rank and tensor-completion quaternion schemes yield sharper restoration and less artifacting at lower sample ratios than channel-wise or tensor-based approaches (Miao et al., 2019, Miao et al., 2023, Miao et al., 2020, Wang et al., 2024).
  • Compression: Full quaternion models via autoencoder-based transformation halve matrix width, preserve cross-covariance, and accelerate QSVD (Parchami et al., 2020).
  • Feature extraction, recognition, and classification: Weighted quaternion PCA/projection and LSQMM classification robustly extract discriminative color features, showing superior performance in small-sample or noisy scenarios (Zeng et al., 2015, Chen et al., 9 Dec 2025, Jia et al., 2020).
  • Denoising and fusion: QHOSVD and QNMF models deliver higher PSNR, SSIM, and perceptual quality than conventional matrix methods, with competitive runtime via efficient ADMM and factorization (Miao et al., 2021, Guo et al., 2024).

Table: Common Quaternion Color Image Encodings

Representation Type Formula (pixel) Real part meaning
Pure-imaginary quaternion 0+Ri+Gj+Bk0 + R\,i + G\,j + B\,k None (zero)
Full quaternion (general) a+Ri+Gj+Bka + R\,i + G\,j + B\,k Luminance or depth
Depth-augmented quaternion D+Ri+Gj+BkD + R\,i + G\,j + B\,k Depth (estimated)

These structural options offer flexibility in encoding auxiliary cues beyond color, such as geometry or illumination.

Conclusion

Quaternion representation of color images provides an algebraically coherent, computationally efficient, and statistically robust framework for color image analysis. By encoding RGB vectors as unified entities and leveraging quaternion-specific optimization schemes, these models outperform conventional channel-wise and tensor methods across a range of vision applications. Recent integration of depth and advances in neural architectures suggest continued expansion of quaternion methodologies in multidimensional image processing (Tatsumi et al., 21 Mar 2025, Song et al., 2020, Miao et al., 2020, Zeng et al., 2015, Chen et al., 9 Dec 2025, Parchami et al., 2020, Wang et al., 2024).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (19)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Quaternion Representation of Color Images.