A non-transitory computer readable medium storing a program code, wherein the program code, when executed by a processor, is used for performing a method comprising:
- removing unnecessary information from a real diffraction pattern image;
- generating a synthetic diffraction pattern image corresponding to the real diffraction pattern image in which the unnecessary information is removed;
- and
- generating an image belonging to a real diffraction pattern domain from an image belonging to a synthetic diffraction pattern domain or generating the image belonging to the synthetic diffraction pattern domain from the image belonging to the real diffraction pattern domain by using at least one of the real diffraction pattern image in which the unnecessary image is removed and the synthetic diffraction pattern image.