In this paper, by a combination of the self-imaging effect for Ronchi gratings and the standard slanted edge modulation transfer function (MTF) measurement method for CCD cameras, the MTF of the CCD array without optics is measured. For this purpose, a Ronchi-type grating is illuminated by an expanded He-Ne laser. A self-image of the grating appears without optics on the CCD array that is located on the Talbot distance. The lines of the self-image of the grating are used as a slanted edge array. This method has all the advantages of the slanted edge method, and also since the array of the edge is ready, the total area of the CCD can be tested. The measured MTF is related to the CCD array without optics.