Added constants align_canny_threshold1, align_canny_threshold2.

Constants are #defines for canny thresholds used in align().
Added function crop

Added function crop, which cuts off edges. It uses Canny, and without gauss filtration it works better.