1. A method comprising: dividing a digital image into a plurality of equal size patches; dividing each patch of the plurality of equal size patches into eight texture directions; creating a feature vector for each patch of the plurality of equal size patches; determining a dominant gradient direction corresponding to each patch of the plurality of equal size patches; generating a texture histogram for each patch of the plurality of equal size patches based on the feature vector for each patch; and combining the histograms to create a combined histogram to represent the digital image.