Processing of Electron Microscope Images of Complex Nanoscale Devices and Materials