On the basis of space-time duality, we propose experimental setups to implement the cross-ambiguity function optically in space and time in one and two dimensions. In space the cross-ambiguity is shown to be related to the coupling efficiency between butt-joined optical waveguides. In time it is related to the spectrogram or the frequency-resolved optical gating techniques for the characterization of optical pulses.