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
370d1ff2
Commit
370d1ff2
authored
Aug 15, 2015
by
Ilya Lavrenov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed typo
parent
47cee871
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
test_nearestneighbors.cpp
modules/features2d/test/test_nearestneighbors.cpp
+5
-5
No files found.
modules/features2d/test/test_nearestneighbors.cpp
View file @
370d1ff2
...
...
@@ -65,13 +65,13 @@ protected:
virtual
void
run
(
int
start_from
);
virtual
void
createModel
(
const
Mat
&
data
)
=
0
;
virtual
int
findNeighbors
(
Mat
&
points
,
Mat
&
neighbors
)
=
0
;
virtual
int
checkGetPoins
(
const
Mat
&
data
);
virtual
int
checkGetPoin
t
s
(
const
Mat
&
data
);
virtual
int
checkFindBoxed
();
virtual
int
checkFind
(
const
Mat
&
data
);
virtual
void
releaseModel
()
=
0
;
};
int
NearestNeighborTest
::
checkGetPoins
(
const
Mat
&
)
int
NearestNeighborTest
::
checkGetPoin
t
s
(
const
Mat
&
)
{
return
cvtest
::
TS
::
OK
;
}
...
...
@@ -129,7 +129,7 @@ void NearestNeighborTest::run( int /*start_from*/ ) {
createModel
(
desc
);
tempCode
=
checkGetPoins
(
desc
);
tempCode
=
checkGetPoin
t
s
(
desc
);
if
(
tempCode
!=
cvtest
::
TS
::
OK
)
{
ts
->
printf
(
cvtest
::
TS
::
LOG
,
"bad accuracy of GetPoints
\n
"
);
...
...
@@ -162,7 +162,7 @@ public:
CV_KDTreeTest_CPP
()
{}
protected
:
virtual
void
createModel
(
const
Mat
&
data
);
virtual
int
checkGetPoins
(
const
Mat
&
data
);
virtual
int
checkGetPoin
t
s
(
const
Mat
&
data
);
virtual
int
findNeighbors
(
Mat
&
points
,
Mat
&
neighbors
);
virtual
int
checkFindBoxed
();
virtual
void
releaseModel
();
...
...
@@ -175,7 +175,7 @@ void CV_KDTreeTest_CPP::createModel( const Mat& data )
tr
=
new
KDTree
(
data
,
false
);
}
int
CV_KDTreeTest_CPP
::
checkGetPoins
(
const
Mat
&
data
)
int
CV_KDTreeTest_CPP
::
checkGetPoin
t
s
(
const
Mat
&
data
)
{
Mat
res1
(
data
.
size
(),
data
.
type
()
),
res3
(
data
.
size
(),
data
.
type
()
);
...
...
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