The set of parameters for all the detectors & descriptor algorithms.
Definition at line 72 of file CFeatureExtraction.h.
#include <mrpt/vision/CFeatureExtraction.h>
Classes | |
struct | TBCDOptions |
BCD Options. More... | |
struct | TFASTOptions |
FAST and FASTER Options. More... | |
struct | THarrisOptions |
Harris Options. More... | |
struct | TKLTOptions |
KLT Options. More... | |
struct | TLogPolarImagesOptions |
LogPolarImagesOptions Options. More... | |
struct | TORBOptions |
ORB Options. More... | |
struct | TPolarImagesOptions |
PolarImagesOptions Options. More... | |
struct | TSIFTOptions |
SIFT Options. More... | |
struct | TSpinImagesOptions |
struct | TSURFOptions |
Public Member Functions | |
TOptions (const TFeatureType featsType=featKLT) | |
Initalizer. More... | |
void | loadFromConfigFile (const mrpt::utils::CConfigFileBase &source, const std::string §ion) MRPT_OVERRIDE |
This method load the options from a ".ini"-like file or memory-stored string list. More... | |
void | dumpToTextStream (mrpt::utils::CStream &out) const MRPT_OVERRIDE |
This method should clearly display all the contents of the structure in textual form, sending it to a CStream. More... | |
void | loadFromConfigFileName (const std::string &config_file, const std::string §ion) |
Behaves like loadFromConfigFile, but you can pass directly a file name and a temporary CConfigFile object will be created automatically to load the file. More... | |
virtual void | saveToConfigFile (mrpt::utils::CConfigFileBase &target, const std::string §ion) const |
This method saves the options to a ".ini"-like file or memory-stored string list. More... | |
void | saveToConfigFileName (const std::string &config_file, const std::string §ion) const |
Behaves like saveToConfigFile, but you can pass directly a file name and a temporary CConfigFile object will be created automatically to save the file. More... | |
void | dumpToConsole () const |
Just like dumpToTextStream() but sending the text to the console (std::cout) More... | |
Static Protected Member Functions | |
static void | dumpVar_int (CStream &out, const char *varName, int v) |
Used to print variable info from dumpToTextStream with the macro LOADABLEOPTS_DUMP_VAR. More... | |
static void | dumpVar_float (CStream &out, const char *varName, float v) |
static void | dumpVar_double (CStream &out, const char *varName, double v) |
static void | dumpVar_bool (CStream &out, const char *varName, bool v) |
static void | dumpVar_string (CStream &out, const char *varName, const std::string &v) |
CFeatureExtraction::TOptions::TOptions | ( | const TFeatureType | featsType = featKLT | ) |
Initalizer.
Definition at line 278 of file CFeatureExtraction_common.cpp.
References addNewFeatures, mrpt::vision::CFeatureExtraction::TOptions::TPolarImagesOptions::bins_angle, mrpt::vision::CFeatureExtraction::TOptions::TPolarImagesOptions::bins_distance, mrpt::vision::CFeatureExtraction::TOptions::TORBOptions::extract_patch, FASTOptions, FIND_SUBPIXEL, harrisOptions, mrpt::vision::CFeatureExtraction::Hess, mrpt::vision::CFeatureExtraction::TOptions::TSpinImagesOptions::hist_size_distance, mrpt::vision::CFeatureExtraction::TOptions::TSpinImagesOptions::hist_size_intensity, mrpt::vision::CFeatureExtraction::TOptions::TSIFTOptions::implementation, mrpt::vision::CFeatureExtraction::TOptions::THarrisOptions::k, KLTOptions, LogPolarImagesOptions, mrpt::vision::CFeatureExtraction::TOptions::TKLTOptions::min_distance, mrpt::vision::CFeatureExtraction::TOptions::THarrisOptions::min_distance, mrpt::vision::CFeatureExtraction::TOptions::TFASTOptions::min_distance, mrpt::vision::CFeatureExtraction::TOptions::TORBOptions::min_distance, mrpt::vision::CFeatureExtraction::TOptions::TORBOptions::n_levels, mrpt::vision::CFeatureExtraction::TOptions::TFASTOptions::nonmax_suppression, mrpt::vision::CFeatureExtraction::TOptions::TLogPolarImagesOptions::num_angles, ORBOptions, patchSize, PolarImagesOptions, mrpt::vision::CFeatureExtraction::TOptions::TKLTOptions::radius, mrpt::vision::CFeatureExtraction::TOptions::THarrisOptions::radius, mrpt::vision::CFeatureExtraction::TOptions::TSpinImagesOptions::radius, mrpt::vision::CFeatureExtraction::TOptions::TPolarImagesOptions::radius, mrpt::vision::CFeatureExtraction::TOptions::TLogPolarImagesOptions::radius, mrpt::vision::CFeatureExtraction::TOptions::TLogPolarImagesOptions::rho_scale, mrpt::vision::CFeatureExtraction::TOptions::TORBOptions::scale_factor, SIFTOptions, mrpt::vision::CFeatureExtraction::TOptions::THarrisOptions::sigma, SpinImagesOptions, mrpt::vision::CFeatureExtraction::TOptions::TSpinImagesOptions::std_dist, mrpt::vision::CFeatureExtraction::TOptions::TSpinImagesOptions::std_intensity, mrpt::vision::CFeatureExtraction::TOptions::TKLTOptions::threshold, mrpt::vision::CFeatureExtraction::TOptions::THarrisOptions::threshold, mrpt::vision::CFeatureExtraction::TOptions::TFASTOptions::threshold, mrpt::vision::CFeatureExtraction::TOptions::TKLTOptions::tile_image, mrpt::vision::CFeatureExtraction::TOptions::THarrisOptions::tile_image, mrpt::vision::CFeatureExtraction::TOptions::TFASTOptions::use_KLT_response, and useMask.
|
inherited |
Just like dumpToTextStream() but sending the text to the console (std::cout)
Definition at line 47 of file CLoadableOptions.cpp.
References mrpt::utils::CLoadableOptions::dumpToTextStream(), and loadable_opts_my_cout.
Referenced by mrpt::hmtslam::CTopLCDetector_GridMatching::computeTopologicalObservationModel(), mrpt::hmtslam::CHMTSLAM::loadOptions(), and mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::printParams().
|
virtual |
This method should clearly display all the contents of the structure in textual form, sending it to a CStream.
The default implementation in this base class relies on saveToConfigFile() to generate a plain text representation of all the parameters.
Reimplemented from mrpt::utils::CLoadableOptions.
Definition at line 342 of file CFeatureExtraction_common.cpp.
References LOADABLEOPTS_DUMP_VAR, and mrpt::utils::CStream::printf().
Referenced by mrpt::maps::CLandmarksMap::TLikelihoodOptions::dumpToTextStream().
|
staticprotectedinherited |
Definition at line 67 of file CLoadableOptions.cpp.
References LOADABLEOPTS_COLUMN_WIDTH, and mrpt::utils::CStream::printf().
|
staticprotectedinherited |
Definition at line 62 of file CLoadableOptions.cpp.
References LOADABLEOPTS_COLUMN_WIDTH, and mrpt::utils::CStream::printf().
|
staticprotectedinherited |
Definition at line 57 of file CLoadableOptions.cpp.
References LOADABLEOPTS_COLUMN_WIDTH, and mrpt::utils::CStream::printf().
|
staticprotectedinherited |
Used to print variable info from dumpToTextStream with the macro LOADABLEOPTS_DUMP_VAR.
Definition at line 52 of file CLoadableOptions.cpp.
References LOADABLEOPTS_COLUMN_WIDTH, and mrpt::utils::CStream::printf().
|
staticprotectedinherited |
Definition at line 72 of file CLoadableOptions.cpp.
References LOADABLEOPTS_COLUMN_WIDTH, and mrpt::utils::CStream::printf().
|
virtual |
This method load the options from a ".ini"-like file or memory-stored string list.
Only those parameters found in the given "section" and having the same name that the variable are loaded. Those not found in the file will stay with their previous values (usually the default values loaded at initialization). An example of an ".ini" file:
Implements mrpt::utils::CLoadableOptions.
Definition at line 399 of file CFeatureExtraction_common.cpp.
References MRPT_LOAD_CONFIG_VAR, and MRPT_LOAD_CONFIG_VAR_CAST.
Referenced by mrpt::maps::CLandmarksMap::TLikelihoodOptions::loadFromConfigFile().
|
inherited |
Behaves like loadFromConfigFile, but you can pass directly a file name and a temporary CConfigFile object will be created automatically to load the file.
Definition at line 23 of file CLoadableOptions.cpp.
References mrpt::utils::CLoadableOptions::loadFromConfigFile().
Referenced by mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::loadParams().
|
virtualinherited |
This method saves the options to a ".ini"-like file or memory-stored string list.
Reimplemented in mrpt::vision::TMultiResDescOptions, mrpt::vision::TMultiResDescMatchOptions, mrpt::nav::CPTG_RobotShape_Circular, mrpt::nav::CPTG_RobotShape_Polygonal, mrpt::nav::CParameterizedTrajectoryGenerator, mrpt::nav::CAbstractNavigator::TAbstractNavigatorParams, mrpt::nav::CAbstractPTGBasedReactive::TAbstractPTGNavigatorParams, mrpt::nav::CPTG_DiffDrive_CollisionGridBased, mrpt::nav::CHolonomicND::TOptions, mrpt::nav::CWaypointsNavigator::TWaypointsNavigatorParams, mrpt::nav::CHolonomicFullEval::TOptions, mrpt::nav::CReactiveNavigationSystem::TReactiveNavigatorParams, mrpt::nav::CHolonomicVFF::TOptions, mrpt::nav::CMultiObjectiveMotionOptimizerBase::TParamsBase, mrpt::maps::CPointCloudFilterByDistance::TOptions, mrpt::nav::CPTG_DiffDrive_C, mrpt::nav::CPTG_DiffDrive_alpha, mrpt::nav::CMultiObjMotionOpt_Scalarization::TParams, mrpt::nav::CPTG_DiffDrive_CC, mrpt::nav::CPTG_DiffDrive_CCS, mrpt::nav::CPTG_DiffDrive_CS, and mrpt::nav::CPTG_Holo_Blend.
Definition at line 31 of file CLoadableOptions.cpp.
References MRPT_UNUSED_PARAM.
Referenced by mrpt::utils::CLoadableOptions::dumpToTextStream(), and mrpt::utils::CLoadableOptions::saveToConfigFileName().
|
inherited |
Behaves like saveToConfigFile, but you can pass directly a file name and a temporary CConfigFile object will be created automatically to save the file.
Definition at line 39 of file CLoadableOptions.cpp.
References mrpt::utils::CLoadableOptions::saveToConfigFile().
bool mrpt::vision::CFeatureExtraction::TOptions::addNewFeatures |
Whether to add the found features to the input feature list or clear it before adding them (default=false).
Definition at line 94 of file CFeatureExtraction.h.
Referenced by TOptions().
struct VISION_IMPEXP mrpt::vision::CFeatureExtraction::TOptions::TBCDOptions mrpt::vision::CFeatureExtraction::TOptions::BCDOptions |
struct VISION_IMPEXP mrpt::vision::CFeatureExtraction::TOptions::TFASTOptions mrpt::vision::CFeatureExtraction::TOptions::FASTOptions |
Referenced by TOptions().
TFeatureType mrpt::vision::CFeatureExtraction::TOptions::featsType |
Type of the extracted features.
Definition at line 82 of file CFeatureExtraction.h.
bool mrpt::vision::CFeatureExtraction::TOptions::FIND_SUBPIXEL |
Indicates if subpixel accuracy is desired for the extracted points (only applicable to KLT and Harris features)
Definition at line 98 of file CFeatureExtraction.h.
Referenced by TOptions().
struct VISION_IMPEXP mrpt::vision::CFeatureExtraction::TOptions::THarrisOptions mrpt::vision::CFeatureExtraction::TOptions::harrisOptions |
Referenced by TOptions().
struct VISION_IMPEXP mrpt::vision::CFeatureExtraction::TOptions::TKLTOptions mrpt::vision::CFeatureExtraction::TOptions::KLTOptions |
Referenced by TOptions().
struct VISION_IMPEXP mrpt::vision::CFeatureExtraction::TOptions::TLogPolarImagesOptions mrpt::vision::CFeatureExtraction::TOptions::LogPolarImagesOptions |
Referenced by TOptions().
struct VISION_IMPEXP mrpt::vision::CFeatureExtraction::TOptions::TORBOptions mrpt::vision::CFeatureExtraction::TOptions::ORBOptions |
Referenced by TOptions().
unsigned int mrpt::vision::CFeatureExtraction::TOptions::patchSize |
Size of the patch to extract, or 0 if no patch is desired (default=21).
Definition at line 86 of file CFeatureExtraction.h.
Referenced by TOptions(), and mrpt::slam::COccupancyGridMapFeatureExtractor::uncached_extractFeatures().
struct VISION_IMPEXP mrpt::vision::CFeatureExtraction::TOptions::TPolarImagesOptions mrpt::vision::CFeatureExtraction::TOptions::PolarImagesOptions |
Referenced by TOptions().
struct VISION_IMPEXP mrpt::vision::CFeatureExtraction::TOptions::TSIFTOptions mrpt::vision::CFeatureExtraction::TOptions::SIFTOptions |
Referenced by TOptions().
struct VISION_IMPEXP mrpt::vision::CFeatureExtraction::TOptions::TSpinImagesOptions mrpt::vision::CFeatureExtraction::TOptions::SpinImagesOptions |
Referenced by TOptions().
struct VISION_IMPEXP mrpt::vision::CFeatureExtraction::TOptions::TSURFOptions mrpt::vision::CFeatureExtraction::TOptions::SURFOptions |
bool mrpt::vision::CFeatureExtraction::TOptions::useMask |
Whether to use a mask for determining the regions where not to look for keypoints (default=false).
Definition at line 90 of file CFeatureExtraction.h.
Referenced by TOptions().
Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019 |