algorithm now finds the alignment pattern and uses it to transform and crop the image
merge and cleanup