function RST = registration (image1, image2)
  ## 'image1' and 'image2' are both [height x width] matrices of
  ## floating point numbers between 0 (black) and 1 (white).

  ## 'RST' should be a [angle scale xOffset yOffset] vector of floating
  ## point numbers corresponding to the affine transformation to apply
  ## to image1 (test image) in order to obtain the best possible
  ## intercorrelation with image2 (reference image).  Quality of the
  ## result should be mitigated by the complexity of the algorithm.

  RST = [0 1 0 0];
endfunction
