Abstract: In the present invention, an image is registered as a model image by setting a window after calculating a main axis angle of the model image stored in an image memory, the main axis angle being defined on a display screen, and then rotating the model image so that the main axis angle becomes a predetermined angle.