TO provide Affine transformation
img_ret=cv_warpAffine_image(image,x,y)
It is the Input Image that is to be transformed
x coordinate by which image is to be transformed (integer)
x coordinate by which image is to be transformed (integer)
Image returned after affine transformed
Affine Transform
Translation is the shifting of objects location. If you know the shift in (x,y) direction then you could shift the image by x and y coordinated