1. A reconfigurable computation device for image processing, the device comprising: at least one neighborhood-based computation matrix generating pairing sub-scores between pairs of pixels resulting from a first series of operations configurable via data contained in a configuration register; at least one flexible reduction tree carrying out on the pairing sub-scores a second series of operations configurable via the configuration register on neighborhoods of pixels configurable via the configuration register; and at least one analysis matrix carrying out computations of scores configurable via the configuration register on the results arising from the flexible reduction tree.