#include <CameraImages.h>
|
| | CameraImages () |
| |
| | CameraImages (const std::string &path, float imageRate=0, const Transform &localTransform=CameraModel::opticalRotation()) |
| |
| 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 |
| |
| 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.
| rtabmap::CameraImages::CameraImages |
( |
| ) |
|
| rtabmap::CameraImages::~CameraImages |
( |
| ) |
|
|
virtual |
| const CameraModel& rtabmap::CameraImages::cameraModel |
( |
| ) |
const |
|
inline |
| std::vector< std::string > rtabmap::CameraImages::filenames |
( |
| ) |
const |
| int rtabmap::CameraImages::getBayerMode |
( |
| ) |
const |
|
inline |
| double rtabmap::CameraImages::getMaxPoseTimeDiff |
( |
| ) |
const |
|
inline |
| std::string rtabmap::CameraImages::getPath |
( |
| ) |
const |
|
inline |
| std::string rtabmap::CameraImages::getSerial |
( |
| ) |
const |
|
virtual |
| unsigned int rtabmap::CameraImages::imagesCount |
( |
| ) |
const |
| bool rtabmap::CameraImages::init |
( |
const std::string & |
calibrationFolder = ".", |
|
|
const std::string & |
cameraName = "" |
|
) |
| |
|
virtual |
| bool rtabmap::CameraImages::isCalibrated |
( |
| ) |
const |
|
virtual |
| bool rtabmap::CameraImages::isImagesRectified |
( |
| ) |
const |
|
inline |
| virtual bool rtabmap::CameraImages::odomProvided |
( |
| ) |
const |
|
inlinevirtual |
| bool rtabmap::CameraImages::readPoses |
( |
std::list< Transform > & |
outputPoses, |
|
|
std::list< double > & |
stamps, |
|
|
const std::string & |
filePath, |
|
|
int |
format, |
|
|
double |
maxTimeDiff |
|
) |
| const |
|
private |
| void rtabmap::CameraImages::setBayerMode |
( |
int |
mode | ) |
|
|
inline |
| void rtabmap::CameraImages::setConfigForEachFrame |
( |
bool |
value | ) |
|
|
inline |
| void rtabmap::CameraImages::setDepth |
( |
bool |
isDepth, |
|
|
float |
depthScaleFactor = 1.0f |
|
) |
| |
|
inline |
| void rtabmap::CameraImages::setDepthFromScan |
( |
bool |
enabled, |
|
|
int |
fillHoles = 1, |
|
|
bool |
fillHolesFromBorder = false |
|
) |
| |
|
inline |
| void rtabmap::CameraImages::setDirRefreshed |
( |
bool |
enabled | ) |
|
|
inline |
| void rtabmap::CameraImages::setGroundTruthPath |
( |
const std::string & |
filePath, |
|
|
int |
format = 0 |
|
) |
| |
|
inline |
| void rtabmap::CameraImages::setImagesRectified |
( |
bool |
enabled | ) |
|
|
inline |
| virtual void rtabmap::CameraImages::setMaxFrames |
( |
int |
value | ) |
|
|
inlinevirtual |
| void rtabmap::CameraImages::setMaxPoseTimeDiff |
( |
double |
diff | ) |
|
|
inline |
| void rtabmap::CameraImages::setOdometryPath |
( |
const std::string & |
filePath, |
|
|
int |
format = 0 |
|
) |
| |
|
inline |
| void rtabmap::CameraImages::setPath |
( |
const std::string & |
dir | ) |
|
|
inline |
| virtual void rtabmap::CameraImages::setStartIndex |
( |
int |
index | ) |
|
|
inlinevirtual |
| void rtabmap::CameraImages::setTimestamps |
( |
bool |
fileNamesAreStamps, |
|
|
const std::string & |
filePath = "", |
|
|
bool |
syncImageRateWithStamps = true |
|
) |
| |
|
inline |
| int rtabmap::CameraImages::_bayerMode |
|
private |
| double rtabmap::CameraImages::_captureDelay |
|
private |
| UTimer rtabmap::CameraImages::_captureTimer |
|
private |
| int rtabmap::CameraImages::_count |
|
private |
| int rtabmap::CameraImages::_countScan |
|
private |
| bool rtabmap::CameraImages::_depthFromScan |
|
private |
| int rtabmap::CameraImages::_depthFromScanFillHoles |
|
private |
| bool rtabmap::CameraImages::_depthFromScanFillHolesFromBorder |
|
private |
| float rtabmap::CameraImages::_depthScaleFactor |
|
private |
| bool rtabmap::CameraImages::_filenamesAreTimestamps |
|
private |
| int rtabmap::CameraImages::_framesPublished |
|
private |
| int rtabmap::CameraImages::_groundTruthFormat |
|
private |
| std::string rtabmap::CameraImages::_groundTruthPath |
|
private |
| bool rtabmap::CameraImages::_hasConfigForEachFrame |
|
private |
| bool rtabmap::CameraImages::_isDepth |
|
private |
| std::string rtabmap::CameraImages::_lastFileName |
|
private |
| std::string rtabmap::CameraImages::_lastScanFileName |
|
private |
| int rtabmap::CameraImages::_maxFrames |
|
private |
| double rtabmap::CameraImages::_maxPoseTimeDiff |
|
private |
| int rtabmap::CameraImages::_odometryFormat |
|
private |
| std::string rtabmap::CameraImages::_odometryPath |
|
private |
| std::string rtabmap::CameraImages::_path |
|
private |
| bool rtabmap::CameraImages::_rectifyImages |
|
private |
| bool rtabmap::CameraImages::_refreshDir |
|
private |
| Transform rtabmap::CameraImages::_scanLocalTransform |
|
private |
| int rtabmap::CameraImages::_scanMaxPts |
|
private |
| std::string rtabmap::CameraImages::_scanPath |
|
private |
| std::list<double> rtabmap::CameraImages::_stamps |
|
private |
| int rtabmap::CameraImages::_startAt |
|
private |
| bool rtabmap::CameraImages::_syncImageRateWithStamps |
|
private |
| std::string rtabmap::CameraImages::_timestampsPath |
|
private |
| std::list<cv::Mat> rtabmap::CameraImages::covariances_ |
|
private |
| std::list<Transform> rtabmap::CameraImages::groundTruth_ |
|
private |
| std::list<Transform> rtabmap::CameraImages::odometry_ |
|
private |
The documentation for this class was generated from the following files: