Skip to Content
  • Article
  • Open Access

8 September 2026

Phase-PCANet for Fingerprint Image Liveness Detection

and
Information Science Department, Xi’an University of Technology, Xi’an 710048, China
*
Author to whom correspondence should be addressed.

Abstract

This paper proposes Phase-PCANet, a new image representation method for fingerprint liveness detection. Phase-PCANet integrates both local and global phase features. The local phase, capturing fine-grained edges and textures, is extracted via short-time Fourier transform with singular value decomposition; the global phase, encoding the holistic structural layout, is obtained from a full-image Fourier transform. These two phase components are separately fed into an improved PCANet, which employs dual binary coding, i.e., scalar-based intra-channel coding and vector-similarity-based inter-channel coding, to preserve within-channel structures and cross-channel correlations. Multi-stage features from different PCA layers within each phase path are aggregated, and the resulting deep features from both paths are concatenated to form the final image representation. Experiments on the LivDet 2011, 2013, and 2015 databases verify the effectiveness of the proposed method.

1. Introduction

Being a fundamental problem in pattern recognition and computer vision, image liveness detection plays a critical role in many applications. Feature extraction lies at the core of this process, as effective feature extraction not only reduces the computational complexity of classification algorithms but also improves recognition performance.
Image complex-valued transformation is an efficient approach for image feature extraction. The magnitude and phase components are two distinct representations derived from this transformation, with the phase component encoding critical structural and perceptual information that is often more significant than the magnitude. Oppenheim et al. [1] demonstrated that, in signal reconstruction, the phase information of a signal is more informative than its magnitude.
Inspired by principal component analysis (PCA), PCANet is an unsupervised learning network with a straightforward and rule-based architecture. Compared with end-to-end deep convolutional neural networks (CNNs), PCANet offers several distinct advantages in specific scenarios. First, its architecture is entirely data-driven and closed-form, requiring no backpropagation or iterative gradient-based optimization, which eliminates the need for careful hyperparameter tuning (e.g., learning rates, weight initialization, and dropout) and ensures a deterministic and reproducible feature extraction process. Second, PCANet has substantially fewer trainable parameters, making it computationally efficient and amenable to small-sample learning, where deep CNNs typically suffer from severe overfitting. Third, the cascade of PCA-based filter banks provides an interpretable linear subspace representation, facilitating theoretical analysis of the learned features and their relationships to input data statistics—a property often lacking in black-box deep models. Finally, PCANet’s simple multilayer architecture can be implemented rapidly with basic linear algebra operations, enabling fast prototyping and deployment on resource-constrained platforms without sacrificing competitive performance.
Despite the progress made by existing methods, several limitations remain unaddressed. First, while phase information has been recognized as a powerful representation for image analysis, most existing approaches exploit either the local phase or global phase in isolation. The local phase captures fine-grained edge and texture details but lacks holistic structural context, whereas the global phase encodes the overall layout and periodicity of fingerprint patterns but may overlook subtle material-induced micro-anomalies. The complementary nature of these two phase representations has not been fully exploited for fingerprint liveness detection. Second, conventional PCANet employs a simple threshold-based hashing scheme that converts filter responses into binary codes without preserving the spatial structure within each channel or the correlations across channels. This limits the discriminative power of the learned features, particularly in distinguishing subtle textural differences between live and spoof fingerprints. Third, most existing handcrafted feature descriptors rely on a single encoding strategy and a single feature fusion level, which may fail to capture the multi-scale and multi-level characteristics inherent in fingerprint images. These limitations motivate us to explore a unified framework that jointly leverages local and global phase information within an improved PCANet architecture.
To this end, we propose Phase-PCANet, a new feature extraction method for fingerprint image liveness detection. The main contributions of this work are threefold:
1.
Joint exploitation of local and global phase information. Unlike existing methods that rely on either the local or global phase alone, Phase-PCANet extracts the local phase via STFT combined with SVD to capture fine-grained edge and texture details, and the global phase via full-image DFT to encode the holistic structural layout. This dual-path design enriches the discriminative information available for liveness detection.
2.
Improved PCANet with dual binary coding on each phase path. The local and global phase components are separately fed into an improved PCANet. Within each path, we design two complementary binary coding strategies: (i) an intra-channel contrast binary pattern (CBP1) that captures structural variations within each filter response channel using a scalar ratio threshold, and (ii) an inter-channel binary pattern (CBP2) that encodes cross-channel correlations via angular similarity between feature vectors. This overcomes the limitation of conventional PCANet hashing, which ignores both intra-channel spatial structure and inter-channel relationships.
3.
Multi-level feature aggregation. Feature fusion is performed at two complementary levels. At the intra-path level, multi-stage features from different PCA layers of the improved PCANet are aggregated within each phase path, enriching the representation with both low-level detail and high-level semantic information. At the inter-path level, the deep features independently learned from the local and global phase paths are concatenated to form the final image representation.
The rest of this paper is organized as follows. In Section 2, we briefly review the work on fingerprint liveness detection. In Section 3, we describe our proposed Phase-PCANet image representation method in detail. Section 4 presents the experimental results on three databases. Finally, we conclude the paper in Section 5.

3. Phase-PCANet Image Feature Learning

The proposed method leverages the local phase feature, global phase feature, and an improved PCANet for deep feature learning. It effectively captures informative content embedded in fingerprint images. The methodology is detailed as follows.

3.1. Image Local Phase Feature Extraction

