Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
0bdc9ce5
Commit
0bdc9ce5
authored
Mar 03, 2018
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added another rect_filter constructor.
parent
1c26be90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
kalman_filter.h
dlib/filtering/kalman_filter.h
+6
-0
kalman_filter_abstract.h
dlib/filtering/kalman_filter_abstract.h
+14
-0
No files found.
dlib/filtering/kalman_filter.h
View file @
0bdc9ce5
...
@@ -299,6 +299,12 @@ namespace dlib
...
@@ -299,6 +299,12 @@ namespace dlib
public
:
public
:
rect_filter
()
=
default
;
rect_filter
()
=
default
;
rect_filter
(
double
meas_noise
,
double
acc
,
double
max_meas_dev
)
:
rect_filter
(
momentum_filter
(
meas_noise
,
acc
,
max_meas_dev
))
{}
rect_filter
(
rect_filter
(
const
momentum_filter
&
filt
const
momentum_filter
&
filt
)
:
)
:
...
...
dlib/filtering/kalman_filter_abstract.h
View file @
0bdc9ce5
...
@@ -406,6 +406,20 @@ namespace dlib
...
@@ -406,6 +406,20 @@ namespace dlib
- #get_bottom() == filt
- #get_bottom() == filt
!*/
!*/
rect_filter
(
double
meas_noise
,
double
acc
,
double
max_meas_dev
)
:
rect_filter
(
momentum_filter
(
meas_noise
,
acc
,
max_meas_dev
))
{}
/*!
requires
- meas_noise >= 0
- acc >= 0
- max_meas_dev >= 0
ensures
- Initializes this object with momentum_filter(meas_noise, acc, max_meas_dev)
!*/
drectangle
operator
()(
drectangle
operator
()(
const
drectangle
&
r
const
drectangle
&
r
);
);
...
...
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