On-line processing of transmission electron microscopic images