The local phase feature is extracted using the short-time Fourier transform (STFT) and singular value decomposition (SVD), as described below. Firstly, apply the STFT over a square neighbourhood at each pixel position n of the image I ( n ) as follows:
F ( u ) = 1 N n = 0 N 1 I ( n ) e i 2 π u n / N ,
i is the imaginary unit. I ( n ) is a vector containing all the N image pixel samples from the neighborhood. A set of multiple coefficients u (e.g., u = 0 , 1 , , N 1 ), each corresponding to a 1D frequency, is selected for STFT computation in (1) to obtain a comprehensive representation of the local image.
Secondly, the STFT matrix of the center pixel is defined as
G = Re ( F ( u ) ) Im ( F ( u ) ) ,
where Re ( F ( u ) ) and Im ( F ( u ) ) denote the real and the imaginary parts of a complex number F ( u ) , respectively.
Thirdly, the covariance matrix of the STFT matrix of multiple frequency responses is defined as
C = G T G = Re ( F ( u ) ) Re ( F ( u ) ) Re ( F ( u ) ) Im ( F ( u ) ) Im ( F ( u ) ) Re ( F ( u ) ) Im ( F ( u ) ) Im ( F ( u ) ) .
Finally, perform SVD of G:
G = U S V T = U diag [ s 1 , s 2 ] [ v 1 , v 2 ] T ,
where U is a P × 2 matrix. S is a diagonal 2 × 2 singular value matrix representing the energy. V is a 2 × 2 matrix, and its first column vector v 1 = [ v 1 , 1 , v 1 , 2 ] describes the dominant phase of the local STFT field. The local phase feature is defined as:
LP ( n ) = arctan 2 v 1 , 1 , v 1 , 2 .

3.2. Image Global Fourier Phase Feature Extraction

For an image I R M × N , where M and N represent the height and width, respectively, the 2D Discrete Fourier Transform (DFT) is applied to transform the image into the frequency domain:
F ( u , v ) = m = 1 M n = 1 N I ( m , n ) exp i 2 π m M u + n N v ,
where m , n and u , v represent coordinates in the spatial and frequency domains, respectively. i is the imaginary unit. The complex-valued function F ( u , v ) can be expressed as:
F ( u , v ) = Re F ( u , v ) + i Im F ( u , v ) ,
Re F ( u , v ) and Im F ( u , v ) are the real and imaginary components of the Fourier function F ( u , v ) , respectively. The global phase feature GP ( u , v ) is defined as
GP ( u , v ) = arctan 2 Im F ( u , v ) , Re F ( u , v ) .

3.3. Improved PCANet Feature Learning

The improved PCANet consists of three main components: cascaded principal component analysis (PCA), binary coding, and block-wise histograms. Figure 1 depicts the structure of the improved PCANet.
Figure 1. Principle structure diagram of the improved PCANet.
  • First Step: PCA Filtering
Assume that there are N learning samples of size m × n . For a given sample X j , a patch of size k 1 × k 2 is taken around each point. By subtracting the patch mean from each patch, a new matrix is arranged as X ^ j = [ X ^ j 1 , X ^ j 2 , , X ^ j ( m k 1 + 1 ) × ( n k 2 + 1 ) ] , where X ^ j k R k 1 × k 2 denotes the k-th mean-removed patch in X ^ j . Then, all training samples are vectorized and integrated in the following manner:
X ^ = [ X ^ 1 , X ^ 2 , , X ^ N ] .
Subsequently, the eigenvectors of X ^ X ^ T are computed and L 1 principal eigenvectors are selected as PCA filters W l :
W l = MAT k 1 , k 2 ( Q l ( X ^ X ^ T ) ) R k 1 × k 2 , l = 1 , 2 , , L 1 ,
where Q l ( X ^ X ^ T ) denotes the l-th principal eigenvector of X ^ X ^ T , and MAT ( v ) is a function that maps the vector v R k 1 k 2 to a matrix W R k 1 × k 2 .
The output of the l-th filter at the first PCA stage is expressed as:
Y i l = X i W l , i = 1 , , N ,
where ∗ represents the 2D convolution operator.
The second and subsequent PCA stages follow the same pipeline as the first, with each stage taking the filter response maps from its predecessor as input. For the second stage, the output is obtained as:
Z i l = Y i l W l 2 , i = 1 , , N , l = 1 , 2 , , L 2 ,
where L 2 is the number of filters in the second PCA stage. The same procedure applies recursively to deeper stages, with each stage learning its own PCA filters from the patch distributions of the preceding stage’s outputs.
  • Second Step: Binary Coding
The Contrast Binary Pattern (CBP) is proposed to encode the outputs from each PCA stage, enabling the synchronous acquisition of intra-channel and inter-channel features. Intra-channel feature extraction is performed on each channel using a scalar-based contrast binary coding method. For inter-channel features, a feature vector similarity metric is defined to extract the correlational information among different channels.
The Intra-Channel Contrast Binary Pattern (CBP1) descriptor is constructed on each PCA-filtered output channel separately. For a given pixel Z c l with N neighbors Z n l of channel l, n = 0 , , N 1 , the Intra-CBP value is calculated as
CBP 1 ( Z c l ) = n = 0 N 1 S | Z n l Z c l | Z c l t · 2 n ,
where S ( x ) = 1 , if x 0 ; else S ( x ) = 0 . When Z c l = 0, we set the ratio to 0 to avoid division by zero. The proportional constant t is utilized as the threshold to separate the neighbors into two categories, and here t is set to 0.15. That is to say, the neighbor Z n is regarded as a high perception point if | Z n l Z c l | Z c l t . Otherwise, Z n l is considered a low perception point.
The Inter-Channel Contrast Binary Pattern (CBP2) is computed by comparing the filtered response at a given location with the average filtered response in its surrounding neighborhood. The PCA-filtered response is represented as vector Z = ( z 1 , z 2 , , z L ) , consisting of L of values corresponding to the L eigenvector. Specifically, we first compute the angular difference θ between the two response vectors:
θ = arccos Z , Z ¯ Z · Z ¯ ,
where Z is the response of the current pixel, Z ¯ is the average response of the neighborhood, and · , · and · denote the inner product and the Euclidean norm, respectively. When the denominator is null, we simply set θ = 0 .
Then, θ is linearly quantized into T Inter-CBP as follows:
CBP 2 ( Z c ) = min θ π / T , T 1 .
Here, x denotes the floor function that returns the largest integer less than or equal to x, and the min ( · ) operator ensures that the maximum angular difference π is mapped to the highest quantization level T 1 . Thus, CBP 2 { 0 , 1 , , T 1 } , yielding a total of T quantization levels. In this work, we set T = 8 , resulting in 8 quantization levels (0 through 7). An Inter-CBP map is formed by computing the Inter-CBP at all locations in the image.
  • Third Step: Image Region CBP Description
