Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
586ace18
Commit
586ace18
authored
Jul 27, 2014
by
Alexander Mordvintsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
double to float cast warning fix
parent
5f47f701
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
hist_cost.hpp
modules/shape/include/opencv2/shape/hist_cost.hpp
+4
-4
shape_distance.hpp
modules/shape/include/opencv2/shape/shape_distance.hpp
+2
-2
No files found.
modules/shape/include/opencv2/shape/hist_cost.hpp
View file @
586ace18
...
...
@@ -73,7 +73,7 @@ public:
};
CV_EXPORTS_W
Ptr
<
HistogramCostExtractor
>
createNormHistogramCostExtractor
(
int
flag
=
DIST_L2
,
int
nDummies
=
25
,
float
defaultCost
=
0.2
);
createNormHistogramCostExtractor
(
int
flag
=
DIST_L2
,
int
nDummies
=
25
,
float
defaultCost
=
0.2
f
);
/*! */
class
CV_EXPORTS_W
EMDHistogramCostExtractor
:
public
HistogramCostExtractor
...
...
@@ -84,20 +84,20 @@ public:
};
CV_EXPORTS_W
Ptr
<
HistogramCostExtractor
>
createEMDHistogramCostExtractor
(
int
flag
=
DIST_L2
,
int
nDummies
=
25
,
float
defaultCost
=
0.2
);
createEMDHistogramCostExtractor
(
int
flag
=
DIST_L2
,
int
nDummies
=
25
,
float
defaultCost
=
0.2
f
);
/*! */
class
CV_EXPORTS_W
ChiHistogramCostExtractor
:
public
HistogramCostExtractor
{};
CV_EXPORTS_W
Ptr
<
HistogramCostExtractor
>
createChiHistogramCostExtractor
(
int
nDummies
=
25
,
float
defaultCost
=
0.2
);
CV_EXPORTS_W
Ptr
<
HistogramCostExtractor
>
createChiHistogramCostExtractor
(
int
nDummies
=
25
,
float
defaultCost
=
0.2
f
);
/*! */
class
CV_EXPORTS_W
EMDL1HistogramCostExtractor
:
public
HistogramCostExtractor
{};
CV_EXPORTS_W
Ptr
<
HistogramCostExtractor
>
createEMDL1HistogramCostExtractor
(
int
nDummies
=
25
,
float
defaultCost
=
0.2
);
createEMDL1HistogramCostExtractor
(
int
nDummies
=
25
,
float
defaultCost
=
0.2
f
);
}
// cv
#endif
modules/shape/include/opencv2/shape/shape_distance.hpp
View file @
586ace18
...
...
@@ -116,7 +116,7 @@ public:
/* Complete constructor */
CV_EXPORTS_W
Ptr
<
ShapeContextDistanceExtractor
>
createShapeContextDistanceExtractor
(
int
nAngularBins
=
12
,
int
nRadialBins
=
4
,
float
innerRadius
=
0.2
,
float
outerRadius
=
2
,
int
iterations
=
3
,
float
innerRadius
=
0.2
f
,
float
outerRadius
=
2
,
int
iterations
=
3
,
const
Ptr
<
HistogramCostExtractor
>
&
comparer
=
createChiHistogramCostExtractor
(),
const
Ptr
<
ShapeTransformer
>
&
transformer
=
createThinPlateSplineShapeTransformer
());
...
...
@@ -137,7 +137,7 @@ public:
};
/* Constructor */
CV_EXPORTS_W
Ptr
<
HausdorffDistanceExtractor
>
createHausdorffDistanceExtractor
(
int
distanceFlag
=
cv
::
NORM_L2
,
float
rankProp
=
0.6
);
CV_EXPORTS_W
Ptr
<
HausdorffDistanceExtractor
>
createHausdorffDistanceExtractor
(
int
distanceFlag
=
cv
::
NORM_L2
,
float
rankProp
=
0.6
f
);
}
// cv
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment