|
| Camera (const cv::Mat &image, Eigen::Matrix3d K) |
|
| Camera (const cv::Mat &image, const cv::Mat mask, Eigen::Matrix3d K) |
|
bool | project (const Eigen::Affine3d &T_w_lmk, const std::shared_ptr< AModel3d > ldmk_model, std::vector< Eigen::Vector2d > &p2ds) override |
| Virtual function to project a landmark in the image plane. More...
|
|
bool | project (const Eigen::Affine3d &T_w_lmk, const std::shared_ptr< AModel3d > ldmk_model, const Eigen::Affine3d &T_f_w, std::vector< Eigen::Vector2d > &p2ds) override |
| Virtual function to project a landmark in the image plane with the pose of the frame. More...
|
|
bool | project (const Eigen::Affine3d &T_w_lmk, const Eigen::Affine3d &T_f_w, const Eigen::Matrix2d sqrt_info, Eigen::Vector2d &p2d, double *J_proj_frame, double *J_proj_lmk) override |
| Virtual function to project a landmark and compute the Jacobian of the projection. More...
|
|
Eigen::Vector3d | getRayCamera (Eigen::Vector2d f) |
| Get the ray in camera coordinates. More...
|
|
Eigen::Vector3d | getRay (Eigen::Vector2d f) |
| Get the ray in world coordinates. More...
|
|
double | getFocal () override |
| Compute the focal length of the camera. More...
|
|
| ImageSensor () |
|
| ~ImageSensor () |
|
bool | hasDepth () |
|
cv::Mat | getRawData () |
|
void | setPyr (const std::vector< cv::Mat > &img_pyr) |
|
const std::vector< cv::Mat > | getPyr () |
|
void | applyCLAHE (float clahe_clip) |
| Apply CLAHE (Contrast Limited Adaptive Histogram Equalization) to the image. More...
|
|
void | histogramEqualization () |
| Apply histogram equalization to the image. More...
|
|
void | imageNormalization () |
| Apply Image normalization to the image. More...
|
|
void | applyAGCWD (float alpha) |
| Apply adaptive gamme correction. More...
|
|
void | setMask (cv::Mat mask) |
|
cv::Mat | getMask () |
|
Eigen::Matrix3d | getCalibration () |
|
void | addFeature (std::string feature_label, std::shared_ptr< AFeature > f) |
| Add a single feature and compute its bearing vector. More...
|
|
void | addFeatures (std::string feature_label, std::vector< std::shared_ptr< AFeature >> features) |
| Add a vector of features and compute their bearing vectors. More...
|
|
void | removeFeature (std::shared_ptr< AFeature > f) |
|
typed_vec_features & | getFeatures () |
|
void | purgeFeatures (std::string feature_label) |
| Clear all features of a specific type. More...
|
|
std::vector< std::shared_ptr< AFeature > > & | getFeatures (std::string feature_label) |
| Get features of a specific type. More...
|
|
| ASensor (std::string type) |
|
| ~ASensor () |
|
std::string | getType () |
|
void | setFrame (std::shared_ptr< Frame > frame) |
|
std::shared_ptr< Frame > | getFrame () |
|
void | setFrame2SensorTransform (Eigen::Affine3d T_s_f) |
|
Eigen::Affine3d | getFrame2SensorTransform () |
|
Eigen::Affine3d | getWorld2SensorTransform () |
|
Eigen::Affine3d | getSensor2WorldTransform () |
|
A pinhole camera sensor class.