Skip to main content
. 2021 May 7;23(5):574. doi: 10.3390/e23050574
Algorithm 1 Weights Training of the Denoiser and ResFi
Input: a set of noisy images n, labels l, max iterations of Denoiser maxid, max iterations of ResFi maxir, learning rate α and β
Output: Trained weights w
//Weight training of Denoiser
Generate Bernoulli sampled image pairs of a noisy image: {n^m,n¯m}m=1M
Randomly initialize θ
foriteration = 1: maxid do
Update the Denoiser by descending the stochastic gradient:
θ=θαLD(θ)θ
end
Obtain the clean image: x=θ(n^m)
//Weight training of ResFi
Randomly initialize w
foriteration = 1: maxid do
Randomly select a mini-batch of N training samples:
{xi,li}, i=1,,N
Update the ResFi by descending the stochastic gradient:
w=wβLR(w)w
End
Obtain the optimal weights: w