Derivation of optical flow using a spatiotemporal-Frequency approach