Add normalize() for simple histogram stretching

Available as normalize() or normalise().
Normalization takes place in LAB place and thus should not change any
colors.

Existing alpha channels are preserved untouched by normalization.
This commit is contained in:
Bernhard K. Weisshuhn
2015-04-16 19:04:33 +02:00
parent ba034a8164
commit dce36e0074
9 changed files with 240 additions and 3 deletions

BIN
test/fixtures/2x2_fdcce6.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 B