Measurement of non contact alignment with static photoelectric microscope improves the precision of aim and offers the reliable base of automeasurement.Combining with the alignment principle of the photoelectric microscope and establishing the mathematic model,the diameter of the inside pore can be measured.