29/05
This commit is contained in:
@@ -8,9 +8,11 @@ Image Quality Assessment (IQA) is the process of quantifying image quality in a
|
||||
|
||||
IQA methods are generally categorized as subjective or objective. Subjective assessment involves human observers who rate the perceived quality of images, typically following standardized protocols such as ITU-R BT.500~\cite{itu_bt500_2023}. While subjective methods are considered the gold standard due to their direct alignment with human perception, they are time-consuming, expensive, and not scalable. In contrast, objective methods rely on computational models to estimate image quality automatically, aiming to approximate human judgment with high consistency and low cost~\cite{zaric_comparison_objective_subjective, sheikh_vif_2006}.
|
||||
|
||||
Subjective image quality assessment relies on human evaluations to generate ground-truth perceptual scores, often in the form of Mean Opinion Scores (MOS) or Difference Mean Opinion Scores (DMOS). These scores are typically collected under controlled conditions following international standards such as ITU-R BT.500~\cite{itu_bt500_2023} or ITU-T P.910~\cite{itu_p910_2008}. Subjective assessment captures nuances of human vision that are difficult to model algorithmically, making it essential for validating and benchmarking objective IQA models~\cite{ponomarenko_tid2013, zaric_comparison_objective_subjective}. However, it is inherently limited by inter-observer variability, cultural or demographic bias, and the logistical costs associated with large-scale studies~\cite{ghadiyaram_crowdsourced_study_2016}. Crowdsourcing platforms like Amazon Mechanical Turk~\cite{amazon_mturk} have recently enabled more scalable data collection, though at the expense of environmental control and consistency.
|
||||
|
||||
|
||||
Objective IQA methods are commonly divided into three categories: full-reference (FR), reduced-reference (RR), and no-reference (NR). FR-IQA assumes access to an undistorted reference image and compares it to the distorted version using perceptual models~\cite{wang_ssim_2004, sheikh_ifc_2005, zhang_fsim_2011}. RR-IQA methods extract partial information from the reference image, enabling a compromise between performance and practicality~\cite{wang_wavelet_statistics_2005, li_divisive_normalization_2009}. NR-IQA, also known as blind IQA, operates without any reference and is considered the most challenging, requiring models to infer quality based solely on the distorted image~\cite{mittal_brisque_2012, bosse_deep_nriqa_2018}.
|
||||
|
||||
Subjective image quality assessment relies on human evaluations to generate ground-truth perceptual scores, often in the form of Mean Opinion Scores (MOS) or Difference Mean Opinion Scores (DMOS). These scores are typically collected under controlled conditions following international standards such as ITU-R BT.500~\cite{itu_bt500_2023} or ITU-T P.910~\cite{itu_p910_2008}. Subjective assessment captures nuances of human vision that are difficult to model algorithmically, making it essential for validating and benchmarking objective IQA models~\cite{ponomarenko_tid2013, zaric_comparison_objective_subjective}. However, it is inherently limited by inter-observer variability, cultural or demographic bias, and the logistical costs associated with large-scale studies~\cite{ghadiyaram_crowdsourced_study_2016}. Crowdsourcing platforms like Amazon Mechanical Turk~\cite{amazon_mturk} have recently enabled more scalable data collection, though at the expense of environmental control and consistency.
|
||||
|
||||
Facial Image Quality Assessment (FIQA) is a specialized subfield of IQA that aims to quantify the quality of facial images with respect to their utility in downstream biometric or analytic tasks. Unlike general-purpose IQA, FIQA must account for both perceptual attributes (e.g., blur, noise) and task-specific considerations such as facial pose, occlusion, expression, and alignment~\cite{hernandez_fiqanet_2020, boutros_iqface_2021, li_biofacenet_2021}. High-quality face images are crucial for ensuring the accuracy and fairness of face recognition systems, particularly in security, forensics, and surveillance domains~\cite{xu_secureqnet_2020, luo_deepiq_2018}. Consequently, FIQA models often incorporate features from deep face recognition networks to align quality predictions with identity discrimination performance~\cite{FaceMetric2025}. This task-oriented nature of FIQA makes it fundamentally different from traditional perceptual quality assessment.
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@ The MOS is computed as the arithmetic mean of all valid scores for a given image
|
||||
\begin{equation}
|
||||
\text{MOS} = \frac{1}{N} \sum_{i=1}^{N} S_i
|
||||
\end{equation}
|
||||
|
||||
where $S_i$ is the score given by the $i$-th subject, and $N$ is the number of valid observers.
|
||||
|
||||
For double-stimulus tests, the DMOS reflects the perceptual degradation with respect to a reference:
|
||||
@@ -138,7 +137,6 @@ The Peak Signal-to-Noise Ratio (PSNR) expresses the logarithmic ratio between th
|
||||
\begin{equation}
|
||||
\text{PSNR} = 10 \cdot \log_{10} \left( \frac{MAX^2}{\text{MSE}} \right)
|
||||
\end{equation}
|
||||
|
||||
where $MAX$ is the maximum possible pixel value (typically 255 for 8-bit images). Although widely used for its simplicity and interpretability, PSNR correlates poorly with human perception, especially in the presence of structured distortions.
|
||||
|
||||
To address this limitation, PSNR-B extends the original formulation by incorporating a blocking effect factor (BEF), which penalizes compression artifacts such as those introduced by block-based codecs:
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
\section{Methodology}
|
||||
|
||||
This section describes the proposed hybrid Full-to-No-Reference (FR-to-NR) framework for Facial Image Quality Assessment (FIQA) in steganographically distorted images. The pipeline is divided into four stages:
|
||||
|
||||
\begin{itemize}
|
||||
\item Dataset construction and subjective human annotation.
|
||||
\item Analysis and fusion of Full-Reference IQA metrics to create a perceptually aligned quality estimator.
|
||||
\item Pseudo-MOS generation for weak supervision on unlabeled data.
|
||||
\item Training of a No-Reference regression model using deep features.
|
||||
\end{itemize}
|
||||
|
||||
This multistage approach allows for scalable perceptual quality prediction in scenarios where reference images or human ratings are unavailable.
|
||||
|
||||
\subsection{Dataset}
|
||||
|
||||
Our dataset is derived from the publically available Face Research Lab London (FRLL)~\cite{DeBruine2017} set, comprising 102 frontal ICAO-compliant facial images. Each image was encoded using four printer-proof steganographic methods, described ahead, each applied at nine different intensity levels, yielding a total of 3,672 distorted images.
|
||||
|
||||
The dataset was partitioned into four subsets, as follows:
|
||||
|
||||
\begin{itemize}
|
||||
\item Labeled Set (15 identities, 540 images): a core set of demographically diverse subjects, shown in Fig.~\ref{fig:subdataset}, annotated with MOS through human evaluation.
|
||||
\begin{itemize}
|
||||
\item Training Subset (12 identities, 432 images): used to train the full-reference fusion model, regressing FR-IQA metrics to human MOS.\@
|
||||
\item Disjoint Test Subset (3 identities, 108 images): held out from the framework and are used solely for final results comparisons, simulating out-of-distribution generalization.
|
||||
\end{itemize}
|
||||
\item Unlabeled Set (87 identities, 3,132 images): no subjective scores were collected for these images. Instead, pseudo-MOS labels were generated using the FR fusion model, enabling large-scale weak supervision.
|
||||
\item No-Reference (NR) Training Pool (99 identities, 3,564 images): Combines the 12 labeled identities and the 87 pseudo-labeled identities, and is used to train the NR regression model on deep features extracted from distorted images.
|
||||
\end{itemize}
|
||||
|
||||
\begin{figure}
|
||||
\centering
|
||||
\includegraphics[width=1\linewidth]{images/subdataset.png}
|
||||
\caption{Labeled set selected from the FRLL dataset.}\label{fig:subdataset}
|
||||
\end{figure}
|
||||
|
||||
The printer-proof steganography methods used were based on Generative Adversarial Networks (GANs)~\cite{gans2018} to encode and decode information, we can obtain various results depending on the method used:
|
||||
|
||||
\begin{itemize}
|
||||
\item StegaStamp~\cite{stegastamp2020}: claims to be the first steganography model capable of decoding data from printed images. The authors show robust results in decoding data under physical transmission by developing novel strategies to add noise in the training process, printer noise simulation, and distortion for the training dataset.
|
||||
\item CodeFace~\cite{codeface2021}: encoder and decoder networks are trained using end-to-end GANs. It introduces a new security system for encoding and decoding facial images that are printed in common IDs and MRTDs.
|
||||
\item RiemStega~\cite{cruz2025riemstega}: proposes a new loss function that extends the loss function based on the $L_2$ distance between images to the Riemannian manifold of symmetric and positive definite matrices.
|
||||
\item StampOne~\cite{stampone2023}: focuses on high-level robust steganography, such as~\cite{codeface2021, stegastamp2020}, striking a balance between high-quality encoded images and decoding accuracy. It mitigates distortion-related issues like JPEG compression, camera sensors and printer's Gaussian noise by incorporating gradient transform, wavelet transform, and Depthwise~\cite{tay2022efficient} to normalize and balance frequencies of the inputs.
|
||||
\end{itemize}
|
||||
|
||||
Each image in our dataset was evaluated approximately 30 times by human observers, providing a robust MOS dataset.
|
||||
|
||||
We followed ITU-R BT.500--15~\cite{ITU-R-BT500} recommendation, and adopted the Single Stimulus method. Around 200 different observers were carefully instructed on how to perform the test session, the average duration of the session was 22 minutes, and the rounded number of tests in each session was 70. Resulting in over 14,000 evaluations.
|
||||
|
||||
To conduct the sessions we created a webapp in Django, seen in Fig.~\ref{fig:platform}, where the observers were asked to evaluate each image on a scale from 1 to 100 using a slider bar, with no time limit. The rating scale was divided into five categorical levels: scores from 1 to 25 were classified as Bad, 26 to 50 as Poor, 51 to 75 as Fair, 76 to 99 as Good, and a score of 100 as Excellent.
|
||||
|
||||
\begin{figure}
|
||||
\centering
|
||||
\includegraphics[width=0.5\linewidth]{images/webapp.png}
|
||||
\caption{Snippet of the custom webapp platform used to access overall image quality.}\label{fig:platform}
|
||||
\end{figure}
|
||||
|
||||
To address this, we propose a two-stage hybrid pipeline that first builds a FR quality estimator supervised by MOS, and then extends this supervision to a NR model via pseudo-MOS learning.
|
||||
|
||||
\subsection{Full-Reference Analysis and Fusion}
|
||||
|
||||
We compute 41 FR-IQA scores for each distorted image in the MOS-labeled subset. To identify which metrics align best with human perception, we calculate both the Pearson Linear Correlation Coefficient (PLCC) and the Spearman Rank-Order Correlation Coefficient (SRCC)~\cite{plcc_srcc} between each metric and the human MOS.\@ This analysis serves to rank the metrics and select the top-$k$ most perceptually relevant.
|
||||
|
||||
\subsection{Pseudo-MOS Generation via FR-IQA Fusion}
|
||||
|
||||
The selected top-$k$ IQA metrics are standardized and used as input features for supervised regression models trained to approximate the human MOS.\@ We evaluate Support Vector Regression~\cite{svr}, Random Forest~\cite{randomforest}, XGBoost~\cite{xgboost}, and LightGBM~\cite{lightgbm} as candidate fusion models. Random Forest consistently achieved the highest PLCC and SRCC on the validation set for $k=5$, and was selected as the fusion model. This trained regressor is then applied to the unlabeled portion of the dataset (3,132 distorted images), generating pseudo-MOS scores that serve as proxy ground-truth labels.
|
||||
|
||||
\subsection{NR Regression Model}
|
||||
|
||||
To enable NR quality prediction, we extract deep features from each distorted image using a ResNet-18~\cite{resnet} model pretrained on ImageNet. These feature vectors are then used to train a regression model, again using Random Forest, tasked with predicting the pseudo-MOS labels obtained from the FR fusion step. The final model performs quality assessment using only the distorted input image, without requiring access to a reference image, thereby enabling NR-IQA in real-world scenarios.
|
||||
@@ -1,193 +0,0 @@
|
||||
\chapter{Methodology}
|
||||
|
||||
\section{Dataset Creation}
|
||||
|
||||
The success of any Image Quality Assessment (IQA) metric depends heavily on the dataset used for its evaluation and development. This thesis utilizes the London dataset.
|
||||
|
||||
\subsection{Overview of the Dataset}
|
||||
|
||||
The dataset consists of 102 high-quality facial images encoded using four steganographic methods: StegaStamp, CodeFace, RiemannianStegaStamp, and StampOne. Each image is modified at nine thresholds ranging from 0.6 to 1.4 in increments of 0.1, resulting in a total of 3672 steganography-encoded images. The dataset is carefully crafted to balance aesthetic, demographic, cultural and ethnical diversity.
|
||||
|
||||
\subsection{Challenges in Dataset Preparation}
|
||||
|
||||
\begin{itemize}
|
||||
\item \textbf{Perceptual Diversity:} Facial images are selected to represent a wide range of aesthetic qualities, as human judgments are significantly influenced by factors such as symmetry and attractiveness.
|
||||
\item \textbf{Steganographic Variability:} Each steganographic method introduces unique distortions.
|
||||
\item \textbf{Balanced Distribution:} The dataset ensures an even distribution across different embedding thresholds and methods, preventing bias during training and evaluation.
|
||||
\end{itemize}
|
||||
|
||||
\subsection{Dataset Organization}
|
||||
|
||||
The dataset is structured as follows:
|
||||
\begin{itemize}
|
||||
\item \textbf{Reference Images:} High-quality, unaltered facial images.
|
||||
\item \textbf{Distorted Images:} Images encoded with varying thresholds of each steganographic method.
|
||||
\item \textbf{Metadata:} Annotations include the encoding method, threshold value, and MOS scores collected through subjective evaluations.
|
||||
\end{itemize}
|
||||
|
||||
The next section describes the subjective evaluation process, including the use of ITU-R BT.500 guidelines for Mean Opinion Score (MOS) collection.
|
||||
|
||||
\section{MOS Data Collection}
|
||||
|
||||
Mean Opinion Score (MOS) is a widely accepted method for collecting subjective evaluations of image quality. In this thesis, the MOS collection process follows the ITU-R BT.500 guidelines to ensure reliability and reproducibility of subjective evaluations.
|
||||
|
||||
\subsection{Observer Selection}
|
||||
|
||||
A diverse group of 30 observers participated in the evaluation process. The selection criteria included:
|
||||
\begin{itemize}
|
||||
\item \textbf{Age Range:} Observers aged 18-50 to ensure a mix of perceptual sensitivities.
|
||||
\item \textbf{Visual Acuity:} Participants were screened to confirm normal or corrected-to-normal vision.
|
||||
\item \textbf{Demographic Diversity:} Efforts were made to balance gender, cultural background, and familiarity with visual assessment tasks (ITU-R BT.500, 2023).
|
||||
\end{itemize}
|
||||
|
||||
\subsection{Viewing Conditions}
|
||||
|
||||
The evaluation was conducted in a controlled environment, adhering to ITU-R BT.500 standards:
|
||||
\begin{itemize}
|
||||
\item \textbf{Display:} High-resolution monitors with consistent brightness and color calibration.
|
||||
\item \textbf{Lighting:} Ambient lighting conditions were maintained to minimize glare and eye strain.
|
||||
\item \textbf{Viewing Distance:} Observers were seated at a distance of three times the image height, as recommended for subjective evaluations.
|
||||
\end{itemize}
|
||||
|
||||
\subsection{Evaluation Methodology}
|
||||
|
||||
The Single Stimulus method was used for subjective quality assessment:
|
||||
\begin{itemize}
|
||||
\item Observers were presented with one image at a time and asked to rate its quality on a 5-point scale:
|
||||
\begin{itemize}
|
||||
\item 5: Excellent
|
||||
\item 4: Good
|
||||
\item 3: Fair
|
||||
\item 2: Poor
|
||||
\item 1: Bad
|
||||
\end{itemize}
|
||||
\item Ratings were recorded anonymously to minimize bias.
|
||||
\item Each observer evaluated a randomized subset of images to avoid fatigue and ensure reliable results.
|
||||
\end{itemize}
|
||||
|
||||
\subsection{Post-Screening and Statistical Analysis}
|
||||
|
||||
After data collection, post-screening was conducted to remove outliers and ensure consistency:
|
||||
\begin{itemize}
|
||||
\item Observers whose ratings showed high variance or inconsistency were excluded.
|
||||
\item Statistical methods, such as confidence interval calculations, were used to validate the collected MOS scores (ITU-R BT.500, 2023).
|
||||
\end{itemize}
|
||||
|
||||
The collected MOS data serves as the foundation for validating the proposed metrics in this thesis. The next section describes the computation of objective metrics and their comparison with subjective evaluations.
|
||||
|
||||
\section{Objective IQA Evaluation}
|
||||
|
||||
To complement the subjective Mean Opinion Score (MOS) data, objective Image Quality Assessment (IQA) metrics were computed for all images in the dataset. This step provides a computational perspective, enabling the identification of discrepancies between human perception and algorithmic evaluations.
|
||||
|
||||
\subsection{Selected Metrics}
|
||||
|
||||
A diverse set of 50 objective IQA metrics was chosen, encompassing both traditional and learning-based approaches. These metrics are categorized as follows:
|
||||
|
||||
\begin{itemize}
|
||||
\item \textbf{Full-Reference Metrics:} Require a pristine reference image for evaluation.
|
||||
\begin{itemize}
|
||||
\item Structural Similarity Index (SSIM)
|
||||
\item Peak Signal-to-Noise Ratio (PSNR)
|
||||
\item Feature Similarity Index (FSIM)
|
||||
\item Visual Information Fidelity (VIF) (Sheikh and Bovik, 2006)
|
||||
\end{itemize}
|
||||
\item \textbf{No-Reference Metrics:} Operate without a reference image.
|
||||
\begin{itemize}
|
||||
\item Natural Image Quality Evaluator (NIQE)
|
||||
\item Blind/Referenceless Image Spatial Quality Evaluator (BRISQUE) (Mittal et al., 2012)
|
||||
\item Perceptual Adversarial Similarity Score (PASS) (Liu et al., 2021)
|
||||
\end{itemize}
|
||||
\item \textbf{Learning-Based Metrics:} Utilize deep learning models to extract perceptual features.
|
||||
\begin{itemize}
|
||||
\item Learned Perceptual Image Patch Similarity (LPIPS) (Zhang et al., 2018)
|
||||
\item Neural Image Assessment (NIMA) (Talebi and Milanfar, 2018)
|
||||
\end{itemize}
|
||||
\end{itemize}
|
||||
|
||||
\subsection{Computation Workflow}
|
||||
|
||||
Objective metrics were computed using the following workflow:
|
||||
\begin{enumerate}
|
||||
\item \textbf{Preprocessing:} Images were resized and normalized to ensure compatibility with the metric algorithms.
|
||||
\item \textbf{Batch Processing:} Metrics were computed for all images using automated scripts developed in Python with libraries such as OpenCV, SciPy, and PyTorch.
|
||||
\item \textbf{Data Aggregation:} Results were stored in a structured format, linking each image to its corresponding MOS and metric scores.
|
||||
\end{enumerate}
|
||||
|
||||
\subsection{Correlation Analysis}
|
||||
|
||||
To evaluate the performance of objective metrics, correlation coefficients were computed between MOS values and metric scores:
|
||||
\begin{itemize}
|
||||
\item \textbf{Pearson Correlation:} Measures linear relationships between MOS and metric scores.
|
||||
\item \textbf{Spearman Rank Correlation:} Captures monotonic relationships, providing insight into rank consistency.
|
||||
\item \textbf{Kendall’s Tau:} Used for further validation of rank-based consistency.
|
||||
\end{itemize}
|
||||
|
||||
The correlation analysis revealed that traditional metrics, such as PSNR and MSE, exhibited weak alignment with MOS values, particularly for steganographic distortions. In contrast, learning-based metrics like LPIPS and NIMA demonstrated stronger correlations, underscoring their potential for perceptually aligned evaluations.
|
||||
|
||||
\subsection{Insights from Objective Metrics}
|
||||
|
||||
The analysis highlighted several key insights:
|
||||
\begin{itemize}
|
||||
\item Full-Reference metrics performed well for simple distortions but struggled with subtle artifacts introduced by steganography.
|
||||
\item No-Reference metrics showed promise for real-world applications but required fine-tuning for specific datasets.
|
||||
\item Learning-based metrics consistently outperformed traditional methods, emphasizing the importance of perceptually informed approaches.
|
||||
\end{itemize}
|
||||
|
||||
The next section outlines the methodology for creating a novel metric that synthesizes these insights, aiming to bridge the gap between objective and subjective evaluations.
|
||||
|
||||
\section{How to Create a New Metric}
|
||||
|
||||
The development of a new Image Quality Assessment (IQA) metric requires an approach that synthesizes insights from subjective evaluations, objective metrics, and domain-specific challenges. This thesis proposes a Full-Reference Fusion Metric (FRFM) that combines highly correlated objective metrics into a unified framework. Additionally, the FRFM serves as the foundation for a No-Reference Metric (NRM) that generalizes the assessment to scenarios without pristine reference images.
|
||||
|
||||
\subsection{Metric Selection}
|
||||
|
||||
The first step in creating the FRFM involves selecting objective metrics that exhibit high correlation with subjective Mean Opinion Scores (MOS). Metrics are ranked based on their Pearson, Spearman, and Kendall’s Tau correlations with MOS data. The selected metrics include:
|
||||
\begin{itemize}
|
||||
\item \textbf{SSIM:} Captures structural similarities that align with perceptual quality.
|
||||
\item \textbf{LPIPS:} Leverages deep feature representations to evaluate perceptual similarity.
|
||||
\item \textbf{VIF:} Quantifies the preservation of visual information.
|
||||
\item \textbf{PASS:} Detects perceptual changes in steganographic distortions.
|
||||
\end{itemize}
|
||||
|
||||
\subsection{Fusion Framework}
|
||||
|
||||
The selected metrics are integrated using a weighted fusion approach:
|
||||
\begin{enumerate}
|
||||
\item \textbf{Metric Normalization:} Each metric is normalized to a common scale to ensure comparability.
|
||||
\item \textbf{Weight Assignment:} Weights are assigned based on correlation coefficients with MOS values. Metrics with higher correlations are given greater importance.
|
||||
\item \textbf{Fusion Equation:} The overall quality score \( Q \) is computed as:
|
||||
\[
|
||||
Q = \sum_{i=1}^{n} w_i \cdot M_i
|
||||
\]
|
||||
where \( w_i \) represents the weight of the \( i \)-th metric, and \( M_i \) is the corresponding metric score.
|
||||
\end{enumerate}
|
||||
|
||||
\subsection{Validation of the Fusion Metric}
|
||||
|
||||
The FRFM is validated using unseen images from the dataset. Validation steps include:
|
||||
\begin{itemize}
|
||||
\item \textbf{Correlation Analysis:} Assess the alignment of FRFM scores with MOS values.
|
||||
\item \textbf{Comparison with Baselines:} Compare the FRFM against individual metrics like SSIM, PSNR, and LPIPS to demonstrate its superiority.
|
||||
\item \textbf{Visual Examples:} Evaluate the metric's performance on challenging images, such as those with subtle steganographic artifacts or region-specific distortions.
|
||||
\end{itemize}
|
||||
|
||||
\subsection{No-Reference Metric Development}
|
||||
|
||||
Using the FRFM as a training framework, a neural network model is designed to predict quality scores directly from distorted images:
|
||||
\begin{enumerate}
|
||||
\item \textbf{Training Data:} The FRFM scores serve as the ground truth, while distorted images act as input data.
|
||||
\item \textbf{Model Architecture:} A convolutional neural network (CNN) is chosen for its ability to extract features from image data.
|
||||
\item \textbf{Loss Function:} The model is trained using a regression loss function to minimize the difference between predicted scores and FRFM scores.
|
||||
\item \textbf{Evaluation:} The NRM is validated on unseen datasets, with performance measured using correlation coefficients and visual examples.
|
||||
\end{enumerate}
|
||||
|
||||
\subsection{Insights for Metric Design}
|
||||
|
||||
Key insights from this methodology include:
|
||||
\begin{itemize}
|
||||
\item The fusion of complementary metrics improves robustness and perceptual alignment.
|
||||
\item Neural networks trained on FR metrics enable practical applications in scenarios where reference images are unavailable.
|
||||
\item The use of subjective evaluations, such as MOS, as a ground truth ensures that the metrics align with human perception.
|
||||
\end{itemize}
|
||||
|
||||
This approach sets the stage for the development of metrics that bridge the gap between subjective and objective evaluations. The next chapter details the implementation and validation of the Full-Reference Fusion Metric.
|
||||
Reference in New Issue
Block a user