Three-dimensional transfer-function of an inhomogeneously broadened atomic medium for all optical spatio-temporal video clip correlation