Equalize
Mix.install([
{:image, "~> 0.54"},
{:kino, "~> 0.14"}
])
Prepare image
dark_image = Image.open!("/home/livebook/vix/dark.jpg")
Execution
[
dark_image,
Image.equalize!(dark_image),
Image.equalize!(dark_image, :each),
Image.equalize!(dark_image, :luminance)
]
|> Kino.Layout.grid(columns: 2)