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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user