#include <mrpt/vision/CFeature.h>
#include <mrpt/utils/CImage.h>
#include <mrpt/math/utils.h>
#include <mrpt/utils/CLoadableOptions.h>
#include <mrpt/utils/TMatchingPair.h>
#include <mrpt/poses/CPose3D.h>
#include <mrpt/poses/CPoint2D.h>
#include <mrpt/poses/CPoint3D.h>
#include <mrpt/slam/CLandmarksMap.h>
#include <mrpt/slam/CObservationVisualLandmarks.h>
#include <mrpt/vision/types.h>
#include <mrpt/vision/chessboard_camera_calib.h>
#include <mrpt/vision/link_pragmas.h>
Go to the source code of this file.
Namespaces | |
namespace | mrpt |
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. | |
namespace | mrpt::slam |
This namespace contains algorithms for SLAM, localization, map building, representation of robot's actions and observations, and representation of many kinds of metric maps. | |
namespace | mrpt::vision |
Classes for computer vision, detectors, features, etc. | |
Functions | |
void VISION_IMPEXP | mrpt::vision::openCV_cross_correlation (const CImage &img, const CImage &patch_img, size_t &x_max, size_t &y_max, double &max_val, int x_search_ini=-1, int y_search_ini=-1, int x_search_size=-1, int y_search_size=-1) |
Computes the correlation between this image and another one, encapsulating the openCV function cvMatchTemplate This implementation reduced computation time. | |
void VISION_IMPEXP | mrpt::vision::flip (CImage &img) |
Invert an image using OpenCV function. | |
TPoint3D VISION_IMPEXP | mrpt::vision::pixelTo3D (const TPixelCoordf &xy, const CMatrixDouble33 &A) |
Extract a UNITARY 3D vector in the direction of a 3D point, given from its (x,y) pixels coordinates, and the camera intrinsic coordinates. | |
CMatrixDouble33 VISION_IMPEXP | mrpt::vision::buildIntrinsicParamsMatrix (const double focalLengthX, const double focalLengthY, const double centerX, const double centerY) |
Builds the intrinsic parameters matrix A from parameters: | |
CMatrixDouble33 VISION_IMPEXP | mrpt::vision::defaultIntrinsicParamsMatrix (unsigned int camIndex=0, unsigned int resolutionX=320, unsigned int resolutionY=240) |
Returns the stored, default intrinsic params matrix for a given camera: | |
void VISION_IMPEXP | mrpt::vision::deleteRepeatedFeats (CFeatureList &list) |
Explore the feature list and removes features which are in the same coordinates. | |
void VISION_IMPEXP | mrpt::vision::rowChecking (CFeatureList &leftList, CFeatureList &rightList, float threshold=1.0) |
Search for correspondences which are not in the same row and deletes them. | |
void VISION_IMPEXP | mrpt::vision::getDispersion (const CFeatureList &list, vector_float &std, vector_float &mean) |
Computes the dispersion of the features in the image. | |
void | mrpt::vision::correctDistortion (const CImage &in_img, CImage &out_img, const CMatrixDouble33 &A, const vector_double &dist_coeffs) |
Returns a new image where distortion has been removed. | |
double VISION_IMPEXP | mrpt::vision::computeMsd (const TMatchingPairList &list, const poses::CPose3D &Rt) |
Computes the mean squared distance between a set of 3D correspondences ... | |
void VISION_IMPEXP | mrpt::vision::cloudsToMatchedList (const CObservationVisualLandmarks &cloud1, const CObservationVisualLandmarks &cloud2, TMatchingPairList &outList) |
Transform two clouds of 3D points into a matched list of points ... | |
float VISION_IMPEXP | mrpt::vision::computeMainOrientation (const CImage &image, unsigned int x, unsigned int y) |
Computes the main orientation of a set of points with an image (for using in SIFT-based algorithms) | |
void VISION_IMPEXP | mrpt::vision::normalizeImage (const CImage &image, CImage &nimage) |
Normalizes the brigthness and contrast of an image by setting its mean value to zero and its standard deviation to unit. | |
size_t VISION_IMPEXP | mrpt::vision::matchFeatures (const CFeatureList &list1, const CFeatureList &list2, CMatchedFeatureList &matches, const TMatchingOptions &options=TMatchingOptions(), const TStereoSystemParams ¶ms=TStereoSystemParams()) |
Find the matches between two lists of features which must be of the same type. | |
void VISION_IMPEXP | mrpt::vision::generateMask (const CMatchedFeatureList &mList, CMatrixBool &mask1, CMatrixBool &mask2, int wSize=10) |
Calculates the Sum of Absolutes Differences (range [0,1]) between two patches. | |
double VISION_IMPEXP | mrpt::vision::computeSAD (const CImage &patch1, const CImage &patch2) |
Calculates the Sum of Absolutes Differences (range [0,1]) between two patches. | |
void VISION_IMPEXP | mrpt::vision::addFeaturesToImage (const CImage &inImg, const CFeatureList &theList, CImage &outImg) |
Draw rectangles around each of the features on a copy of the input image. | |
void VISION_IMPEXP | mrpt::vision::projectMatchedFeatures (const CFeatureList &leftList, const CFeatureList &rightList, vector< TPoint3D > &vP3D, const TStereoSystemParams ¶ms=TStereoSystemParams()) |
Computes the 3D position of a set of matched features from their coordinates in the images. | |
void VISION_IMPEXP | mrpt::vision::projectMatchedFeature (const CFeaturePtr &leftFeat, const CFeaturePtr &rightFeat, TPoint3D &p3D, const TStereoSystemParams ¶ms=TStereoSystemParams()) |
Computes the 3D position of a particular matched feature. | |
void VISION_IMPEXP | mrpt::vision::projectMatchedFeatures (CMatchedFeatureList &mfList, const TStereoSystemParams ¶m, CLandmarksMap &landmarks) |
Project a list of matched features into the 3D space, using the provided parameters of the stereo system. | |
void VISION_IMPEXP | mrpt::vision::projectMatchedFeatures (CFeatureList &leftList, CFeatureList &rightList, const TStereoSystemParams ¶m, CLandmarksMap &landmarks) |
Project a pair of feature lists into the 3D space, using the provided options for the stereo system. | |
void VISION_IMPEXP | mrpt::vision::StereoObs2BRObs (const CObservationStereoImages &inObs, const vector< double > &sg, CObservationBearingRange &outObs) |
Converts a stereo images observation into a bearing and range observation. | |
void VISION_IMPEXP | mrpt::vision::StereoObs2BRObs (const CMatchedFeatureList &inMatches, const CMatrixDouble33 &intrinsicParams, const double &baseline, const CPose3D &sensorPose, const vector< double > &sg, CObservationBearingRange &outObs) |
Converts a matched feature list into a bearing and range observation (some of the stereo camera system must be provided). | |
void VISION_IMPEXP | mrpt::vision::StereoObs2BRObs (const CObservationVisualLandmarks &inObs, CObservationBearingRange &outObs) |
Converts a CObservationVisualLandmarks into a bearing and range observation (without any covariances). | |
void VISION_IMPEXP | mrpt::vision::computeStereoRectificationMaps (const TCamera &cam1, const TCamera &cam2, const poses::CPose3D &rightCameraPose, void *outMap1x, void *outMap1y, void *outMap2x, void *outMap2y) |
Computes a pair of x-and-y maps for stereo rectification from a pair of cameras and the relative pose of the second one wrt the first one. |
Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:46:17 UTC 2011 |