Real-time tracking of a tennis ball by combining 3D data and domain knowledge