Add histogram and spitial filter.