/colortransfer

A small tool to try to transfer colors between images.

Primary LanguageHaskellMIT LicenseMIT

colortransfer

colortransfer is a small tool that transfers the color distribution of one image to another image. The final image will have the mean and standard deviation of its color channels adjusted to match the mean and standard deviation of the color channels of the source image. It's a clone of https://github.com/jrosebr1/color_transfer but it works on the YCbCr color space, and it is written in Haskell.

Run

nix run github:damianfral/colortransfer -- \
  --source nice-colors.jpg \
  --target my-photo.jpg \
  --output my-photo-with-nice-colors.jpg

Examples

test1 test2 test3