Quantitative characterization of inhomogeneity in thin metallic films using Garncarek's method