Analysis of high-resolution images of histological sections of a brain needs to be automatized. For this purpose deep learning methods are used.