A translation transformation shifts an image without modifying the image size, shape, or orientation. A 2-D translation is represented by a matrixT
of the form:
A 3-D translation is represented by a matrix of the form:
[1 0 0 0; 0 1 0 0; 0 0 1 0; j k l 1];