1. A method for registering at least one part of a first image and at least one part of a second image, comprising the steps of: a. providing a first image of the real environment and a coordinate system associated to the first image b. providing a second image of the real environment c. providing measurements of orientation and/or distance of a capturing device with respect to the real environment while capturing the second image; d. determining a collineation warping function from the measurements associated to at least one part of the second image; e. transforming the at least one part of the second image by applying the corresponding determined collineation warping function; f. determining a second warping function for registering the transformed at least one part of the second image and the at least one part of the first image by means of an image registration method; and g. registering the at least one part of the second image and the at least one part of the first image using the collineation warping function and the second warping function.