The optical transfer function (OTF), as an objective measure of the quality of optical and electro-optical systems, is closely related to the point spread function (PSF) and other derived characteristics, such as the modulation transfer function (MTF) and the phase transfer function (PTF). The main objective of this paper has been to use a generalized OTF, which is primarily dedicated to the description of linear space invariant systems (LSI), for the purpose of sampled structures of image sensors (e.g. CCD, CMOS, CID) including smart ones, and to implement the derived results while utilizing the graphical user interface (GUI) in Matlab programming environment. The model used considers the effects of the detector photo sensitive area, sampling process, as well as other CCD specific parameters, such as the charge transfer efficiency (CTE) or diffusion in order to derive the overall MTF shape. The paper also includes an experimental measurement in the real system and a comparison with the results of modeling.