Improved histogram (threshold and color channel selectors)