We analyze the self-imaging process produced by a transmission grating whose strips present two different roughness levels. This kind of grating periodically modulates the transmitted light owing only to the different microtopographic properties of the strips. In spite of the fact that the grating is not purely periodic, it produces a kind of self-image at Talbot distances. These self-images gradually appear as light propagates, but they are not present just after the grating, as occurs in amplitude or phase gratings. There exists a distance from the grating, which depends on the stochastic properties of roughness, from which the contrast of the self-images becomes stable. Important cases are analyzed in detail, such as low-and high-roughness limits. We assume for the calculations that the grating can be used in a mobile system. Simulations using the Rayleigh-Sommerfeld regime have been performed, which confirm the validity of the theoretical approach proposed in this work