Measurement of particle size, volume fraction, and foil thickness from electron microscopic observations