EN
In this article we present the method of determining the tip-sample distance using advanced data processing of scanning field's optical picture. This feature can reduce both: the approach process time and the risk of damaging the tip or the sample. Experimental results will be also presented.