diff --git a/thesis/LICENSE b/thesis/LICENSE deleted file mode 100644 index ce149fc..0000000 --- a/thesis/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 Mário Cristóvão - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/thesis/chapters/4-results.tex b/thesis/chapters/4-results.tex index e9d3583..a100d39 100644 --- a/thesis/chapters/4-results.tex +++ b/thesis/chapters/4-results.tex @@ -22,7 +22,7 @@ Metric & \acs{PLCC} & \acs{SRCC} & \acs{MSE} & \acs{MAE} \\ \end{tabular} \end{table} -Each regressor is tuned with \acs{TPE} in Optuna using a Successive Halving pruner and 5-fold cross-validation. The selection metric is the mean of \acs{PLCC} and \acs{SRCC} between cross-validated predictions and \acs{MOS}. Table~\ref{tab:fusion_models_k6} compares fusion regressors trained at \(k=6\). +Each regressor is tuned with \acs{TPE} in Optuna using a successive Halving pruner and 5-fold cross-validation. The selection metric is the mean of \acs{PLCC} and \acs{SRCC} between cross-validated predictions and \acs{MOS}. Table~\ref{tab:fusion_models_k6} compares fusion regressors trained at \(k=6\). \begin{table} \centering @@ -60,19 +60,19 @@ The best fusion model is \acs{CatBoost} with 3{,}000 iterations, learning rate 0 \begin{table} \centering -\caption{Backbone comparison for pMOS-Face. Report 5-fold mean \acs{PLCC}, \acs{SRCC}, \acs{MSE}, and \acs{MAE}.} +\caption{Backbone comparison for training pMOS-Face. Report 5-fold mean \acs{PLCC}, \acs{SRCC}, \acs{MSE}, and \acs{MAE}.} \label{tab:backbones} \begin{tabular}{lcccc} \hline Backbone & \acs{PLCC} & \acs{SRCC} & \acs{MAE} & \acs{MSE} \\ \hline -ResNet-50 & -- & -- & -- & -- \\ -EfficientNet-B1 & -- & -- & -- & -- \\ -ViT-B/16 & -- & -- & -- & -- \\ +ResNet-50 & \textbf{0.9765} & \textbf{0.9743} & $\mathbf{7.48 \times 10^{-4}}$ & \textbf{0.0194} \\ +EfficientNet-B1 & 0.9509 & 0.9512 & $1.77 \times 10^{-3}$ & 0.0298 \\ +ViT-B/16 & 0.9705 & 0.9685 & $9.19 \times 10^{-4}$ & 0.0216 \\ \hline \end{tabular} \end{table} -Our \acs{NR}-\acs{IQA} model, pMOS-Face, uses pseudo-\acs{MOS} from the \acs{FR} fusion and evaluates on faces with human labels. Fig.~\ref{fig:nr-iqa-metric} shows two scenarios. On training data with pseudo and ground-truth \acs{MOS} we obtain \acs{PLCC} 0.9804, \acs{SRCC} 0.9770, \acs{MSE} 6.165, \acs{MAE} 1.638. On the disjoint test set we obtain \acs{PLCC} 0.9679, \acs{SRCC} 0.9691, \acs{MSE} 35.34, \acs{MAE} 4.743, confirming generalization to unseen human labels and alignment with the pseudo supervision. +After adopting ResNet-50 as our \acs{NR}-\acs{IQA} model, pMOS-Face, uses pseudo-\acs{MOS} from the \acs{FR} fusion and evaluates on faces with human labels. Fig.~\ref{fig:nr-iqa-metric} shows two scenarios. On training data with pseudo and ground-truth \acs{MOS} we obtain \acs{PLCC} 0.9765, \acs{SRCC} 0.9743, \acs{MSE} $7.48 \times 10^{-4}$, \acs{MAE} 0.0194. On the disjoint test set we obtain \acs{PLCC} 0.8733, \acs{SRCC} 0.8722, \acs{MSE} 0.0118, \acs{MAE} 0.0882, confirming generalization to unseen human labels and alignment with the pseudo supervision. \begin{figure}[ht] \centering @@ -91,7 +91,7 @@ Our \acs{NR}-\acs{IQA} model, pMOS-Face, uses pseudo-\acs{MOS} from the \acs{FR} \label{fig:nr-iqa-metric} \end{figure} -Table~\ref{tab:nr_scores} compares pMOS-Face to standard \acs{NR}-\acs{IQA} baselines, showing clear gains. +Table~\ref{tab:nr_scores} compares pMOS-Face predictions using ResNet-50 to standard \acs{NR}-\acs{IQA} metrics, showing clear gains. \begin{table} \centering @@ -100,7 +100,7 @@ Table~\ref{tab:nr_scores} compares pMOS-Face to standard \acs{NR}-\acs{IQA} base \hline Metric & \acs{PLCC} & \acs{SRCC} & \acs{MSE} & \acs{MAE} \\ \hline -pMOS-Face (ours) & \textbf{0.9285} & \textbf{0.9345} & \textbf{120.6} & \textbf{9.158} \\ +pMOS-Face (ours) & \textbf{0.8733} & \textbf{0.8722} & \textbf{0.0118} & \textbf{0.0882} \\ \acs{NIQE} & 0.7536 & 0.7431 & 6859 & 82.62 \\ \acs{PIQE} & 0.2993 & 0.3114 & 3297 & 57.05 \\ \acs{BRISQUE} & 0.1234 & 0.5678 & 9101 & 23.45 \\ diff --git a/thesis/chapters/5-conclusion.tex b/thesis/chapters/5-conclusion.tex index 28ea83f..4e12538 100644 --- a/thesis/chapters/5-conclusion.tex +++ b/thesis/chapters/5-conclusion.tex @@ -1,5 +1,5 @@ \section{Conclusion and Future Work} -We proposed a Full-to-No-Reference framework for FIQA that predicts image quality in the absence of reference images by leveraging a pseudo-MOS supervision strategy. Our method first trains a FR fusion model to regress human perceptual judgments on a labeled subset (10\% of the dataset), generating pseudo-MOS labels for a larger unlabeled dataset. These forged labels are then used to train a deep NR regressor, enabling quality prediction from distorted images alone. This two-stage pipeline effectively bridges the gap between fully supervised FR-IQA and reference-free NR-IQA approaches. +We proposed a Full-to-No-Reference framework for \acs{FIQA} that predicts image quality in the absence of reference images by leveraging a pseudo-\acs{MOS} supervision strategy. Our method first trains a \acs{FR} fusion model to regress human perceptual judgments on a labeled subset (10\% of the dataset), generating pseudo-\acs{MOS} labels for a larger unlabeled dataset. These forged labels are then used to train a deep \acs{NR} regressor, enabling quality prediction from distorted images alone. This two-stage pipeline effectively bridges the gap between fully supervised \acs{FR}-\acs{IQA} and reference-free \acs{NR}-\acs{IQA} approaches. -Beyond the development of our NR IQA metric, the proposed framework offers a flexible foundation for constructing a variety of task-specific models. By enabling scalable, perceptually grounded supervision with limited ground-truth annotations, our approach can facilitate quality-aware training in applications such as GANs, forensic imaging, and domain-adapted biometric pipelines. \ No newline at end of file +Beyond the development of our \acs{NR}-\acs{IQA} metric, the proposed framework offers a flexible foundation for constructing a variety of task-specific models. By enabling scalable, perceptually grounded supervision with limited ground-truth annotations, our approach can facilitate quality-aware training in applications such as \acs{GANs}, forensic imaging, and domain-adapted biometric pipelines. \ No newline at end of file diff --git a/thesis/images/cover.pdf b/thesis/images/cover.pdf index d7e01cc..d1be0a8 100644 Binary files a/thesis/images/cover.pdf and b/thesis/images/cover.pdf differ diff --git a/thesis/images/predictions_test.pdf b/thesis/images/predictions_test.pdf index d25f4e5..f0aa21a 100644 Binary files a/thesis/images/predictions_test.pdf and b/thesis/images/predictions_test.pdf differ diff --git a/thesis/images/predictions_train.pdf b/thesis/images/predictions_train.pdf index 64cf831..cbe765c 100644 Binary files a/thesis/images/predictions_train.pdf and b/thesis/images/predictions_train.pdf differ diff --git a/thesis/main.pdf b/thesis/main.pdf index 74010b6..75105bf 100644 Binary files a/thesis/main.pdf and b/thesis/main.pdf differ diff --git a/thesis/misc/.~lock.Capa_Dissertacao_A4comPag.docx# b/thesis/misc/.~lock.Capa_Dissertacao_A4comPag.docx# new file mode 100644 index 0000000..eccc4a0 --- /dev/null +++ b/thesis/misc/.~lock.Capa_Dissertacao_A4comPag.docx# @@ -0,0 +1 @@ +,twevo,sigma,03.09.2025 22:42,file:///home/twevo/.config/libreoffice/4; \ No newline at end of file diff --git a/thesis/misc/Capa_Dissertacao_A4comPag.docx b/thesis/misc/Capa_Dissertacao_A4comPag.docx index fdd384c..01827bb 100644 Binary files a/thesis/misc/Capa_Dissertacao_A4comPag.docx and b/thesis/misc/Capa_Dissertacao_A4comPag.docx differ diff --git a/thesis/misc/acknowledgements.tex b/thesis/misc/acknowledgements.tex index b176203..5e8d3cf 100644 --- a/thesis/misc/acknowledgements.tex +++ b/thesis/misc/acknowledgements.tex @@ -1 +1 @@ -Em primeiro lugar, gostaria de agradecer ao Professor Nuno Gonçalves, por me ter acompanhado nas melhores unidades curriculares durante a licenciatura, e por me ter aceite e presistido comigo durante estes últimos dois anos. Muito obrigado por toda a sua orientação, atenção, paciencia, horas de reuniões e pela sua amizade. Levá-lo-ei no coração para a vida. Ao meu co-orientador Professor João Marcos, que apesar de teimar que o trate por "tu", acompanhou-me \ No newline at end of file +% Em primeiro lugar, gostaria de agradecer ao Professor Nuno Gonçalves, por me ter acompanhado nas melhores unidades curriculares durante a licenciatura, e por me ter aceite e presistido comigo durante estes últimos dois anos. Muito obrigado por toda a sua orientação, atenção, paciencia, horas de reuniões e pela sua amizade. Levá-lo-ei no coração para a vida. Ao meu co-orientador Professor João Marcos, que apesar de teimar que o trate por "tu", acompanhou-me \ No newline at end of file diff --git a/thesis/misc/title_page.tex b/thesis/misc/title_page.tex index a4cd323..837c67b 100644 --- a/thesis/misc/title_page.tex +++ b/thesis/misc/title_page.tex @@ -10,7 +10,7 @@ \vspace{1cm} {\large{\textbf{Supervisor:}\\\supervisorname\par}} \vspace{5mm} -% {\large{\textbf{Co-Supervisor:}\\\cosupervisorname}} + {\large{\textbf{Co-Supervisor:}\\\cosupervisorname}} \vspace{1cm} {\large{\textbf{Jury:} diff --git a/thesis/notes/.TODO.txt b/thesis/notes/.TODO.txt deleted file mode 100644 index 0b06b37..0000000 --- a/thesis/notes/.TODO.txt +++ /dev/null @@ -1,20 +0,0 @@ - - -# Metodologia -- Explicar melhor o FRLL -- Explicar todos os modelos de regressão -- Experimentar com optimização com OPTUNA (dashboard) - -# Resultados -- Experimentar k 68% e 99.8% -- Experimentar outras CNNs (talvez uma ViT) - -# Crossing over -- Testar com outras base de dados: - - Com o MOS deles - - Com o nosso MOS - - Treino MISTO -- Adicionar datasets do Athar: - -- Organizar refs -- |grafico de metricas| diff --git a/thesis/notes/datasets.txt b/thesis/notes/datasets.txt deleted file mode 100644 index 2187790..0000000 --- a/thesis/notes/datasets.txt +++ /dev/null @@ -1,28 +0,0 @@ -\begin{table}[ht] -\centering -\caption{IQA datasets} -\begin{tabular}{lcccccc} -\toprule -\textbf{Dataset} & \textbf{Score Type} & \textbf{Protocol / Test} & \textbf{Participants} & \textbf{Stimuli} & \textbf{Total Ratings} & \textbf{Notes} \\ -\midrule -LIVE IQA & MOS / DMOS & ACR + DSCQS (SS + DS) & 29 & 779 & 22,591 & Classic lab dataset \\ -LIVE MD & MOS & SS (Hidden-ref single-stimulus) & Not stated & Not stated & Not stated & Multiply-distorted images :contentReference[oaicite:2]{index=2} \\ -MDID (MDID2017) & MOS & Pair Comparison Sorting (DS) & 192 & 1,600 & 307,200 & 20 refs × 80 distortions :contentReference[oaicite:3]{index=3} \\ -TID2008 & DMOS & DSCQS (DS) & 838 & 1,700 & 1,424,600 & Wide use benchmark \\ -TID2013 & DMOS & DSCQS (DS) & 654 & Not stated & Not stated & Extension of TID2008 \\ -CSIQ & MOS & 9‑point ACR (SS) & 35 & 866 & 30,310 & Normalized 0–1 scores \\ -CIDIQ & MOS & 9‑point ACR (SS) & ~15 & Not stated & Not stated & Lab-controlled small test set \\ -PIPAL & MOS & SS & 89 & Not stated & Not stated & High-rater DL dataset \\ -KADID‑10k & MOS & ACR (SS) & 30 & 810 & 24,300 & Many distortions per ref \\ -KonIQ‑10k & MOS & Crowdsourced ACR (SS) & 1,467 & 10,073 & ~14.8M & Large crowd study \\ -SPAQ & MOS & Crowdsourced ACR (SS) & 1,136 & Not stated & Not stated & Cleaned for reliability \\ -CLIVE & MOS & Crowdsourced ACR (SS) & 240 & 1,162 & ~278,880 & Real-world distortions \\ -FLIVE & MOS & SS & 120 & Not stated & Not stated & Smartphone images in lab \\ -MDIVL & MOS & Crowdsourced ACR (SS) & 3,000+ & Not stated & 81,000+ & Large mobile image set \\ -BID & MOS & ACR (SS) & 90 & Not stated & Not stated & Blur-distorted smartphone captures \\ -AVT & MOS & Crowdsourced ACR (SS) & Not stated & Not stated & Not stated & GUI & screen content images \\ -PaQ‑2‑PiQ & MOS & Patch-wise ACR (SS) & 87 & ~40K & ~3.48M & Patch-level quality ratings \\ -AVIRIS, HYDICE, ROSIS -\end{tabular} -\label{tab:iqa_dataset_tests_extended} -\end{table}