1. A vision sensor comprising: a sensor element array comprising a plurality of sensor elements, the sensor elements arranged along at least a first dimension and a second dimension of the sensor element array, each of the plurality of sensor elements capable of generating a signal based on light incident upon the sensor element; and dedicated computer vision (CV) computation hardware capable of receiving image data from the sensor element array and configurable to serially compute CV features for one or more two-dimensional patches within the sensor element array based on signals from sensor elements in each of the one or more two-dimensional patches, the dedicated CV computation hardware including switches to allow the CV computation hardware to calculate a first type of CV feature in a first mode and to calculate a second type of CV feature in a second mode.