Commit ae008ddf authored by Daniel Angelov's avatar Daniel Angelov

fixed float warning.

parent c5b57d0c
...@@ -60,12 +60,12 @@ namespace cv{ namespace ccalib{ ...@@ -60,12 +60,12 @@ namespace cv{ namespace ccalib{
using namespace std; using namespace std;
const int MIN_CONTOUR_AREA_PX = 100; const int MIN_CONTOUR_AREA_PX = 100;
const float MIN_CONTOUR_AREA_RATIO = 0.2; const float MIN_CONTOUR_AREA_RATIO = 0.2f;
const float MAX_CONTOUR_AREA_RATIO = 5.0; const float MAX_CONTOUR_AREA_RATIO = 5.0f;
const int MIN_POINTS_FOR_H = 10; const int MIN_POINTS_FOR_H = 10;
const float MAX_PROJ_ERROR_PX = 5.0; const float MAX_PROJ_ERROR_PX = 5.0f;
CustomPattern::CustomPattern() CustomPattern::CustomPattern()
{ {
......
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