1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

Forward port MCC fix

Somehow, https://github.com/opencv/opencv_contrib/pull/3939 was
not forward ported.
This commit is contained in:
Vincent Rabaud
2026-06-12 17:09:22 +02:00
parent a3dc35d47d
commit 4c8c215d59
+1 -1
View File
@@ -167,7 +167,7 @@ void CBoundMin::calculate()
j = (i + 1) % 4;
Vcart = lines[i].cross(lines[j]);
if (fabs(Vcart.z) <= 1e-6){
continue;
return;
}
Vhom.x = Vcart.x / Vcart.z;
Vhom.y = Vcart.y / Vcart.z;