The determination of atomic positions in high-resolution electron micrographs