Newer
Older
#pragma once
#ifndef _FTL_RGBD_STEREOVIDEO_HPP_
#define _FTL_RGBD_STEREOVIDEO_HPP_
class LocalSource;
class Calibrate;
class Disparity;
/**
* RGBD source from either a stereo video file with left + right images, or
class StereoVideoSource : public detail::Source {
explicit StereoVideoSource(ftl::rgbd::Source*);
StereoVideoSource(ftl::rgbd::Source*, const std::string &);
bool capture(int64_t ts);
bool retrieve();
Camera parameters(ftl::codecs::Channel chan) override;
ftl::operators::Graph *pipeline_input_;
ftl::operators::Graph *pipeline_depth_;
cv::cuda::GpuMat fullres_left_;
cv::cuda::GpuMat fullres_right_;