Histogram filter.