[rt #111871] re-work autolevels
authorTony Cook <tony@develop-help.com>
Sun, 21 Feb 2016 00:45:43 +0000 (11:45 +1100)
committerTony Cook <tony@develop-help.com>
Sun, 21 Feb 2016 00:45:43 +0000 (11:45 +1100)
commitaef782f2f3bdef30991a1782e5c00b70dbcaba77
treedfc6c8c5f54ac6a52596126b313fa872648bb9f2
parenta6f7bffefee7c8b1c8bf22e3dda977bd3ec6efbf
[rt #111871] re-work autolevels

- avoid an off-by-one error when calculating the minimum and maximum
  levels from the histogram

- optimize 8-bit images by using a lookup table instead of doing
  a floating point multiply for each sample
MANIFEST
filters.im
t/400-filter/020-autolevels.t [new file with mode: 0644]