The measurement of depth motion by speckle photography