Histogram based object tracker