Certain embodiments provide a computer system operable to determine a registration mapping between a first medical image and a second medical image, the computer system comprising: a storage device for storing data representing the first medical image and the second medical image and a processor unit operable to execute machine readable instructions to: (a) identify a plurality of elements in the first medical image (b) determine a spatial mapping from each element in the first medical image to a corresponding element in the second medical image to provide a plurality of spatial mappings subject to a consistency constraint and (c) determine a registration mapping between the first medical image and the second medical image based on the plurality of spatial mappings from the respective elements of the first medical image to the corresponding elements of the second medical image.