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
04913f5a
Commit
04913f5a
authored
Sep 04, 2013
by
lluis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed trailing whitespaces
parent
b9a5e919
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
erfilter.cpp
modules/objdetect/src/erfilter.cpp
+11
-0
No files found.
modules/objdetect/src/erfilter.cpp
View file @
04913f5a
...
@@ -805,11 +805,15 @@ ERStat* ERFilterNM::er_tree_filter ( InputArray image, ERStat * stat, ERStat *pa
...
@@ -805,11 +805,15 @@ ERStat* ERFilterNM::er_tree_filter ( InputArray image, ERStat * stat, ERStat *pa
findContours
(
region
,
contours
,
hierarchy
,
RETR_TREE
,
CHAIN_APPROX_NONE
,
Point
(
0
,
0
)
);
findContours
(
region
,
contours
,
hierarchy
,
RETR_TREE
,
CHAIN_APPROX_NONE
,
Point
(
0
,
0
)
);
//TODO check epsilon parameter of approxPolyDP (set empirically) : we want more precission
//TODO check epsilon parameter of approxPolyDP (set empirically) : we want more precission
// if the region is very small because otherwise we'll loose all the convexities
// if the region is very small because otherwise we'll loose all the convexities
<<<<<<<
HEAD
<<<<<<<
HEAD
<<<<<<<
HEAD
approxPolyDP
(
Mat
(
contours
[
0
]),
contour_poly
,
min
(
rect
.
width
,
rect
.
height
)
/
17
,
true
);
approxPolyDP
(
Mat
(
contours
[
0
]),
contour_poly
,
min
(
rect
.
width
,
rect
.
height
)
/
17
,
true
);
=======
=======
approxPolyDP
(
Mat
(
contours
[
0
]),
contour_poly
,
(
float
)
min
(
rect
.
width
,
rect
.
height
)
/
17
,
true
);
approxPolyDP
(
Mat
(
contours
[
0
]),
contour_poly
,
(
float
)
min
(
rect
.
width
,
rect
.
height
)
/
17
,
true
);
>>>>>>>
fixed
a
bug
in
the
calculation
of
the
number
of
inflexion
points
feature
>>>>>>>
fixed
a
bug
in
the
calculation
of
the
number
of
inflexion
points
feature
=======
approxPolyDP
(
Mat
(
contours
[
0
]),
contour_poly
,
(
float
)
min
(
rect
.
width
,
rect
.
height
)
/
17
,
true
);
>>>>>>>
removed
trailing
whitespaces
bool
was_convex
=
false
;
bool
was_convex
=
false
;
...
@@ -1130,7 +1134,10 @@ Ptr<ERFilter> createERFilterNM1(const Ptr<ERFilter::Callback>& cb, int threshold
...
@@ -1130,7 +1134,10 @@ Ptr<ERFilter> createERFilterNM1(const Ptr<ERFilter::Callback>& cb, int threshold
=======
=======
Ptr
<
ERFilterNM
>
filter
=
new
ERFilterNM
();
Ptr
<
ERFilterNM
>
filter
=
new
ERFilterNM
();
<<<<<<<
HEAD
>>>>>>>
fixed
a
bug
in
the
non
-
max
-
suppression
filter
procedure
>>>>>>>
fixed
a
bug
in
the
non
-
max
-
suppression
filter
procedure
=======
>>>>>>>
removed
trailing
whitespaces
if
(
cb
==
NULL
)
if
(
cb
==
NULL
)
filter
->
setCallback
(
makePtr
<
ERClassifierNM1
>
());
filter
->
setCallback
(
makePtr
<
ERClassifierNM1
>
());
else
else
...
@@ -1166,6 +1173,10 @@ Ptr<ERFilter> createERFilterNM2(const Ptr<ERFilter::Callback>& cb, float minProb
...
@@ -1166,6 +1173,10 @@ Ptr<ERFilter> createERFilterNM2(const Ptr<ERFilter::Callback>& cb, float minProb
Ptr
<
ERFilterNM
>
filter
=
makePtr
<
ERFilterNM
>
();
Ptr
<
ERFilterNM
>
filter
=
makePtr
<
ERFilterNM
>
();
<<<<<<<
HEAD
=======
>>>>>>>
removed
trailing
whitespaces
if
(
cb
==
NULL
)
if
(
cb
==
NULL
)
filter
->
setCallback
(
makePtr
<
ERClassifierNM2
>
());
filter
->
setCallback
(
makePtr
<
ERClassifierNM2
>
());
else
else
...
...
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