Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
ftl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nicolas Pope
ftl
Merge requests
!105
CUDA optical flow smoothing
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
CUDA optical flow smoothing
feature/off-cuda
into
master
Overview
0
Commits
28
Pipelines
1
Changes
5
Merged
Sebastian Hahta
requested to merge
feature/off-cuda
into
master
5 years ago
Overview
0
Commits
28
Pipelines
1
Changes
5
Expand
Closes
#155 (closed)
0
0
Merge request reports
Viewing commit
059ab28f
Prev
Next
Show latest version
5 files
+
84
−
2
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
059ab28f
Optflow temporal filter CUDA kernel
· 059ab28f
Sebastian Hahta
authored
5 years ago
components/rgbd-sources/include/ftl/offilter.hpp
+
2
−
0
Options
@@ -15,6 +15,7 @@ public:
@@ -15,6 +15,7 @@ public:
OFDisparityFilter
()
:
n_max_
(
0
),
threshold_
(
0.0
),
size_
(
0
,
0
)
{}
// TODO: invalid state
OFDisparityFilter
()
:
n_max_
(
0
),
threshold_
(
0.0
),
size_
(
0
,
0
)
{}
// TODO: invalid state
OFDisparityFilter
(
cv
::
Size
size
,
int
n_frames
,
float
threshold
);
OFDisparityFilter
(
cv
::
Size
size
,
int
n_frames
,
float
threshold
);
void
filter
(
cv
::
Mat
&
disp
,
const
cv
::
Mat
&
rgb
);
void
filter
(
cv
::
Mat
&
disp
,
const
cv
::
Mat
&
rgb
);
void
filter
(
cv
::
cuda
::
GpuMat
&
disp
,
const
cv
::
cuda
::
GpuMat
&
optflow
);
private
:
private
:
int
n_
;
int
n_
;
@@ -23,6 +24,7 @@ private:
@@ -23,6 +24,7 @@ private:
cv
::
Size
size_
;
cv
::
Size
size_
;
cv
::
Mat
disp_
;
cv
::
Mat
disp_
;
cv
::
cuda
::
GpuMat
disp_old_
;
cv
::
Mat
gray_
;
cv
::
Mat
gray_
;
cv
::
Mat
flowxy_
;
cv
::
Mat
flowxy_
;
Loading