A numerical algorithm is considered for inverting the particle shadow correlation function based on the Hankel transformation and the Fourier-Bessel series expansion of the particle size distribution function. The stability of the inverse problem solution is studied based on an analysis of its conditionality and results of numerical experiments. The algorithm is applicable to solving the problems of aerosol microstructure diagnostics for single and multiple scattering in the small-angle approximation.