Texture description through histograms of equivalent patterns