TO provide Affine transformation
img_ret=cv_warpAffine_path(path,x,y)
the image will be read from this path , but the image will be read as a coloured image
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 object's location. If you know the shift in (x,y) direction then you could shift the image by x and y coordinated