This tutorial leverages the Scilab Computer Vision Module.

Affine Transform usually are used for translation, rotation and scaling of an image to correct its alignment which is distorted or deformed due to the imperfection of hardware (camera), or human error while snapping the image.