Fixes to make crop work

Tried every possible way to make crop work normally. I think, Canny can work wrong.
In this fix: significantly lowered thresholds for Canny, integer_operator now firstly sums all channels, so it is not applied to every channel separately (for sobel).
Still, some edges are not being cut properly.
Disabled a debug print