Visual tracking using histograms