Text this: Calculation of discrete correlation functionin facet systems of techical vision