The image CBP representation is the co-occurence of CBP1 and CBP2 as in Equation (16). For such a consideration, the CBP1 and CBP2 coding methods are applied to the PCA-filtered output response image set.
H ( r , e ) = m = 0 M n = 0 N Φ ( CBP 1 ( I m n ) = r ) Φ ( CBP 2 ( I m n ) = e )
Here, M × N is the dimensionality of the image, and I m n is the pixel at location ( m , n ) in the image coordinates. The number of Intra-CBP and Inter-CBP as mentioned above are C and T, respectively, and
Φ ( x ) = 1 , x is true , 0 , otherwise .
The same CBP encoding and block-wise histogram extraction are applied to all filter response channels from both PCA stages: L 1 channels from the first stage and L 1 × L 2 channels from the second stage. The histograms from all channels and all blocks are concatenated into a single feature vector, yielding a final dimensionality of D = ( L 1 + L 1 L 2 ) × R × ( C × T ) , where R is the number of blocks, C is the number of CBP 1 patterns, and T is the number of CBP 2 quantization levels.

3.4. Phase-PCANet Image Representation

Let I denote an input fingerprint image. The local phase feature map LP ( I ) and the global phase feature map GP ( I ) are first extracted according to Equations (5) and (8), respectively.
Subsequently, both phase representations are independently fed into the improved PCANet. For each phase input P { LP ( I ) , GP ( I ) } , the improved PCANet performs two-stage PCA filtering, intra-channel and inter-channel binary coding, and block-wise histogram aggregation, producing a deep feature vector:
PF ( P ) = Ψ PCANet ( P ) R D ,
where Ψ PCANet ( · ) denotes the entire improved PCANet feature extraction pipeline, and D is the dimensionality of the resulting feature vector.
Finally, the deep feature vectors learned from the local phase and global phase are concatenated to form the overall image representation:
PF ( I ) = PF ( LP ( I ) ) , PF ( GP ( I ) ) R 2 D .
This concatenated feature vector PF ( I ) integrates complementary discriminative information: the local phase preserves fine-grained structural details such as edges and ridge textures, while the global phase encodes the holistic geometric layout of the fingerprint.

4. Experiments

4.1. Databases

Three fingerprint liveness detection benchmark databases, i.e., LivDet 2011, LivDet 2013 and LivDet 2015, are used to evaluate the performance of our proposed method.
In the LivDet 2011 database [45], fingerprints are acquired by four different sensors, i.e., Biometrika, Italdata, Digital Persona, and Sagem. Fake fingerprints are reproduced by the consensual method by using high-quality spoof materials such as ecoflex, wood glue, gelatin, silicon and latex.
In the LivDet 2013 database [46], fingerprints are captured by four different devices, i.e., Biometrika, Crossmatch, Italdata, and Swipe. Fingerprints captured by Biometrika and Italdata are fabricated by a non-cooperative approach using different spoof materials such as gelatin, latex, Play-Doh, wood glue, body double and modasil.
In the LivDet 2015 database [47], fingerprints are captured by four different devices, i.e., Biometrika, Crossmatch, Digital Persona, and Green Bit. The testing set of LivDet 2015 consists of fingerprints reproduced by unknown spoof materials in addition to the known materials (that are also present in the training set). Table 1 presents the characteristic features of three databases.
Table 1. Characteristic features of the LivDet 2011, 2013 and 2015 databases.

4.2. Evaluation Metrics

After the features are extracted, support vector machine (SVM) is used to distinguish fake fingerprints from real fingerprints. In the training procedure, we choose the Gaussian RBF as the kernel to map the feature vector to a higher-dimensional space to find the optimal line or plane to separate the two classes.
The performance of liveness detection is measured using the average classification error rate (ACE). ACE is the average of false positive rate (FPR) and false negative rate (FNR), as follows:
A C E = F P R + F N R 2
The equations to calculate FPR and FNR are given below.
F P R = F P F P + T N
F N R = F N F N + T P
where FP is false positive, TN is true negative, FN is false negative, and TP is true positive. In general, the smaller the ACE is, the better the detection performance of the corresponding method.

4.3. Parameter Analysis

