GPU implementation of some algorithms used in image registration