1. A non-transitory computer readable storage medium storing a program to be executed by a computer for carrying out image processing of an image obtained by scanning electron microscope for generating the image in accordance with electrons obtained by scanning electrons on a sample; wherein said program runs said computer for adding identification information to each of a plurality of fragments which constitute a pattern within said image acquired by said scanning electron microscope, said identification information being added to each fragment for distinguishing one fragment from another fragment.