Keratometry is the measurement of the curvature of the anterior surface of the cornea, crucial for diagnosing astigmatism and determining the appropriate fit for contact lenses. It is commonly performed using a keratometer, which assesses the reflection of light from the cornea to calculate its curvature and power.