Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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_contrib
Commits
27ced2cb
Commit
27ced2cb
authored
Oct 18, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tracing: disable unused code
parent
fe7842e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
trackerMedianFlow.cpp
modules/tracking/src/trackerMedianFlow.cpp
+4
-0
No files found.
modules/tracking/src/trackerMedianFlow.cpp
View file @
27ced2cb
...
...
@@ -83,7 +83,9 @@ private:
Rect2d
vote
(
const
std
::
vector
<
Point2f
>&
oldPoints
,
const
std
::
vector
<
Point2f
>&
newPoints
,
const
Rect2d
&
oldRect
,
Point2f
&
mD
);
float
dist
(
Point2f
p1
,
Point2f
p2
);
std
::
string
type2str
(
int
type
);
#if 0
void computeStatistics(std::vector<float>& data,int size=-1);
#endif
void
check_FB
(
const
std
::
vector
<
Mat
>&
oldImagePyr
,
const
std
::
vector
<
Mat
>&
newImagePyr
,
const
std
::
vector
<
Point2f
>&
oldPoints
,
const
std
::
vector
<
Point2f
>&
newPoints
,
std
::
vector
<
bool
>&
status
);
void
check_NCC
(
const
Mat
&
oldImage
,
const
Mat
&
newImage
,
...
...
@@ -337,6 +339,7 @@ Rect2d TrackerMedianFlowImpl::vote(const std::vector<Point2f>& oldPoints,const s
return
newRect
;
}
#if 0
void TrackerMedianFlowImpl::computeStatistics(std::vector<float>& data,int size){
int binnum=10;
if(size==-1){
...
...
@@ -351,6 +354,7 @@ void TrackerMedianFlowImpl::computeStatistics(std::vector<float>& data,int size)
dprintf(("[%4f,%4f] -- %4d\n",mini+(maxi-mini)/binnum*i,mini+(maxi-mini)/binnum*(i+1),bins[i]));
}
}
#endif
void
TrackerMedianFlowImpl
::
check_FB
(
const
std
::
vector
<
Mat
>&
oldImagePyr
,
const
std
::
vector
<
Mat
>&
newImagePyr
,
const
std
::
vector
<
Point2f
>&
oldPoints
,
const
std
::
vector
<
Point2f
>&
newPoints
,
std
::
vector
<
bool
>&
status
){
...
...
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