There are three important parameters in Phase-PCANet: the number of stages, the number of filters in each layer ( L 1 , L 2 , ⋯), and the size of filters ( k 1 , k 2 ). In this subsection, we focus on the problem of parameter setting for Phase-PCANet on the Biometrika subsection of the LivDet 2015 database.
Initially, we determine the required number of stages in Phase-PCANet and simultaneously evaluate the fusion performance of features from different stages. Accordingly, we vary the number of stages from 1 to 4 and adopt a notation where numerical subscripts represent the PCANet stage indices. For example, F 1 indicates features extracted from Stage 1 only, and F 1 , 4 denotes the concatenated features from Stage 1 and Stage 4. The number of filters in Phase-PCANet stages is fixed at ( L 1 , L 2 , L 3 , L 4 )=(5,5,4,4), with fixed filter size 5 × 5. The experimental results are illustrated in Figure 2.
Figure 2. ACE (%) of Phase-PCANet with different stage features.
The experimental results reveal three observations. First, shallower stages are consistently more discriminative than deeper ones: single-stage ACE increases from 23.36% ( F 1 ) to 28.53% ( F 4 ), and fused features follow the same trend (e.g., F 1 , 2 : 18.19% vs. F 3 , 4 : 20.30%). Second, feature fusion enhances performance: multi-stage combinations outperform single stages, with F 1 , 2 achieving 18.19% and F 1 , 2 , 3 reaching the best at 17.95%. Third, excessive fusion is detrimental: the full four-stage fusion degrades to 19.28%, likely due to redundancy. Considering computational efficiency, we select the two-stage configuration F 1 , 2 for subsequent experiments.
Next, we examine the influence of filter quantity. Using a two-stage Phase-PCANet with fixed filter sizes of 5 × 5 for both stages, we systematically vary the number of filters in the first layer ( L 1 ) and second layer ( L 2 ) across a range of 2 to 8. The corresponding experimental results are shown in Figure 3.
Figure 3. ACE (%) of Phase-PCANet with different number of filters.
From the results we can see that the ACE varies with the number of filters in both stages. The minimum ACE of 12.53% is achieved at ( L 1 , L 2 ) = (3,4), while the maximum ACE of 36.03% occurs at ( L 1 , L 2 ) = (8,8). In general, configurations with L 1 = 3 and L 2 = 4 yield the best performance, while larger filter numbers in both stages tend to increase the ACE. These results suggest that a moderate number of PCA filters is preferable for optimal fingerprint liveness detection.
Finally, we examine the influence of filter size. Using the two-stage Phase-PCANet architecture with filter numbers fixed at ( L 1 , L 2 ) = (3,4), we vary the filter size [ k 1 ; k 2 ] (with k 1 = k 2 ) from 3 to 15 in steps of 2. The results are shown in Figure 4.
Figure 4. ACE of Phase-PCANet with different sizes of filters.
The ACE of Phase-PCANet decreases as the filter size increases from 3 to 7, reaching its minimum at [7;7], and then rises steadily with further enlargement of the filter window. This trend indicates that a filter size that is too small fails to capture sufficient spatial context, while an excessively large size introduces redundant or noisy information that degrades discriminative performance.

4.4. Ablation Experiments

Ablation studies were performed to verify (1) the necessity of fusing local and global phase features, and (2) the effectiveness of the improved PCANet. Specifically, we performed ablation studies over six combinations of phase features (local, global, or fused) and network backbones (PCANet or improved PCANet), allowing us to quantify the distinct performance gains from feature fusion and the network enhancement. The experimental results are illustrated in Table 2.
Table 2. Ablation results on the LivDet 2015 database.
The results in the table provide clear evidence for the efficacy of both proposed components. When using the original PCANet, fusing local and global phase features reduced the ACE from 10.37% (local only) and 11.42% (global only) to 9.92%, demonstrating that the two phase representations offer complementary information. Replacing the original PCANet with the improved version consistently lowered the ACE across all feature configurations, with reductions from 10.37% to 7.03% for local features and from 11.42% to 8.16% for global features. The full model, incorporating both feature fusion and the improved backbone, achieved the best ACE of 5.48%, substantially outperforming all other variants. These results confirm that both modifications contribute positively and synergistically to the final performance.

4.5. Intra-Sensor Evaluation

In this experiment, we evaluate the effectiveness of Phase-PCANet on three databases. All training and test data are from the same sensor. At the same time, the materials of forgery fingerprints in the test data also appeared in the training data. The experimental results are shown in Table 3, Table 4 and Table 5.
Table 3. Performance comparison of different methods on the LivDet 2011 database.
Table 4. Performance comparison of different methods on the LivDet 2013 database.
Table 5. Performance comparison of different methods on the LivDet 2015 database.
The proposed Phase-PCANet consistently outperforms all compared methods across the LivDet 2011, 2013, and 2015 databases. On LivDet 2011 (four sensors), Phase-PCANet achieves the lowest average ACE of 3.33%, substantially improving over the next best method, STRIVER (5.16%), and reducing the error by nearly 70% relative to the baseline LivDet 2011 (22.93%). On LivDet 2013 (three sensors), it attains an average ACE of 0.90%, surpassing STRIVER (1.40%) and all previous approaches, with particularly notable gains on the Swipe sensor (2.01% vs. 3.29%). On LivDet 2015 (four sensors), Phase-PCANet again ranks first with an average ACE of 5.48%, outperforming STRIVER (7.51%) and showing marked improvements on the GreenBit and CrossMatch sensors. Overall, Phase-PCANet demonstrates effective and robust generalization across different sensor types and acquisition conditions, achieving the lowest average classification error in all three intra-sensor benchmarks.

4.6. Cross-Material Evaluation

There are various materials involved in the production of forgery fingerprints, and the detection difficulties are also different. The cross-material liveness detection task is a practical problem that has to be solved in real-world scenarios. In this experiment, we use fingerprint images captured by the same sensor. Several spoof materials are held out from the training set as unseen materials, and are only evaluated during the testing phase. Experiments are carried out on LivDet2011 and compared with several methods with excellent performance. The results are shown in Table 6.
Table 6. Cross-material performance comparison.
Experimental results on cross-material scenarios demonstrate that our proposed method achieves superior detection performance (lower ACE) over other state-of-the-art approaches, despite the presence of unseen fabrication materials in the test set.

4.7. Cross-Sensor Evaluation

