d; a stage coordinate detecting unit for detecting X-Y coordinates of the stage; a secondary electron detecting unit for detecting a secondary electron and a deflected electron which are emitted from the sample by 