1. A method of processing an image, the method comprising: receiving data corresponding to a plurality of pixels surrounding a particular pixel, wherein each of the plurality of pixels is from an image; determining whether the particular pixel satisfies a first feature test of a plurality of feature tests, the first feature test based on a threshold value and a comparison value; modifying the threshold value in response to determining that the particular pixel satisfies the first feature test; determining whether the particular pixel satisfies a second feature test of the plurality of features tests based on the modified threshold value, wherein the modified threshold value is decremented upon determining that the particular pixel does not satisfy the second feature test; determining a set of comparison results based on the plurality of feature tests; and determining whether the particular pixel of the image is a feature by executing a single processor-executable instruction that, when executed by a processor, causes the processor to identify a subset of the set of comparison results indicating that the particular pixel is the feature, wherein the identified subset corresponds to pixels of the plurality of pixels located in a consecutive order surrounding the particular pixel.