In practice, fingerprint images requiring detection often originate from diverse sensors, exhibiting variations in resolution and image quality. Such heterogeneity poses significant challenges for liveness detection tasks. To rigorously assess the generalization capability of our proposed Phase-PCANet, we conduct cross-sensor experiments on unseen and unknown fingerprint samples. Specifically, the fingerprint images in the training and test sets were acquired from different sensors, thereby simulating real-world deployment scenarios. The experimental results are shown in Table 7.
Table 7. Cross-sensor performance comparison.
The results show that all methods exhibit inevitable performance degradation due to sensor variability. Nevertheless, Phase-PCANet achieves the lowest error rates on four of the five evaluation settings and demonstrates clear advantages over the competing methods in the majority of cases. However, on the setting trained on Italdata2013 and tested on Biometrika2013, it underperforms relative to FLD-SRC and LCPD + WLD, indicating room for further sensor-invariant improvements.

4.8. Time Complexity Comparison

To comprehensively evaluate the efficiency of our proposed model, we conducted time complexity experiments on the LivDet 2015 database. Table 8 presents the average training time of different methods on this database.
Table 8. Average training time (s) on the LivDet 2015 database.
The table compares average training times on the LivDet 2015 database. Traditional hand-crafted methods (e.g., LCP, WLBP, WLD) are significantly faster, ranging from 4.1 to 16.3 s. In contrast, deep learning models (CNN-VGG, DenseNet, AlexNet) require substantially more time, between 52.6 and 98.7 s. Our proposed Phase-PCANet achieves a training time of 20.1 s, which is notably lower than all deep networks and competitive even among hybrid approaches, striking a favorable balance between efficiency and representational power. We further measured the per-image inference time on a standard CPU platform (Intel i7-10700, 16 GB RAM). The average inference time per image on the LivDet 2015 database is 0.65 s.
A direct comparison with large-scale CNNs or ViTs is inequitable due to differences in data and hardware. Our Phase-PCANet, designed for data-efficient learning, achieves competitive results against deep baselines under limited data, confirming its value when large-scale pre-training is infeasible.

4.9. Discussion

4.9.1. Phase-PCANet Performance Analysis

The quantitative results in Table 2, Table 3, Table 4, Table 5, Table 6, Table 7 and Table 8 establish the effectiveness of Phase-PCANet, yet several underlying factors merit further qualitative interpretation.
Complementarity of the local and global phase. The ablation study (Table 2) confirms that fusing the local and global phase consistently reduces ACE regardless of the backbone. The local phase (STFT-based) is sensitive to fine ridge textures and material-induced micro-anomalies, while the global phase (DFT-based) captures the holistic layout and periodicity of fingerprint patterns. These two representations are naturally complementary: the former excels at detecting spoof-related textural artifacts, whereas the latter provides robustness against local noise and structural distortion.
Sensor-dependent performance. Our method performs best on the Biometrika sensors (e.g., 0.26% ACE on LivDet 2013) and faces greater challenges on the Swipe sensor (2.01%), which produces narrow and motion-prone images. Despite this, Phase-PCANet achieves the best performance on almost all sensors and evaluation settings, demonstrating reasonable tolerance to resolution degradation and acquisition variability.
Generalization to unseen materials and sensors. Cross-material (Table 6) and cross-sensor (Table 7) experiments reveal inevitable performance drops, yet Phase-PCANet achieves the best or competitive performance against both handcrafted and CNN-based methods. We attribute this to the use of low-level phase statistics rather than material-specific high-level semantics, which reduces overfitting to known spoof materials and enhances sensor-invariant representation.
Efficiency-accuracy trade-off. With a training time of 20.1 s on LivDet 2015 (Table 8), Phase-PCANet sits between fast handcrafted descriptors (4.1–16.3 s) and heavy CNNs (52.6–98.7 s). The two-stage configuration ( F 1 , 2 ) offers the best compromise, as additional stages yield either marginal improvements or clear performance degradation, while incurring substantially higher computational cost (Figure 2).

4.9.2. Comparison with Phase Congruency

In addition to the phase representations adopted in this work, we note that phase congruency provides an alternative framework for structural feature detection that is robust to illumination and contrast variations [59,60]. Unlike raw Fourier/STFT phase, which is derived from a single-scale transform and is sensitive to window size and frequency selection, phase congruency measures the consistency of phase across multiple scales and orientations, typically implemented via log-Gabor filter banks. This yields feature maps that highlight perceptually meaningful edges, corners, and ridges with strong invariance to lighting changes.
In the context of fingerprint liveness detection, our empirical results indicate that raw local and global phase features—when combined with the improved PCANet—provide sufficient discriminative power to distinguish live from spoof fingerprints across multiple sensors and materials. The two-stage PCANet with dual binary coding effectively compensates for the lack of multi-scale phase aggregation by learning hierarchical filter responses from the phase maps.
However, we acknowledge that phase congruency offers potential advantages in cross-sensor and cross-material scenarios where illumination and contrast vary substantially. Its main drawback lies in computational cost: a full multi-scale phase congruency implementation typically requires convolution with filter banks across S scales and O orientations, resulting in S × O feature maps per pixel. In contrast, our local phase extraction involves only a single-window STFT followed by a closed-form 2 × 2 SVD per pixel, which is substantially lighter.

5. Conclusions

In this study, we propose Phase-PCANet, an image feature extraction method that jointly encodes local and global phase information within an improved PCANet framework for fingerprint liveness detection. Experimental evaluations on the LivDet 2011, 2013, and 2015 databases demonstrate the effectiveness of the proposed method.
However, cross-sensor performance remains unsatisfactory, revealing limited generalization under domain shifts. Future work will address this by incorporating phase congruency features and domain-adaptive feature alignment to mitigate distribution discrepancies. Beyond these improvements, inspired by recent advances in deep multi-level and multi-channel feature fusion [61,62], we intend to integrate phase-aware representations with more general architectures, including Transformer-based and CNN-based models, to improve scalability and cross-domain generalization.

