1. A method comprising: determining a plurality of gradients for each of a plurality of cells of an image; assigning the gradients for a respective cell to a respective one of a plurality of bins; determining a plurality of feature descriptors, wherein each feature descriptor includes a representation of a distribution of gradients between the plurality of bins of a respective cell; and compressing the plurality of feature descriptors.