Development and prospect of near-field optical measurements and characterizations