Merge pull request #6768 from tomoaki0705:fixEstimateAffine3DThreshold

This commit is contained in:
Alexander Alekhin 2016-07-04 12:17:16 +00:00
commit da69cd08db

View File

@ -462,7 +462,7 @@ public:
double b = F[4]*f.x + F[5]*f.y + F[ 6]*f.z + F[ 7] - t.y;
double c = F[8]*f.x + F[9]*f.y + F[10]*f.z + F[11] - t.z;
errptr[i] = (float)std::sqrt(a*a + b*b + c*c);
errptr[i] = (float)(a*a + b*b + c*c);
}
}