An algorithm for selection of the size of a correlation kernel at displacement vector field construction by the method of digital image correlation has been proposed. The algorithm has been tested on simulated and experimental optical images having different texture. The influence of the correlation kernel size and image texture on nose immunity at determining displacements has been studied. It is shown that the proposed algorithm allows to find this size providing the minimum error when determination of displacements and estimation of deformation