The present application discloses methods and systems to track the anterior segment while establishing a position of the delay which will permit good control of the placement of anterior segment structures. This allows accurate dewarping by maximizing the amount of corneal surface that is imaged as well as reducing or eliminating overlap between real and complex conjugate images present in frequency-domain optical coherence tomography. A method to dewarp surfaces given partial corneal surface information is also disclosed.