1. A method comprising: capturing a digital image of an object by a sensor of a device; generating an image signal from the sensor; calculating an envelope of the image signal at different spatial scales; and filtering the envelope to extract object features, where the method is performed by one or more processors.