Public Member Functions | |
Recorder (const std::string &path, const std::string &topicColor, const std::string &topicIr, const std::string &topicDepth, const Source mode, const bool circleBoard, const bool symmetric, const cv::Size &boardDims, const float boardSize) | |
void | run () |
~Recorder () | |
Private Types | |
typedef message_filters::sync_policies::ExactTime< sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::Image > | ColorIrDepthSyncPolicy |
Private Member Functions | |
void | callback (const sensor_msgs::Image::ConstPtr imageColor, const sensor_msgs::Image::ConstPtr imageIr, const sensor_msgs::Image::ConstPtr imageDepth) |
void | convertIr (const cv::Mat &ir, cv::Mat &grey) |
void | display () |
void | findMinMax (const cv::Mat &ir, const std::vector< cv::Point2f > &pointsIr) |
void | findMinMax (const cv::Mat &ir) |
void | readImage (const sensor_msgs::Image::ConstPtr msgImage, cv::Mat &image) const |
void | startRecord () |
void | stopRecord () |
void | store (const cv::Mat &color, const cv::Mat &ir, const cv::Mat &irGrey, const cv::Mat &depth, const std::vector< cv::Point2f > &pointsColor, std::vector< cv::Point2f > &pointsIr) |
Private Attributes | |
std::vector< cv::Point3f > | board |
const cv::Size | boardDims |
const float | boardSize |
const bool | circleBoard |
int | circleFlags |
cv::Ptr< cv::CLAHE > | clahe |
cv::Mat | color |
cv::Mat | depth |
bool | foundColor |
bool | foundIr |
size_t | frame |
cv::Mat | ir |
cv::Mat | irGrey |
image_transport::ImageTransport | it |
std::mutex | lock |
int | maxIr |
int | minIr |
const Source | mode |
ros::NodeHandle | nh |
std::vector< int > | params |
const std::string | path |
std::vector< cv::Point2f > | pointsColor |
std::vector< cv::Point2f > | pointsIr |
ros::AsyncSpinner | spinner |
image_transport::SubscriberFilter * | subImageColor |
image_transport::SubscriberFilter * | subImageDepth |
image_transport::SubscriberFilter * | subImageIr |
message_filters::Synchronizer< ColorIrDepthSyncPolicy > * | sync |
const std::string | topicColor |
const std::string | topicDepth |
const std::string | topicIr |
bool | update |
Definition at line 64 of file kinect2_calibration.cpp.
|
private |
Definition at line 88 of file kinect2_calibration.cpp.
|
inline |
Definition at line 99 of file kinect2_calibration.cpp.
|
inline |
Definition at line 128 of file kinect2_calibration.cpp.
|
inlineprivate |
Definition at line 223 of file kinect2_calibration.cpp.
|
inlineprivate |
Definition at line 175 of file kinect2_calibration.cpp.
|
inlineprivate |
Definition at line 304 of file kinect2_calibration.cpp.
|
inlineprivate |
Definition at line 194 of file kinect2_calibration.cpp.
|
inlineprivate |
Definition at line 209 of file kinect2_calibration.cpp.
|
inlineprivate |
Definition at line 409 of file kinect2_calibration.cpp.
|
inline |
Definition at line 132 of file kinect2_calibration.cpp.
|
inlineprivate |
Definition at line 142 of file kinect2_calibration.cpp.
|
inlineprivate |
Definition at line 165 of file kinect2_calibration.cpp.
|
inlineprivate |
Definition at line 416 of file kinect2_calibration.cpp.
|
private |
Definition at line 85 of file kinect2_calibration.cpp.
|
private |
Definition at line 70 of file kinect2_calibration.cpp.
|
private |
Definition at line 71 of file kinect2_calibration.cpp.
|
private |
Definition at line 67 of file kinect2_calibration.cpp.
|
private |
Definition at line 68 of file kinect2_calibration.cpp.
|
private |
Definition at line 96 of file kinect2_calibration.cpp.
|
private |
Definition at line 80 of file kinect2_calibration.cpp.
|
private |
Definition at line 80 of file kinect2_calibration.cpp.
|
private |
Definition at line 79 of file kinect2_calibration.cpp.
|
private |
Definition at line 79 of file kinect2_calibration.cpp.
|
private |
Definition at line 82 of file kinect2_calibration.cpp.
|
private |
Definition at line 80 of file kinect2_calibration.cpp.
|
private |
Definition at line 80 of file kinect2_calibration.cpp.
|
private |
Definition at line 91 of file kinect2_calibration.cpp.
|
private |
Definition at line 76 of file kinect2_calibration.cpp.
|
private |
Definition at line 95 of file kinect2_calibration.cpp.
|
private |
Definition at line 95 of file kinect2_calibration.cpp.
|
private |
Definition at line 72 of file kinect2_calibration.cpp.
|
private |
Definition at line 89 of file kinect2_calibration.cpp.
|
private |
Definition at line 83 of file kinect2_calibration.cpp.
|
private |
Definition at line 74 of file kinect2_calibration.cpp.
|
private |
Definition at line 86 of file kinect2_calibration.cpp.
|
private |
Definition at line 86 of file kinect2_calibration.cpp.
|
private |
Definition at line 90 of file kinect2_calibration.cpp.
|
private |
Definition at line 92 of file kinect2_calibration.cpp.
|
private |
Definition at line 92 of file kinect2_calibration.cpp.
|
private |
Definition at line 92 of file kinect2_calibration.cpp.
|
private |
Definition at line 93 of file kinect2_calibration.cpp.
|
private |
Definition at line 75 of file kinect2_calibration.cpp.
|
private |
Definition at line 75 of file kinect2_calibration.cpp.
|
private |
Definition at line 75 of file kinect2_calibration.cpp.
|
private |
Definition at line 78 of file kinect2_calibration.cpp.