Method and system for obtaining a potential distribution image of a specimen using two probes having two probes contacted with a patterned surface of the specimen, a scanning unit for scanning a beam of electrons or ions over the specimen, a potential detection unit for detecting the electric potential at an arbitrary position on the specimen using the probes, and an acquisition unit for obtaining a potential distribution image of the specimen while synchronizing the output from the potential detection unit with the scanning of the beam.