Study of TEM micrographs of thin-film cross-section replica using spectral analysis