The computation of images of lines or strips on a substrate and trenches in a substrate or a layer above a substrate, all made of dielectric or absorbing materials, using integral equations equivalent to Maxwell's equations and using Fourier optics are