A stochastic approach to contrast detection autofocusing. A 2D case analysis | IEEE Conference Publication | IEEE Xplore