histogram filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>