sentences:  This allows the coordinate to be multiplied by an affine-transformation matrix, which gives the position that the pixel value will be copied to in the output image.However, to allow transformations that require translation transformations, 3 dimensional homogeneous coordinates are needed.The third dimension is usually set to a non-zero constant, usually 1, so that the new coordinate is [x, y, 1].