In the article the basic scheme of matrix structure for pattern recognition is given. Basic principles and features of pattern recognition by the method of difference slices are considered