The research focus of the current paper are modern algorithms for solving the problem of automatic diagnostic of thorax diseases based on X-ray images. Special attention was paid to image preprocessing, classification together with calculation of features and their comparison in terms of efficiency. Approaches mentioned in this paper are used for development of new algorithm for automatic diagnostic of medical images.