A web application that lets you magically correct the colour of photos you've taken underwater!
- support mobile devices
- support video load / preview
- conditional UI
- allow to reupload a new photo easily (without reloading the page)
- allow double click to reset sliders
- re-implement the matrix generation algorithm in rust
- use the rust version of the algorithm with WASM
- add loading status bar
- for file reading
- for matrixes generation
- for download / export
- support video export
- support multiple file uploads
- add metadata to generated files
- metadata support for JPG files
- drop the thumbnail in metadata
- partial metadata support for other files
- use exiv2 wasm ?
- support video metadata
- metadata support for JPG files
- add option for unique / multiple matrix in videos
- support video audio
- support unsupported file format (ffmpeg.wasm transcoding for video, HEIC convert for images)
- setup PWA
- support scrolling / zooming in the image
When you take photos underwater, colours disappear quickly because the water absorbs certain wavelengths of light (depending on your depth). So colours like red will quickly disappear. This programme will try to restore the original colours.
Warning: the result will not be the same as if you had used a flash. It's more like cheating, but it can give very good results.
Sources: [wikipedia](https://fr.m.wikipedia.org/wiki/Fichier:Absorption_des_couleurs_sous_l%27eau.svg)Online versions available at:
- https://underwater-images-color-correction.vercel.app
- https://underwater-images-color-correction.pages.dev
Using javascript, webgl (PIXI.js), rust and webassembly (all transformations are done in your browser, nothing is uploaded to any server).
This repo was inspired by the algorithm at https://github.com/nikolajbech/underwater-image-color-correction.
src: https://github.com/nikolajbech/underwater-image-color-correction