Analysis and simulation of images in a Transmission-Electron-Microscope.