bug for point data and bug fix for group contours

This commit is contained in:
ori agranat
2019-12-01 22:06:06 +02:00
parent 58d421166d
commit 1858df993d
3 changed files with 76 additions and 11 deletions

View File

@@ -128,17 +128,13 @@ public class GroupContoursPipe implements Pipe<List<MatOfPoint>, List<RotatedRec
switch (intersection) {
case Up: {
if (intersectionY < massY) {
if (mA > 0 && mB < 0) {
return true;
}
}
break;
}
case Down: {
if (intersectionY > massY) {
if (mA < 0 && mB > 0) {
return true;
}
}
break;