A technique is proposed for reconstructing spatial distribution of the extinction coefficient of an inhomogeneous coursely disperse medium from its optical transfer function. The technique is based on solving the radiation transfer equation in the small angle approach. Approximate expressions are derived for estimating the distance to a scattering layer and its thickness. A regularization algorithm for solving the inverse problems is described and its precision characteristics are studied in a numerical experiment.