1. A method of tracking a target, comprising the steps of: (a) acquiring a first spectral image of a scene that includes the target; (b) designating a spectral reference window, in said first spectral image, that includes a respective plurality of pixel vectors; (c) acquiring a second spectral image, of said scene, that includes a respective plurality of pixel vectors; and (d) hypercorrelating said spectral reference window with said second spectral image, thereby obtaining a hypercorrelation function, a maximum of said hypercorrelation function then corresponding to a location of the target in said scene.