An auto-focus algorithm based on maximum gradient and threshold | IEEE Conference Publication | IEEE Xplore