Cylinder gauge measurement using a position sensitive detector.