Author Contributions

Conceptualization, J.L.; Methodology, J.L.; Software, X.W.; Validation, J.L.; Formal analysis, J.L.; Investigation, J.L.; Resources, J.L.; Data curation, X.W.; Writing – original draft, X.W.; Writing – review & editing, J.L.; Visualization, J.L.; Supervision, J.L.; Project administration, J.L.; Funding acquisition, J.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China under Grant No. 61906153 and the Natural Science Foundation of Shaanxi Province (China) under Grant No.2020JQ-651.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Oppenheim, A.; Lim, J. The importance of phase in signals. Proc. IEEE 1981, 69, 529–541. [Google Scholar] [CrossRef] [Scilit]
  2. Manivanan, N.; Memon, S.; Balachandran, W. Automatic detection of active sweat pores of fingerprint using highpass and correlation filtering. Electron. Lett. 2010, 46, 1268. [Google Scholar] [CrossRef] [Scilit]
  3. Espinoza, M.; Champod, C. Using the number of pores on fingerprint images to detect spoofing attacks. In Proceedings of the International Conference on Hand-Based Biometrics, Hong Kong, China, 17–18 November 2011; pp. 1–5. [Google Scholar]
  4. Lu, M.; Chen, Z.; Sheng, W. Fingerprint liveness detection based on pore analysis. In Chinese Conference on Biometric Recognition; Springer International Publishing: Cham, Switzerland, 2015; pp. 233–240. [Google Scholar]
  5. Antonelli, A.; Cappelli, R.; Maio, D.; Maltoni, D. Fake finger detection by skin distortion analysis. IEEE Trans. Inf. Forensics Secur. 2006, 1, 360–373. [Google Scholar] [CrossRef] [Scilit]
  6. Zhang, Y.; Tian, J.; Chen, X.; Yang, X.; Shi, P. Fake finger detection based on thin-plate spline distortion model. In International Conference on Biometrics; Springer: Berlin/Heidelberg, Germany, 2007; pp. 742–749. [Google Scholar]
  7. Jia, J.; Cai, L.; Zhang, K.; Chen, D. A new approach to fake finger detection based on skin elasticity analysis. In International Conference on Biometrics; Springer: Berlin/Heidelberg, Germany, 2007; pp. 309–318. [Google Scholar]
  8. Abhyankar, A.; Schuckers, S. Integrating a wavelet based perspiration liveness check with fingerprint recognition. Pattern Recognit. 2009, 42, 452–464. [Google Scholar] [CrossRef] [Scilit]
  9. Abhyankar, A.; Schuckers, S. Fingerprint liveness detection using local ridge frequencies and multiresolution texture analysis techniques. In Proceedings of the IEEE International Conference on Image Processing, Atlanta, GA, USA, 8–11 October 2006; pp. 321–324. [Google Scholar]
  10. Galbally, J.; Alonso-Fernandez, F.; Fierrez, J.; Ortega-Garcia, J. A high performance fingerprint liveness detection method based on quality related features. Future Gener. Comput. Syst. 2012, 28, 311–321. [Google Scholar] [CrossRef] [Scilit]
  11. Park, Y.; Jang, U.; Lee, E.C. Statistical anti-spoofing method for fingerprint recognition. Soft Comput. 2018, 22, 4175–4184. [Google Scholar] [CrossRef] [Scilit]
  12. Sharma, R.P.; Dey, S. Fingerprint liveness detection using local quality features. Vis. Comput. 2018, 35, 1393–1410. [Google Scholar] [CrossRef] [Scilit]
  13. Yuan, C.; Sun, X.; Wu, Q.M.J. Difference co-occurrence matrix using bp neural network for fingerprint liveness detection. Soft Comput. 2018, 23, 5157–5169. [Google Scholar] [CrossRef] [Scilit]
  14. Moon, Y.; Chen, J.; Chan, K.; So, K.; Woo, K. Wavelet based fingerprint liveness detection. Electron. Lett. 2005, 41, 1112. [Google Scholar] [CrossRef] [Scilit]
  15. Pereira, L.; Pinheiro, H.; Cavalcanti, G.; Ren, T.I. Spatial surface coarseness analysis: Technique for fingerprint spoof detection. Electron. Lett. 2013, 49, 260–261. [Google Scholar] [CrossRef] [Scilit]
  16. Nikam, S.B.; Agarwal, S. Ridgelet-based fake fingerprint detection. Neurocomputing 2009, 72, 2491–2506. [Google Scholar] [CrossRef] [Scilit]
  17. Nikam, S.B.; Agarwal, S. Curvelet-based fingerprint anti-spoofing. Signal Image Video Process. 2009, 4, 75–87. [Google Scholar] [CrossRef] [Scilit]
  18. Ghiani, L.; Marcialis, G.L.; Roli, F. Fingerprint liveness detection by local phase quantization. In Proceedings of the International Conference on Pattern Recognition, Tsukuba, Japan, 11–15 November 2012; pp. 537–540. [Google Scholar]
  19. Jia, X.; Yang, X.; Cao, K.; Zang, Y.; Zhang, N.; Dai, R.; Zhu, X.; Tian, J. Multi-scale local binary pattern with filters for spoof fingerprint detection. Inf. Sci. 2014, 268, 91–102. [Google Scholar] [CrossRef] [Scilit]
  20. Gottschlich, C.; Marasco, E.; Yang, A.Y.; Cukic, B. Fingerprint liveness detection based on histograms of invariant gradients. In Proceedings of the IEEE International Joint Conference on Biometrics, Clearwater, FL, USA, 29 September–2 October 2014; pp. 1–7. [Google Scholar]
  21. Zhang, Y.; Fang, S.; Xie, Y.; Xu, T. Fake fingerprint detection based on wavelet analysis and local binary pattern. In Chinese Conference on Biometric Recognition; Springer International Publishing: Cham, Switzerland, 2014; pp. 191–198. [Google Scholar]
  22. Gragnaniello, D.; Poggi, G.; Sansone, C.; Verdoliva, L. Wavelet-markov local descriptor for detecting fake fingerprints. Electron. Lett. 2014, 50, 439–441. [Google Scholar] [CrossRef] [Scilit]
  23. Rattani, A.; Ross, A. Minimizing the impact of spoof fabrication material on fingerprint liveness detector. In Proceedings of the IEEE International Conference on Image Processing, Paris, France, 7–30 October 2014; pp. 4992–4996. [Google Scholar]
  24. Rattani, A.; Ross, A. Automatic adaptation of fingerprint liveness detector to new spoof materials. In Proceedings of the IEEE International Joint Conference on Biometrics, Clearwater, FL, USA, 29 September–2 October 2014; pp. 1–8. [Google Scholar]
  25. Gragnaniello, D.; Poggi, G.; Sansone, C.; Verdoliva, L. Local contrast phase descriptor for fingerprint liveness detection. Pattern Recognit. 2015, 48, 1050–1058. [Google Scholar] [CrossRef] [Scilit]
  26. Dubey, R.K.; Goh, J.; Thing, V.L.L. Fingerprint liveness detection from single image using low-level features and shape analysis. IEEE Trans. Inf. Forensics Secur. 2016, 11, 1461–1475. [Google Scholar] [CrossRef] [Scilit]
  27. Xia, Z.; Lv, R.; Zhu, Y.; Ji, P.; Sun, H.; Shi, Y.-Q. Fingerprint liveness detection using gradient-based texture features. Signal Image Video Process. 2016, 11, 381–388. [Google Scholar] [CrossRef] [Scilit]
  28. Xia, Z.; Lv, R.; Sun, X. Rotation-invariant weber pattern and gabor feature for fingerprint liveness detection. Multimed. Tools Appl. 2017, 77, 18187–18200. [Google Scholar] [CrossRef] [Scilit]
  29. Kim, W. Fingerprint liveness detection using local coherence patterns. IEEE Signal Process. Lett. 2017, 24, 51–55. [Google Scholar] [CrossRef] [Scilit]
  30. Ghiani, L.; Hadid, A.; Marcialis, G.L.; Roli, F. Fingerprint liveness detection using local texture features. IET Biom. 2017, 6, 224–231. [Google Scholar] [CrossRef] [Scilit]
  31. Mehboob, R.; Dawood, H.; Dawood, H.; Ilyas, M.U.; Guo, P.; Banjar, A. Live fingerprint detection using magnitude of perceived spatial stimuli and local phase information. J. Electron. Imaging 2018, 27, 053038. [Google Scholar] [CrossRef] [Scilit]
  32. Alshdadi, A.A.; Mehboob, R.; Dawood, H.; Alassafi, M.O.; Alghamdi, R.; Dawood, H. Exploiting level 1 and level 3 features of fingerprints for liveness detection. Biomed. Signal Process. Control 2020, 61, 102039. [Google Scholar] [CrossRef] [Scilit]
  33. Gonzalez-Soler, L.J.; Gomez-Barrero, M.; Chang, L.; Perez-Suarez, A.; Busch, C. Fingerprint presentation attack detection based on local features encoding for unknown attacks. IEEE Access 2021, 9, 5806–5820. [Google Scholar] [CrossRef] [Scilit]
  34. Sharma, D.; Selwal, A. Hyfipad: A hybrid approach for fingerprint presentation attack detection using local and adaptive image features. Vis. Comput. 2021, 38, 2999–3025. [Google Scholar] [CrossRef] [Scilit]
  35. Sharma, D.; Selwal, A. An intelligent approach for fingerprint presentation attack detection using ensemble learning with improved local image features. Multimed. Tools Appl. 2021, 81, 22129–22161. [Google Scholar] [CrossRef] [Scilit]
  36. Agarwal, D.; Bansal, A. Fingerprint liveness detection through fusion of pores perspiration and texture features. J. King Saud Univ.-Comput. Inf. Sci. 2022, 34, 4089–4098. [Google Scholar] [CrossRef] [Scilit]
  37. Mehboob, R.; Dawood, H. DEHFF—A hybrid approach based on distinctively encoded fingerprint features for live fingerprint detection. Biomed. Process. Control 2022, 75, 103572. [Google Scholar] [CrossRef] [Scilit]
  38. Yuan, C.; Guo, Q.; Zhou, Z.; Fu, Z.; Xia, Z. Deepfake fingerprint detection model intellectual property protection via ridge texture enhancement. IEEE Signal Process. Lett. 2023, 30, 843–847. [Google Scholar] [CrossRef] [Scilit]
  39. Menotti, D.; Chiachia, G.; Pinto, A.; Schwartz, W.R.; Pedrini, H.; Falcao, A.X.; Rocha, A. Deep representations for iris, face, and fingerprint spoofing detection. IEEE Trans. Inf. Forensics Secur. 2015, 10, 864–879. [Google Scholar] [CrossRef] [Scilit]
  40. Kim, S.; Park, B.; Song, B.S.; Yang, S. Deep belief network based statistical feature learning for fingerprint liveness detection. Pattern Recognit. Lett. 2016, 77, 58–65. [Google Scholar] [CrossRef] [Scilit]
  41. Zhang, Y.; Gao, C.; Pan, S.; Li, Z.; Xu, Y.; Qiu, H. A score-level fusion of fingerprint matching with fingerprint liveness detection. IEEE Access 2020, 8, 183391–183400. [Google Scholar] [CrossRef] [Scilit]
  42. Yuan, C.; Jiao, S.; Sun, X.; Wu, Q.M.J. Mfffld: A multimodal-feature-fusion-based fingerprint liveness detection. IEEE Trans. Cogn. Dev. Syst. 2022, 14, 648–661. [Google Scholar] [CrossRef] [Scilit]
  43. Kothadiya, D.; Bhatt, C.; Soni, D.; Gadhe, K.; Patel, S.; Bruno, A.; Mazzeo, P.L. Enhancing fingerprint liveness detection accuracy using deep learning: A comprehensive study and novel approach. J. Imaging 2023, 9, 158. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  44. Zhang, K.; Huang, S.; Liu, E.; Zhao, H. Lfldnet: Lightweight fingerprint liveness detection based on resnet and transformer. Sensors 2023, 23, 6854. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  45. Yambay, D.; Ghiani, L.; Denti, P.; Marcialis, G.L.; Roli, F.; Schuckers, S. Livdet 2011—Fingerprint liveness detection competition 2011. In Proceedings of the IAPR International Conference on Biometrics, New Delhi, India, 29 March–1 April 2012; pp. 208–215. [Google Scholar]
  46. Ghiani, L.; Yambay, D.; Mura, V.; Tocco, S.; Marcialis, G.L.; Roli, F.; Schuckcrs, S. Livdet 2013 fingerprint liveness detection competition 2013. In Proceedings of the International Conference on Biometrics, Madrid, Spain, 4–7 June 2013; pp. 1–6. [Google Scholar]
  47. Mura, V.; Ghiani, L.; Marcialis, G.L.; Roli, F.; Yambay, D.A.; Schuckers, S.A. Livdet 2015 fingerprint liveness detection competition 2015. In Proceedings of the IEEE International Conference on Biometrics Theory, Applications and Systems, Arlington, VA, USA, 8–11 September 2015; pp. 1–6. [Google Scholar]
  48. Xia, Z.; Yuan, C.; Lv, R.; Sun, X.; Xiong, N.N.; Shi, Y.-Q. A novel weber local binary descriptor for fingerprint liveness detection. IEEE Trans. Syst. Man Cybern. Syst. 2020, 50, 1526–1536. [Google Scholar] [CrossRef] [Scilit]
  49. Gragnaniello, D.; Poggi, G.; Sansone, C.; Verdoliva, L. Fingerprint liveness detection based on weber local image descriptor. In Proceedings of the IEEE Workshop on Biometric Measurements and Systems for Security and Medical Applications, Napoli, Italy, 9 September 2013; pp. 46–50. [Google Scholar]
  50. Asera, W.A.; Masayoshi, A. Weber centralized binary fusion descriptor for fingerprint liveness detection. IEICE Trans. Inf. Syst. 2019, E102.D, 1422–1425. [Google Scholar] [CrossRef] [Scilit]
  51. Li, J.; Chen, Y.; Zhang, E. Comprehensive edge direction descriptor for fingerprint liveness detection. Signal Process. Image Commun. 2022, 102, 116603. [Google Scholar] [CrossRef] [Scilit]
  52. Li, J.; Wang, Y.; Zhang, E. Striver: An image descriptor for fingerprint liveness detection. Signal Image Video Process. 2024, 18, 8229–8239. [Google Scholar] [CrossRef] [Scilit]
  53. Gragnaniello, D.; Poggi, G.; Sansone, C.; Verdoliva, L. An investigation of local descriptors for biometric spoofing detection. IEEE Trans. Inf. Forensics Secur. 2015, 10, 849–863. [Google Scholar] [CrossRef] [Scilit]
  54. Jian, W.; Zhou, Y.; Liu, H. Densely connected convolutional network optimized by genetic algorithm for fingerprint liveness detection. IEEE Access 2021, 9, 2229–2243. [Google Scholar] [CrossRef] [Scilit]
  55. Sharma, R.P.; Dey, S. A comparative study of handcrafted local texture descriptors for fingerprint liveness detection under real world scenarios. Multimed. Tools Appl. 2020, 80, 9993–10012. [Google Scholar] [CrossRef] [Scilit]
  56. Yuan, C.; Xia, Z.; Sun, X.; Wu, Q.M.J. Deep residual network with adaptive learning framework for fingerprint liveness detection. IEEE Trans. Cogn. Dev. Syst. 2020, 12, 461–473. [Google Scholar] [CrossRef] [Scilit]
  57. Nogueira, R.F.; de Alencar Lotufo, R.; Campos Machado, R. Fingerprint liveness detection using convolutional neural networks. IEEE Trans. Inf. Forensics Secur. 2016, 11, 1206–1213. [Google Scholar] [CrossRef] [Scilit]
  58. Yuan, C.; Yu, P.; Xia, Z.; Sun, X.; Wu, Q.M.J. Fld-src: Fingerprint liveness detection for afis based on spatial ridges continuity. IEEE J. Sel. Top. Signal Process. 2022, 16, 817–827. [Google Scholar] [CrossRef] [Scilit]
  59. Kovesi, P. Image features from phase congruency. Videre J. Comput. Res. 1999, 1, 1–26. [Google Scholar]
  60. Tian, Y.; Wen, M.; Lu, D.; Zhong, X.; Wu, Z. Biological basis and computer vision applications of image phase congruency: A comprehensive survey. Biomimetics 2024, 9, 422. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  61. Yuan, C.; Zhang, Q.; Wu, S.; Wu, Q.J. Chapter four—A realtime fingerprint liveness detection method for fingerprint authentication systems. In Advances in Computers; Elsevier: Amsterdam, The Netherlands, 2023; Volume 131, pp. 149–180. [Google Scholar]
  62. Xu, Y.; Zhang, C.; Li, H. Transformer-based large vision model for universal structural damage segmentation. Autom. Constr. 2025, 176, 106256. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.