Quality testing of optics which is used in laboratories is one of the most important tasks and many procedures are proposed and used. These testing procedures are based on measurement of reflecting laser wavefront from optical component surfaces. By using the Shack-Hartmann method, we can measure a simple curved laser beam wavefront. For achieving this, firstly we reduce optical noise which may disturb our optical data. We improved peak location and sum location algorithms to introduce a simple new algorithm, based on adaptive thresholding. The proposed algorithm scans the image to identify the approximate location of focal spots by looking for local optical centers on CCD screen.
The quality factor of laser beams has attracted considerable attention and some different approaches have been reported to treat the problem. In this paper we analyze quality factor of laser beam and compare the effect of different aberrations on beam quality by expanding pure phase term of wavefront in terms of Zernike polynomials. Also we analyze experimentally the change of beam quality for different Astigmatism aberrations, and compare theoretical results with experimentally results. The experimental and theoretical results are in good agreement.