Shadow speckle metrology