#include <CameraImages.h>
|
| CameraImages () |
|
| CameraImages (const std::string &path, float imageRate=0, const Transform &localTransform=Transform::getIdentity()) |
|
const CameraModel & | cameraModel () const |
|
std::vector< std::string > | filenames () const |
|
int | getBayerMode () const |
|
double | getMaxPoseTimeDiff () const |
|
std::string | getPath () const |
|
virtual std::string | getSerial () const |
|
unsigned int | imagesCount () const |
|
virtual bool | init (const std::string &calibrationFolder=".", const std::string &cameraName="") |
|
virtual bool | isCalibrated () const |
|
bool | isImagesRectified () const |
|
virtual bool | odomProvided () const |
|
void | setBayerMode (int mode) |
|
void | setConfigForEachFrame (bool value) |
|
void | setDepth (bool isDepth, float depthScaleFactor=1.0f) |
|
void | setDepthFromScan (bool enabled, int fillHoles=1, bool fillHolesFromBorder=false) |
|
void | setDirRefreshed (bool enabled) |
|
void | setGroundTruthPath (const std::string &filePath, int format=0) |
|
void | setImagesRectified (bool enabled) |
|
virtual void | setMaxFrames (int value) |
|
void | setMaxPoseTimeDiff (double diff) |
|
void | setOdometryPath (const std::string &filePath, int format=0) |
|
void | setPath (const std::string &dir) |
|
void | setScanPath (const std::string &dir, int maxScanPts=0, const Transform &localTransform=Transform::getIdentity()) |
|
virtual void | setStartIndex (int index) |
|
void | setTimestamps (bool fileNamesAreStamps, const std::string &filePath="", bool syncImageRateWithStamps=true) |
|
virtual | ~CameraImages () |
|
float | getImageRate () const |
|
const Transform & | getLocalTransform () const |
|
virtual bool | getPose (double stamp, Transform &pose, cv::Mat &covariance) |
|
bool | initFromFile (const std::string &calibrationPath) |
|
void | resetTimer () |
|
void | setImageRate (float imageRate) |
|
void | setLocalTransform (const Transform &localTransform) |
|
SensorData | takeImage (CameraInfo *info=0) |
|
virtual | ~Camera () |
|
|
bool | readPoses (std::list< Transform > &outputPoses, std::list< double > &stamps, const std::string &filePath, int format, double maxTimeDiff) const |
|
Definition at line 41 of file CameraImages.h.
◆ CameraImages() [1/2]
rtabmap::CameraImages::CameraImages |
( |
| ) |
|
◆ CameraImages() [2/2]
◆ ~CameraImages()
rtabmap::CameraImages::~CameraImages |
( |
| ) |
|
|
virtual |
◆ cameraModel()
const CameraModel& rtabmap::CameraImages::cameraModel |
( |
| ) |
const |
|
inline |
◆ captureImage()
◆ filenames()
std::vector< std::string > rtabmap::CameraImages::filenames |
( |
| ) |
const |
◆ getBayerMode()
int rtabmap::CameraImages::getBayerMode |
( |
| ) |
const |
|
inline |
◆ getMaxPoseTimeDiff()
double rtabmap::CameraImages::getMaxPoseTimeDiff |
( |
| ) |
const |
|
inline |
◆ getPath()
◆ getSerial()
◆ imagesCount()
unsigned int rtabmap::CameraImages::imagesCount |
( |
| ) |
const |
◆ init()
bool rtabmap::CameraImages::init |
( |
const std::string & |
calibrationFolder = "." , |
|
|
const std::string & |
cameraName = "" |
|
) |
| |
|
virtual |
◆ isCalibrated()
bool rtabmap::CameraImages::isCalibrated |
( |
| ) |
const |
|
virtual |
◆ isImagesRectified()
bool rtabmap::CameraImages::isImagesRectified |
( |
| ) |
const |
|
inline |
◆ odomProvided()
virtual bool rtabmap::CameraImages::odomProvided |
( |
| ) |
const |
|
inlinevirtual |
◆ readPoses()
bool rtabmap::CameraImages::readPoses |
( |
std::list< Transform > & |
outputPoses, |
|
|
std::list< double > & |
stamps, |
|
|
const std::string & |
filePath, |
|
|
int |
format, |
|
|
double |
maxTimeDiff |
|
) |
| const |
|
private |
◆ setBayerMode()
void rtabmap::CameraImages::setBayerMode |
( |
int |
mode | ) |
|
|
inline |
◆ setConfigForEachFrame()
void rtabmap::CameraImages::setConfigForEachFrame |
( |
bool |
value | ) |
|
|
inline |
◆ setDepth()
void rtabmap::CameraImages::setDepth |
( |
bool |
isDepth, |
|
|
float |
depthScaleFactor = 1.0f |
|
) |
| |
|
inline |
◆ setDepthFromScan()
void rtabmap::CameraImages::setDepthFromScan |
( |
bool |
enabled, |
|
|
int |
fillHoles = 1 , |
|
|
bool |
fillHolesFromBorder = false |
|
) |
| |
|
inline |
◆ setDirRefreshed()
void rtabmap::CameraImages::setDirRefreshed |
( |
bool |
enabled | ) |
|
|
inline |
◆ setGroundTruthPath()
void rtabmap::CameraImages::setGroundTruthPath |
( |
const std::string & |
filePath, |
|
|
int |
format = 0 |
|
) |
| |
|
inline |
◆ setImagesRectified()
void rtabmap::CameraImages::setImagesRectified |
( |
bool |
enabled | ) |
|
|
inline |
◆ setMaxFrames()
virtual void rtabmap::CameraImages::setMaxFrames |
( |
int |
value | ) |
|
|
inlinevirtual |
◆ setMaxPoseTimeDiff()
void rtabmap::CameraImages::setMaxPoseTimeDiff |
( |
double |
diff | ) |
|
|
inline |
◆ setOdometryPath()
void rtabmap::CameraImages::setOdometryPath |
( |
const std::string & |
filePath, |
|
|
int |
format = 0 |
|
) |
| |
|
inline |
◆ setPath()
void rtabmap::CameraImages::setPath |
( |
const std::string & |
dir | ) |
|
|
inline |
◆ setScanPath()
◆ setStartIndex()
virtual void rtabmap::CameraImages::setStartIndex |
( |
int |
index | ) |
|
|
inlinevirtual |
◆ setTimestamps()
void rtabmap::CameraImages::setTimestamps |
( |
bool |
fileNamesAreStamps, |
|
|
const std::string & |
filePath = "" , |
|
|
bool |
syncImageRateWithStamps = true |
|
) |
| |
|
inline |
◆ _bayerMode
int rtabmap::CameraImages::_bayerMode |
|
private |
◆ _captureDelay
double rtabmap::CameraImages::_captureDelay |
|
private |
◆ _captureTimer
UTimer rtabmap::CameraImages::_captureTimer |
|
private |
◆ _count
int rtabmap::CameraImages::_count |
|
private |
◆ _countScan
int rtabmap::CameraImages::_countScan |
|
private |
◆ _depthFromScan
bool rtabmap::CameraImages::_depthFromScan |
|
private |
◆ _depthFromScanFillHoles
int rtabmap::CameraImages::_depthFromScanFillHoles |
|
private |
◆ _depthFromScanFillHolesFromBorder
bool rtabmap::CameraImages::_depthFromScanFillHolesFromBorder |
|
private |
◆ _depthScaleFactor
float rtabmap::CameraImages::_depthScaleFactor |
|
private |
◆ _dir
◆ _filenamesAreTimestamps
bool rtabmap::CameraImages::_filenamesAreTimestamps |
|
private |
◆ _framesPublished
int rtabmap::CameraImages::_framesPublished |
|
private |
◆ _groundTruthFormat
int rtabmap::CameraImages::_groundTruthFormat |
|
private |
◆ _groundTruthPath
◆ _hasConfigForEachFrame
bool rtabmap::CameraImages::_hasConfigForEachFrame |
|
private |
◆ _isDepth
bool rtabmap::CameraImages::_isDepth |
|
private |
◆ _lastFileName
◆ _lastScanFileName
◆ _maxFrames
int rtabmap::CameraImages::_maxFrames |
|
private |
◆ _maxPoseTimeDiff
double rtabmap::CameraImages::_maxPoseTimeDiff |
|
private |
◆ _model
◆ _models
◆ _odometryFormat
int rtabmap::CameraImages::_odometryFormat |
|
private |
◆ _odometryPath
◆ _path
◆ _rectifyImages
bool rtabmap::CameraImages::_rectifyImages |
|
private |
◆ _refreshDir
bool rtabmap::CameraImages::_refreshDir |
|
private |
◆ _scanDir
◆ _scanLocalTransform
Transform rtabmap::CameraImages::_scanLocalTransform |
|
private |
◆ _scanMaxPts
int rtabmap::CameraImages::_scanMaxPts |
|
private |
◆ _scanPath
◆ _stamps
std::list<double> rtabmap::CameraImages::_stamps |
|
private |
◆ _startAt
int rtabmap::CameraImages::_startAt |
|
private |
◆ _syncImageRateWithStamps
bool rtabmap::CameraImages::_syncImageRateWithStamps |
|
private |
◆ _timestampsPath
◆ covariances_
std::list<cv::Mat> rtabmap::CameraImages::covariances_ |
|
private |
◆ groundTruth_
std::list<Transform> rtabmap::CameraImages::groundTruth_ |
|
private |
◆ odometry_
std::list<Transform> rtabmap::CameraImages::odometry_ |
|
private |
The documentation for this class was generated from the following files: