Motion tracking using histogram correlation