Skip to main content
. 2024 Feb 28;24(5):1565. doi: 10.3390/s24051565
Algorithm 1 Iterative Seeding
  • Require: Reference gray-scale image y0, function TranslateIntensity returning intensities of visible light given the current near-infrared intensity and the current visible-light intensity

  •     xT∼N(0,I)

  •     for  t=T,⋯,1  do

  •         yt−1∼q(yt−1|y0)

  •         x˜t−1∼pθ(x˜t−1|xt)

  •         yt−1I,yt−1C= DecoupleIntensity(yt−1)

  •         x˜t−1I,x˜t−1C= DecoupleIntensity(x˜t−1)

  •         xt−1I= TranslateIntensity(yt−1I,x˜t−1I)

  •         xt−1= CoupleIntensity(xt−1I,x˜t−1C)

  •      return  x0