Computerized image processing for evaluation of sampling error in ion microprobe analysis