Skip to main content
. 2024 Feb 27;26(3):209. doi: 10.3390/e26030209
Algorithm 1 Complete algorithm with TFADGAN and SR method
Input: HR thermal image Ihreal, Unpaired LR thermal image Ilreal
Output: Degraded LR thermal image Ildg, Reconstructed HR thermal image Ihsr
 1: for i in range(N) do
 2:    Select unpaired HR thermal image Ihreal and LR thermal image Ilreal
 3:    Train TFADGAN to generate degraded LR thermal image Ildg corresponding to HR thermal image Ihreal and compute total loss in Equation (13)
 4:    Update TFADGAN
 5: end for
 6: for i in range(M) do
 7:    Select the degraded LR thermal image Ildg and paired HR thermal image Ihreal
 8:    Train SR network, generate reconstructed HR thermal image Ihsr and compute reconstruction loss
 9:    Update SR network
10: end for