Commit ffe06315 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #5735 from Astero92:angle_unit

parents f95203e9 0ba66aa5
......@@ -839,7 +839,7 @@ void AKAZEFeatures::Compute_Main_Orientation(KeyPoint& kpt, const std::vector<TE
if (sumX*sumX + sumY*sumY > max) {
// store largest orientation
max = sumX*sumX + sumY*sumY;
kpt.angle = getAngle(sumX, sumY);
kpt.angle = getAngle(sumX, sumY) * 180.f / static_cast<float>(CV_PI);
}
}
}
......
......@@ -638,7 +638,7 @@ void KAZEFeatures::Compute_Main_Orientation(KeyPoint &kpt, const std::vector<TEv
if (sumX*sumX + sumY*sumY > max) {
// store largest orientation
max = sumX*sumX + sumY*sumY;
kpt.angle = getAngle(sumX, sumY);
kpt.angle = getAngle(sumX, sumY) * 180.f / static_cast<float>(CV_PI);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment