Therein algorithms of application of digital models for evaluation of porosity and fractional composition of coals based on analysis of their optical images are offered. The models allow allocating significant informational objects and estimation of structural and filtration properties of coals. The results of algorithms application on recognition of the optical images of coals are presented, the particle size distribution of coal charge and porosity of coal is defined.