methods chages

This commit is contained in:
aneto
2025-07-15 09:56:36 +01:00
parent ae29f2bd47
commit 204a04c265
13 changed files with 291 additions and 237 deletions
+68 -66
View File
@@ -1,6 +1,5 @@
\chapter{Related Work}\label{chap:related_work}
\section{Subjective IQA}\label{sec:subjective_iqa}
Subjective image quality assessment is grounded in human visual perception and remains the gold standard for evaluating visual fidelity. Standardized by ITU-R BT.500~\cite{ITU-R-BT500} and ITU-T P.910~\cite{itut2006}, traditional methodologies rely on controlled laboratory conditions, calibrated displays, and predefined rating procedures to ensure reproducibility and validity.
@@ -33,8 +32,8 @@ Beyond laboratory-controlled protocols, crowdsourcing has emerged as a scalable
\subsection{Benchmark Datasets}\label{sec:benchmark_datasets}
Several benchmark datasets have been curated to support the development and evaluation of IQA models. The LIVE~\cite{sheikh2006image}, TID2013~\cite{pnsr2003}, and CSIQ~\cite{ma2011psnr} datasets follow ITU-R BT.500-compliant procedures, offering high-quality MOS/DMOS annotations across a range of distortion types. More recent datasets, such as PIPAL~\cite{jin2020pipal} and KonIQ-10k~\cite{mos2016}, leverage crowdsourced assessments to achieve broader coverage of real-world content and perceptual variance. These datasets not only facilitate benchmarking but also allow for training data-driven IQA models in both full and no-reference scenarios. Nonetheless, domain-specific datasets, particularly those for biometric, medical, or forensic applications, remain scarce, limiting the generalizability of learned metrics in those contexts.
Several benchmark datasets have been curated to support the development and evaluation of IQA models. The LIVE~\cite{sheikh2006statistical}, TID2008~\cite{ponomarenko2009tid2008}, TID2013~\cite{ponomarenko2015image}, and CSIQ~\cite{larson2010most} datasets follow ITU-R BT.500-compliant procedures, providing high-quality MOS or DMOS annotations across a wide range of synthetic distortion types. These datasets have been widely adopted in traditional full-reference IQA benchmarking. Later contributions like Waterloo IAA~\cite{ma2017waterloo}, SIQAD~\cite{yang2014siqad}, and KADID-10k~\cite{lin2019kadid} introduced more diverse or high-resolution distortions and helped identify limitations in classical metrics across complex degradation scenarios. Recent efforts such as PIPAL~\cite{ying2020from}, KonIQ-10k~\cite{hosu2020koniq}, and SPAQ~\cite{fang2020perceptual} leverage crowdsourced annotations to capture perceptual variability in the wild. These datasets support the training and evaluation of modern deep learning-based IQA models, particularly in no-reference settings. Despite this progress, domain-specific datasets remain scarce. This limits the generalizability of learned metrics to critical real-world tasks where distortion impacts functional performance rather than only perceived quality.
\section{Objective IQA}\label{sec:objective_iqa}
@@ -45,85 +44,91 @@ These metrics can be further characterized by the domain in which they operate a
The spectral representation, or color spectrum, denotes the channel configuration used by the metric. Many classical approaches focus solely on the luminance channel (Y), which aligns closely with human perception~\cite{sheikh_vif_2006, chandler2007vsnr}. Others compute scores over grayscale or full RGB images, as seen in FSIM~\cite{zhang2011fsim} and its color extension FSIMc. Some metrics operate in alternative color spaces such as YCbCr or CIELab~\cite{Wang2002PQM}, while hyperspectral or multiband metrics process dozens of spectral channels, particularly in remote sensing applications~\cite{Zhou1998SCC,Alparone2008QNR}. Table~\ref{tab:fr_iqa_metrics} summarizes the 40 IQA metrics considered in this work, detailing their reference type, computational domain, publication year, number of tested databases, and spectral characteristics.
\begin{longtable}{l l l c c l}
\begin{longtable}{c c c c}
\caption{Summary of the 40 IQA metrics used}\label{tab:fr_iqa_metrics}\\
\hline % chktex 44
\textbf{Metric} & \textbf{Type} & \textbf{Domain} & \textbf{Color Spectrum} & \textbf{Year} & \textbf{Tested DBs}\\
\textbf{Metric} & \textbf{Type} & \textbf{Year} & \textbf{Tested Databases} \\
\hline % chktex 44
\endfirsthead % chktex 1
\multicolumn{6}{r}{\small\itshape(continuation)}\\ % chktex 6
\multicolumn{4}{r}{\small\itshape(continuation)}\\ % chktex 6
\hline % chktex 44
\textbf{Metric} & \textbf{Type} & \textbf{Domain} & \textbf{Year} & \textbf{Tested Databases} & \textbf{Spectrum}\\
\textbf{Metric} & \textbf{Type} & \textbf{Year} & \textbf{Tested Databases} \\
\hline % chktex 44
\endhead % chktex 1
\hline % chktex 44
\endfoot % chktex 1
MSE~\cite{Gonzalez2008DIP}, & Error-based & Spatial & Grayscale & 1977 & Many \\
MAE~\cite{Gonzalez2008DIP}, & Error-based & Spatial & Grayscale & 1977 & Many \\
RMSE~\cite{Gonzalez2008DIP} & Error-based & Spatial & Grayscale & 1977 & Many \\
PSNR~\cite{Gonzalez2008DIP} & Error-based & Spatial & Grayscale / RGB & 1977 & Many \\
PSNR-B & Error-based & Spatial & Grayscale / RGB & 2008 & Few \\
SNR & Error-based & Spatial & Grayscale / RGB & 1977 & Many \\
ERGAS & Error-based & Remote sensing & Multiband & 2000 & Few \\
$D_{\lambda}$ & Error-based & Remote sensing & Multiband & 2004 & Few \\
SAM & Error-based & Remote sensing & Multiband & 1993 & Few \\
SCC & Error-based & Spatial & Grayscale / RGB & 1904 & Many \\
MSE~\cite{gonzalez2002digital}, & Error-based & 1901 & Many \\
RMSE~\cite{gonzalez2002digital}, & Error-based & 1918 & Many \\
MAE~\cite{gonzalez2002digital}, & Error-based & 1920 & Many \\
C-SSIM~\cite{Hassan2017CSSIM} & FR & spatial & 2017 & 2 & RGB \\
CW-SSIM~\cite{Sampat2009CWSSIM} & FR & complex wavelet & 2009 & 1 & grayscale \\
DISTS~\cite{Ding2020DISTS} & FR & deep features & 2020 & 4 & RGB \\
DSSIM~\cite{Wang2004SSIM} & FR & spatial & 2004 & --- & grayscale \\
ERGAS~\cite{Ranchin2000ERGAS} & FR & spectral & 2000 & 1 & multi-band \\
ESIM (ESSIM)~\cite{Zhang2013ESSIM} & FR & spatial (edges) & 2013 & 2 & grayscale \\
FIQ (IFC)~\cite{Sheikh2005IFC} & FR & wavelet & 2005 & 1 & Y (luma) \\
FSIM~\cite{Zhang2011FSIM} & FR & spatial & 2011 & 3 & grayscale \\
FSIMc~\cite{Zhang2011FSIM} & FR & spatial & 2011 & 3 & RGB \\
G-SSIM~\cite{Liu2012GSSIM} & FR & spatial (gradients) & 2012 & 2 & grayscale \\
GMS + CMS~\cite{Zhang2011FSIM} & FR & spatial & 2011 & 3 & RGB \\
GMSD~\cite{Xue2014GMSD} & FR & spatial (gradients) & 2014 & 3 & grayscale \\
IW-SSIM~\cite{Li2011IWSSIM} & FR & spatial & 2011 & 4 & grayscale \\
L-SSIM~\cite{Wang2004SSIM} & FR & spatial & 2004 & --- & grayscale \\
LPIPS-Alex~\cite{Zhang2018LPIPS} & FR & deep features & 2018 & 4 & RGB \\
LPIPS-Squeeze~\cite{Zhang2018LPIPS} & FR & deep features & 2018 & 4 & RGB \\
LPIPS-VGG~\cite{Zhang2018LPIPS} & FR & deep features & 2018 & 4 & RGB \\
MAE~\cite{Gonzalez2008DIP} & FR & spatial & N/A & --- & grayscale \\
PSNR~\cite{Gonzalez2008DIP} & FR & spatial & N/A & --- & grayscale \\
PSNR-B~\cite{Yim2011PSNRB} & FR & spatial & 2011 & 2 & grayscale \\
SNR~\cite{Gonzalez2008DIP} & FR & spatial & N/A & --- & grayscale \\
SAM~\cite{Kruse1993SAM} & FR & spectral & 1993 & 1 & multi-band \\
SCC~\cite{Zhou1998SCC} & FR & spectral & 1998 & 1 & multi-band \\
R-SSIM~\cite{zhang2011fsim} & FR & spatial & 2012 & 3 & RGB \\
RMSE~\cite{Gonzalez2008DIP} & FR & spatial & N/A & --- & grayscale \\
PSM~\cite{Wang2002PQM} & FR & spatial & 2002 & 1 & grayscale \\
MS-FSIM~\cite{Zhang2011FSIM} & FR & spatial & 2011 & 3 & grayscale \\
MS-SSIM~\cite{Wang2003MSSSIM} & FR & spatial & 2003 & 1 & grayscale \\
MSE~\cite{Gonzalez2008DIP} & FR & spatial & N/A & --- & grayscale \\
SPIQ~\cite{Chen2022SPIQ} & NR & deep features & 2022 & 3 & RGB \\
SR-SIM~\cite{Zhang2012SRSIM} & FR & spatial & 2012 & 3 & RGB \\
SSIM~\cite{Wang2004SSIM} & FR & spatial & 2004 & 1 & grayscale \\
UQI~\cite{Wang2002UQI} & FR & spatial & 2002 & 1 & grayscale \\
VIF~\cite{Sheikh2006VIF} & FR & wavelet & 2006 & 1 & Y (luma) \\
VIFc~\cite{Sheikh2006VIF} & FR & wavelet & 2006 & 1 & Y/CbCr \\
VIFp~\cite{Sheikh2005VIFp} & FR & pixel-domain & 2005 & 1 & Y (luma) \\
VSNR~\cite{chandler2007vsnr} & FR & wavelet & 2007 & 1 & Y (luma) \\
WaDIQaM~\cite{Bosse2018WaDIQaM} & FR & deep features & 2018 & 3 & RGB \\
W-SSIM~\cite{Engelke2011WSSIM} & FR & spatial & 2011 & 1 & grayscale \\
$D_{\lambda}$ (QNR)~\cite{Alparone2008QNR} & FR & spectral/spatial & 2008 & 1 & multi-band \\
\end{longtable}
\end{landscape}
\subsection{Full-Reference IQA}\label{sec:full_reference_iqa}
FR-IQA models estimate the perceptual quality of a distorted image by comparing it to an undistorted reference. These methods assume complete access to the original image and are commonly used in contexts where ground-truth data is available, such as image compression, transmission, enhancement, and restoration~\cite{sheikh2006image, wang2004image}. By directly quantifying deviations from the reference, FR-IQA provides a consistent and interpretable benchmark for evaluating distortion. However, their applicability is limited to scenarios where high-quality reference images exist, making them unsuitable for many real-world applications~\cite{mittal2012making, hosu2020koniq}.
\subsubsection{Fidelity-Based Metrics}\label{sec:error_based_metrics}
\subsubsection{Error-Based Metrics}\label{sec:error_based_metrics}
Fidelity-based metrics quantify distortion by measuring direct numerical differences between the reference and the distorted image. These models operate in the spatial domain and are widely used due to their simplicity, computational efficiency, and clear interpretability~\cite{gonzalez2002digital, wang2009mean}. The most common examples include the mean squared error (MSE), root mean squared error (RMSE), and peak signal-to-noise ratio (PSNR). Although these metrics are sensitive to pixel-level changes, they often fail to capture perceptually relevant distortions, especially when the structure or semantic content of the image is preserved~\cite{wang2004image, chandler2007vsnr}. Extensions such as PSNR-B address some of these limitations by incorporating blocking artifact penalties~\cite{yim2011psnrb}, while other domain-specific metrics, such as ERGAS~\cite{ranchin2000ergas} and SAM~\cite{kruse1993sam}, are used in remote sensing to assess multiband and hyperspectral image fidelity.
Error-based metrics quantify distortion by measuring direct numerical differences between the reference and the distorted image, Let $X = \{x_i\}_{i=1}^N$ and $Y = \{y_i\}_{i=1}^N$ be two images with $N$ pixels each. The pixel-wise error can be defined as $E = \{e_i\}_{i=1}^N$, where $e_i = x_i - y_i$.
The Mean Squared Error (MSE) measures the average squared pixel-wise difference:
The most basic error-based metric is the Mean Squared Error (MSE)~\cite{gonzalez2002digital}, which quantifies the average squared difference between corresponding pixels in the reference and distorted images:
\begin{equation}
\text{MSE} = \frac{1}{N} \sum_{i=1}^{N} (x_i - y_i)^2
\end{equation}
Other related metrics include the Root Mean Squared Error (RMSE), which is simply the square root of MSE, and the Mean Absolute Error (MAE), which averages the absolute differences:
\begin{equation}
\text{RMSE} = \sqrt{\text{MSE}}
\end{equation}
\begin{equation}
\text{MAE} = \frac{1}{N} \sum_{i=1}^{N} |x_i - y_i|
\end{equation}
The Peak Signal-to-Noise Ratio (PSNR) expresses the ratio between the maximum possible pixel value and the MSE, typically in decibels (dB):
\begin{equation}
\text{PSNR} = 10 \cdot \log_{10} \left( \frac{MAX^2}{\text{MSE}} \right)
\end{equation}
where $MAX$ is the maximum pixel value (e.g., 255 for 8-bit images).
For block-based compression artifacts, PSNR-B introduces a blocking effect factor (BEF):
\begin{equation}
\text{PSNR-B} = 10 \cdot \log_{10} \left( \frac{MAX^2}{\text{MSE} + \text{BEF}} \right)
\end{equation}
The Signal-to-Noise Ratio (SNR) compares the total signal power to the noise power:
\begin{equation}
\text{SNR} = 10 \cdot \log_{10} \left( \frac{\sum x_i^2}{\sum (x_i - y_i)^2} \right)
\end{equation}
In remote sensing and hyperspectral imaging, metrics such as the Spectral Angle Mapper (SAM) and ERGAS are used. SAM measures the angle between spectral vectors:
\begin{equation}
\text{SAM} = \cos^{-1} \left( \frac{\langle x, y \rangle}{\|x\| \cdot \|y\|} \right)
\end{equation}
ERGAS quantifies the relative global error between multiband images:
\begin{equation}
\text{ERGAS} = 100 \cdot \frac{h}{l} \cdot \sqrt{ \frac{1}{N} \sum_{i=1}^{N} \left( \frac{\text{RMSE}_i}{\mu_i} \right)^2 }
\end{equation}
where $h$ and $l$ are the spatial resolutions of the high and low resolution images, $\text{RMSE}_i$ is the RMSE for band $i$, and $\mu_i$ is the mean of the reference band.
These error-based metrics are computationally efficient and interpretable, but often correlate poorly with human perception, especially when structural or semantic content is preserved despite pixel-level differences.
%These models operate in the spatial domain and are widely used due to their simplicity, computational efficiency, and clear interpretability~\cite{gonzalez2002digital, wang2009mean}. The most common examples include the mean squared error (MSE), root mean squared error (RMSE), and peak signal-to-noise ratio (PSNR). Although these metrics are sensitive to pixel-level changes, they often fail to capture perceptually relevant distortions, especially when the structure or semantic content of the image is preserved~\cite{wang2004image, chandler2007vsnr}. Extensions such as PSNR-B address some of these limitations by incorporating blocking artifact penalties~\cite{yim2011psnrb}, while other domain-specific metrics, such as ERGAS~\cite{ranchin2000ergas} and SAM~\cite{kruse1993sam}, are used in remote sensing to assess multiband and hyperspectral image fidelity.
The Mean Squared Error (MSE)~\cite{gonzalez2002digital} measures the average squared pixel-wise difference:
\begin{equation}
\text{MSE} = \frac{1}{N} \sum_{i=1}^{N} {x_i - y_i}^2
@@ -192,7 +197,6 @@ Multiscale SSIM (MS-SSIM) extends SSIM by computing similarity at multiple image
\begin{equation}
\text{MS-SSIM}(x, y) = \prod_{j=1}^{M} {[l_j(x, y)]}^{\alpha_j} \cdot {[c_j(x, y)]}^{\beta_j} \cdot {[s_j(x, y)]}^{\gamma_j}
\end{equation}
where $l_j$, $c_j$, and $s_j$ are the luminance, contrast, and structure comparisons at scale $j$, and $\alpha_j$, $\beta_j$, $\gamma_j$ are weights.
The Feature Similarity Index (FSIM) combines phase congruency (PC) and gradient magnitude (GM) to evaluate perceptual quality:
@@ -218,7 +222,6 @@ The Spectral Residual Similarity Index (SR-SIM) evaluates similarity by combinin
\begin{equation}
\text{SR-SIM}(x, y) = \frac{\sum_{i \in \Omega} S_r(i) \cdot G_m(i) \cdot Q(i)}{\sum_{i \in \Omega} S_r(i) \cdot G_m(i)}
\end{equation}
where $S_r(i)$ is the spectral residual saliency map, $G_m(i)$ is the gradient magnitude, and $Q(i)$ is the local structural similarity.
The Information-Weighted Structural Similarity Index (IW-SSIM) assigns greater importance to image regions that carry more structural information. The final score is a weighted average of SSIM values computed at each local window:
@@ -233,7 +236,6 @@ The Wavelet-based SSIM (W-SSIM) extends SSIM into the complex wavelet domain. In
\begin{equation}
\text{W-SSIM}(x, y) = \prod_{s} \prod_{o} \text{SSIM}(x_{s,o}, y_{s,o})
\end{equation}
where $s$ indexes the scale and $o$ the orientation in the wavelet decomposition, and $x_{s,o}$ and $y_{s,o}$ are the corresponding coefficients.
The Edge Strength Similarity Metric (ESSIM or ESIM) modifies SSIM by replacing the structure component with a comparison of edge magnitudes. The edge strength is typically extracted via a Sobel or Prewitt operator. The structure term $\sigma_{xy}$ is replaced by a directional edge similarity $E(x, y)$, such that:
@@ -369,9 +371,9 @@ These developments support the feasibility of learning perceptual quality throug
\section{Steganography}\label{sec:steganography}
Steganography has evolved significantly with the rise of digital media and advanced compression algorithms, leading to a variety of embedding methods and detection strategies. Classical steganographic methods can be broadly categorized into spatial, frequency, and adaptive domain techniques. Spatial domain methods directly manipulate pixel values, most notably through Least Significant Bit (LSB) substitution~\cite{steganography2017}, to encode binary data within an image. Frequency domain methods operate on transformed representations of the image, using tools such as the Discrete Cosine Transform (DCT) or Discrete Wavelet Transform (DWT), embedding data in coefficients less sensitive to compression~\cite{steganography2016survey}. Adaptive methods further refine this by analyzing local characteristics of the image, dynamically choosing embedding regions to minimize perceptual distortion~\cite{steganography2018adaptive}.
Steganography has evolved significantly with the rise of digital media and advanced compression algorithms, leading to a variety of embedding methods and detection strategies. Classical steganographic methods can be broadly categorized into spatial, frequency, and adaptive domain techniques. Spatial domain methods directly manipulate pixel values, most notably through Least Significant Bit (LSB) substitution~\cite{steganography2017}, to encode binary data within an image. Frequency domain methods operate on transformed representations of the image, using tools such as the Discrete Cosine Transform (DCT) or Discrete Wavelet Transform (DWT), embedding data in coefficients less sensitive to compression~\cite{steganography2016survey}. Adaptive methods further refine this by analyzing local characteristics of the image, dynamically choosing to embed regions to minimize perceptual distortion~\cite{steganography2018adaptive}.
However current methods cover a wide range of applications, there has been a growing interest in printer-proof steganography, which survives the printing and scanning process. This is particularly relevant in contexts where physical copies of images are distributed, such as MRTDs. The challenge lies in ensuring that the embedded information remains detectable and robust against distortions introduced by printing and scanning processes.
However, current methods cover a wide range of applications, there has been a growing interest in printer-proof steganography, which survives the printing and scanning process. This is particularly relevant in contexts where physical copies of images are distributed, such as MRTDs. The challenge lies in ensuring that the embedded information remains detectable and robust against distortions introduced by printing and scanning processes.
\subsection{Printer-proof Steganography}
Recent advances employ deep learning to design robust, end-to-end steganographic pipelines that simulate print-scan degradations during training. We highlight four such methods that represent the current state of the art in printer-proof steganography for natural and facial images. 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.
@@ -386,4 +388,4 @@ CodeFace~\cite{codeface2021} extends StegaStamp with a focus on facial images us
RiemStega~\cite{cruz2025riemstega} innovates by introducing a Riemannian manifold-based loss. Instead of comparing pixel values, it represents images through symmetric positive definite (SPD) covariance matrices and minimizes the affine-invariant Riemannian distance between the cover and stego image descriptors. This statistical approach preserves global structural and texture patterns more robustly under degradation. The method maintains high visual fidelity while increasing message recoverability post-printing, and demonstrates strong performance on both generic and facial image datasets.
\subsubsection{StampOne}
StampOne~\cite{stampone2024} incorporates frequency-domain awareness by applying DWT and gradient maps to both image and message during encoding. The model balances frequency bands via a learned attention mechanism and includes frequency-domain discriminators in its loss functions. This results in encoded images with spectral properties closely matching those of the original, enhancing resilience to printer-related distortions such as color shifts and sensor noise. StampOne outperforms prior methods in both visual similarity and decoding accuracy, especially for high-frequency facial features.
StampOne~\cite{stampone2024} incorporates frequency-domain awareness by applying DWT and gradient maps to both image and message during encoding. The model balances frequency bands via a learned attention mechanism and includes frequency-domain discriminators in its loss functions. This results in encoded images with spectral properties closely matching those of the original, enhancing resilience to printer-related distortions such as color shifts and sensor noise. StampOne outperforms prior methods in both visual similarity and decoding accuracy, especially for high-frequency facial features.