1. An apparatus for processing an image of a sample having a pattern that is obtained by scanning electron microscope, said apparatus comprising: a memory for storing a backscattered electron image obtained by the scanning electron microscope; and, a processor for extracting contour data of the pattern from the backscattered electron image.