Variable focal length lenses enable rapid focusing in machine vision applications where the working distance between the object and the camera system is frequently changing.