Speckle metrology