khurramsh22
Newbie level 3
Hi All,
I am trying to apply 2D transformation on an image. I have got some success but with some problems. Whenever I try to rotate an image, the output image (after rotation) left some pixels empty (no color). How can I remove this bug? Out is ok in case if I am aplying scaling, shearing, translation. Scalling also show same error, when it is increasing the size of image.
I am using simple technique as follows:
A' = T * A
A' is the coordinates of the point after transformation.
T is the transformation matrix
A is the coordinates of the point before transformation.
Waiting for urgent reply
Khurram
I am trying to apply 2D transformation on an image. I have got some success but with some problems. Whenever I try to rotate an image, the output image (after rotation) left some pixels empty (no color). How can I remove this bug? Out is ok in case if I am aplying scaling, shearing, translation. Scalling also show same error, when it is increasing the size of image.
I am using simple technique as follows:
A' = T * A
A' is the coordinates of the point after transformation.
T is the transformation matrix
A is the coordinates of the point before transformation.
Waiting for urgent reply
Khurram