Fixed wrong coordinates found points on the edges.

used to be so: 1) diff1=edges.at<uchar>(currY1,currX1);
2)currX2+=dx2;  currY2+=dy2;
It is the wrong sequence. Unfortunately, this fix doesn't solve the
problem with searching of points.