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 a set of comparison results associated with the plurality of pixels, wherein each comparison result of the set of comparison results corresponds to one of the plurality of pixels and indicates a result of comparing an attribute value corresponding to the one of the plurality of pixels to a comparison value, and wherein the comparison value is based on a particular attribute value of the particular pixel and a threshold value; and determining whether the particular pixel of the image is a feature by executing a 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.