A primary function of compact disk measuring systems is the measurement of various types of defects which represent either functional or cosmetic flaws and the measurement of the profile of the compact disk. Functional flaws can make a very bad interference with the reproduction of the recorded music. Cosmetic flaws are visual imperfections whose presence can cause the rejecting of the disc by the production line. A projection moire method is invented in which a light beam passes through a grating, and is projected onto the object by overlapping with the virtual grating in the computer software. The object's 3-dimensional profile will be reconstructed and the object's profile quality can be improved by our new method for moire image processing.