38 const std::string & pathRGBImages,
39 const std::string & pathDepthImages,
40 float depthScaleFactor,
45 UASSERT(depthScaleFactor >= 1.0);
65 UERROR(
"Cameras don't have the same number of images (%d vs %d)",
void setPath(const std::string &dir)
CameraImages cameraDepth_
virtual SensorData captureImage(CameraInfo *info=0)
unsigned int imagesCount() const
CameraRGBDImages(const std::string &pathRGBImages, const std::string &pathDepthImages, float depthScaleFactor=1.0f, float imageRate=0.0f, const Transform &localTransform=CameraModel::opticalRotation())
const Transform & groundTruth() const
const cv::Mat & imageRaw() const
#define UASSERT(condition)
SensorData takeImage(CameraInfo *info=0)
virtual ~CameraRGBDImages()
void setDepth(bool isDepth, float depthScaleFactor=1.0f)
const std::vector< CameraModel > & cameraModels() const
virtual SensorData captureImage(CameraInfo *info=0)
virtual bool init(const std::string &calibrationFolder=".", const std::string &cameraName="")
void setGroundTruth(const Transform &pose)
virtual bool init(const std::string &calibrationFolder=".", const std::string &cameraName="")