Stereological analysis and modeling of gradient structures