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
7
Merged
Sebastian Hahta
requested to merge
feature/off-cuda
into
master
5 years ago
Overview
0
Commits
28
Pipelines
1
Changes
7
Expand
Closes
#155 (closed)
0
0
Merge request reports
Viewing commit
95d51f0b
Prev
Next
Show latest version
7 files
+
86
−
47
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
95d51f0b
more refactoring: disparity class use new frame class
· 95d51f0b
Sebastian Hahta
authored
5 years ago
components/rgbd-sources/include/ftl/rgbd/detail/source.hpp
+
1
−
24
Options
@@ -4,36 +4,13 @@
@@ -4,36 +4,13 @@
#include
<Eigen/Eigen>
#include
<Eigen/Eigen>
#include
<opencv2/opencv.hpp>
#include
<opencv2/opencv.hpp>
#include
<ftl/rgbd/camera.hpp>
#include
<ftl/rgbd/camera.hpp>
#include
<ftl/rgbd/frame.hpp>
namespace
ftl
{
namespace
ftl
{
namespace
rgbd
{
namespace
rgbd
{
class
Source
;
class
Source
;
// TODO: frame.hpp has to know the exact amount of channels
// (remove hardcoded value by providing exact value elsewhere).
// Possibly move channels to frame.hpp?
typedef
unsigned
int
channel_t
;
static
const
channel_t
kChanNone
=
0
;
static
const
channel_t
kChanLeft
=
0x0001
;
static
const
channel_t
kChanDepth
=
0x0002
;
static
const
channel_t
kChanRight
=
0x0004
;
static
const
channel_t
kChanDisparity
=
0x0008
;
static
const
channel_t
kChanDeviation
=
0x0010
;
static
const
channel_t
kChanNormals
=
0x0020
;
static
const
channel_t
kChanConfidence
=
0x0040
;
static
const
channel_t
kChanFlow
=
0x0080
;
static
const
channel_t
kChanEnergy
=
0x0100
;
static
const
channel_t
kChanOverlay1
=
0x1000
;
inline
bool
isFloatChannel
(
ftl
::
rgbd
::
channel_t
chan
)
{
return
(
chan
==
ftl
::
rgbd
::
kChanDepth
||
chan
==
ftl
::
rgbd
::
kChanEnergy
);
}
typedef
unsigned
int
capability_t
;
typedef
unsigned
int
capability_t
;
static
const
capability_t
kCapMovable
=
0x0001
;
// A movable virtual cam
static
const
capability_t
kCapMovable
=
0x0001
;
// A movable virtual cam
Loading