Apparatus for generating a transformation of a first data matrix to form a second data matrix wherein the value of each data element is a function of the values of the elements in the neighborhood of the equivalent data element in the first matrix, comprising:a pair of serial neighborhood processors each including a neighborhood register section, associated serial configuring storage means and a n