The invention discloses a
coal and rock recognition method based on random local image features. According to the method, the random local image features are used for describing
coal images and rock images, the random local image features of
coal samples and rock training samples are selected through a clustering
algorithm to serve as a primitive dictionary, then the selected random local image features of the coal sample images and the
rock sample images are labeled by the primitive dictionary according to the nearest-neighbor rule, a primitive frequency counting regular
histogram of one coal
sample image or one
rock sample image shows one mode of coal or rock, and the coal features and the rock features are expressed in
multiple modes; when the coal and the rock are recognized, random local image features are extracted and a
histogram is built for images to be recognized according to the same method with the training images, and then the
modes are compared with the
modes learnt in the training stage, are measured through the Bhattacharyya coefficient and are recognized according to the nearest-neighbor rule. According to the method, images, under different light rays and different
viewpoints, of different kinds of coal and rock serve as the training samples, and therefore influence by changes of light and imaging
viewpoints is small, influence by changes of varieties of coal and rock is avoided, the recognition rate is high, and the stability is good.