Light loss
Water absorbs red light faster than blue or green. Scattered light softens the contrast. I used estimated depth and a light attenuation model to make synthetic pairs: a clear image and a degraded version with a known target.
I trained and evaluated generative models to restore colour and contrast underwater, then tested whether their corrections stayed consistent over time.
Follow the dive logI stacked the centre column of each frame into a single image so I could compare colour shifts and edge jitter across time.


Scroll or swipe sideways · Arrow keys to scrub · Space to pause or resume0.0 s
Each strip stacks the marked centre columns at 24 frames per second. Time runs downward.
By comparing the same clip before and after correction, I could look for both colour recovery and flicker.
Red attenuates fastest with distance. The dashed curves show the starting signal before illustrative correction.
Scroll or swipe sideways · Arrow keys to scrub · Space to pause or resume
RGB signal
Underwater
Pix2Pix learns from paired images. CycleGAN learns from collections without matching pairs.
Scroll or swipe sideways · Arrow keys to scrub · Space to pause or resume
Water absorbs red light faster than blue or green. Scattered light softens the contrast. I used estimated depth and a light attenuation model to make synthetic pairs: a clear image and a degraded version with a known target.
I trained Pix2Pix on synthetic pairs and CycleGAN on unpaired collections I assembled. I modified CycleGAN to take consecutive frames and output either one frame or a sequence, and tested separate depth and video losses with Pix2Pix.
I tested temporal consistency on a clip left out of training. I compared colour bands and the edges of a pole over time. Video-to-image CycleGAN gave smoother edges, and depth-loss Pix2Pix gave the best qualitative balance of colour and consistency on that clip.