Struct containing the options when computing the multi-resolution SIFT-like descriptors.
Definition at line 466 of file vision/include/mrpt/vision/types.h.
#include <mrpt/vision/types.h>
Public Member Functions | |
TMultiResDescOptions () | |
Default constructor. More... | |
TMultiResDescOptions (const unsigned int &_basePSize, const std::vector< double > &_scales, const unsigned int &_comLScl, const unsigned int &_comHScl, const double &_sg1, const double &_sg2, const double &_sg3, const bool &_computeDepth, const bool _blurImage, const double &_fx, const double &_cx, const double &_cy, const double &_baseline, const bool &_computeHashCoeffs, const double &_cropValue) | |
void | loadFromConfigFile (const mrpt::utils::CConfigFileBase &source, const std::string §ion) MRPT_OVERRIDE |
Load all the params from a config source, in the format described in saveToConfigFile() More... | |
void | saveToConfigFile (mrpt::utils::CConfigFileBase &cfg, const std::string §ion) const MRPT_OVERRIDE |
This method saves the options to 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... | |
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... | |
Public Attributes | |
uint32_t | basePSize |
The size of the base patch. More... | |
std::vector< double > | scales |
The set of scales relatives to the base patch. More... | |
uint32_t | comLScl |
uint32_t | comHScl |
The subset of scales for which to compute the descriptors. More... | |
double | sg1 |
double | sg2 |
double | sg3 |
The sigmas for the Gaussian kernels. More... | |
bool | computeDepth |
Whether or not to compute the depth of the feature. More... | |
bool | blurImage |
Whether or not to blur the image previously to compute the descriptors. More... | |
double | fx |
double | cx |
double | cy |
double | baseline |
Intrinsic stereo pair parameters for computing the depth of the feature. More... | |
bool | computeHashCoeffs |
Whether or not compute the coefficients for mantaining a HASH table of descriptors (for relocalization) More... | |
double | cropValue |
The SIFT-like descriptor is cropped at this value during normalization. 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) |
|
inline |
Default constructor.
Definition at line 481 of file vision/include/mrpt/vision/types.h.
|
inline |
Definition at line 496 of file vision/include/mrpt/vision/types.h.
|
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 193 of file CFeature.cpp.
References mrpt::utils::CStream::printf().
|
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 |
Load all the params from a config source, in the format described in saveToConfigFile()
Implements mrpt::utils::CLoadableOptions.
Definition at line 133 of file CFeature.cpp.
References mrpt::utils::CConfigFileBase::read_bool(), mrpt::utils::CConfigFileBase::read_double(), mrpt::utils::CConfigFileBase::read_int(), and mrpt::utils::CConfigFileBase::read_vector().
|
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().
|
virtual |
This method saves the options to a ".ini"-like file or memory-stored string list.
Reimplemented from mrpt::utils::CLoadableOptions.
Definition at line 167 of file CFeature.cpp.
References mrpt::system::os::sprintf(), and mrpt::utils::CConfigFileBase::write().
|
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().
double mrpt::vision::TMultiResDescOptions::baseline |
Intrinsic stereo pair parameters for computing the depth of the feature.
Definition at line 474 of file vision/include/mrpt/vision/types.h.
Referenced by mrpt::vision::computeMultiResolutionDescriptors().
uint32_t mrpt::vision::TMultiResDescOptions::basePSize |
The size of the base patch.
Definition at line 468 of file vision/include/mrpt/vision/types.h.
Referenced by mrpt::vision::computeMoreDescriptors(), mrpt::vision::computeMultiOrientations(), mrpt::vision::computeMultiResolutionDescriptors(), mrpt::vision::matchMultiResolutionFeatures(), and mrpt::vision::relocalizeMultiDesc().
bool mrpt::vision::TMultiResDescOptions::blurImage |
Whether or not to blur the image previously to compute the descriptors.
Definition at line 473 of file vision/include/mrpt/vision/types.h.
Referenced by mrpt::vision::computeMultiResolutionDescriptors().
uint32_t mrpt::vision::TMultiResDescOptions::comHScl |
The subset of scales for which to compute the descriptors.
Definition at line 470 of file vision/include/mrpt/vision/types.h.
uint32_t mrpt::vision::TMultiResDescOptions::comLScl |
Definition at line 470 of file vision/include/mrpt/vision/types.h.
bool mrpt::vision::TMultiResDescOptions::computeDepth |
Whether or not to compute the depth of the feature.
Definition at line 472 of file vision/include/mrpt/vision/types.h.
Referenced by mrpt::vision::computeMultiResolutionDescriptors().
bool mrpt::vision::TMultiResDescOptions::computeHashCoeffs |
Whether or not compute the coefficients for mantaining a HASH table of descriptors (for relocalization)
Definition at line 475 of file vision/include/mrpt/vision/types.h.
Referenced by mrpt::vision::computeHistogramOfOrientations(), and mrpt::vision::computeMultiResolutionDescriptors().
double mrpt::vision::TMultiResDescOptions::cropValue |
The SIFT-like descriptor is cropped at this value during normalization.
Definition at line 477 of file vision/include/mrpt/vision/types.h.
Referenced by mrpt::vision::computeHistogramOfOrientations().
double mrpt::vision::TMultiResDescOptions::cx |
Definition at line 474 of file vision/include/mrpt/vision/types.h.
Referenced by mrpt::vision::computeMultiResolutionDescriptors().
double mrpt::vision::TMultiResDescOptions::cy |
Definition at line 474 of file vision/include/mrpt/vision/types.h.
Referenced by mrpt::vision::computeMultiResolutionDescriptors().
double mrpt::vision::TMultiResDescOptions::fx |
Definition at line 474 of file vision/include/mrpt/vision/types.h.
Referenced by mrpt::vision::computeMultiResolutionDescriptors().
std::vector<double> mrpt::vision::TMultiResDescOptions::scales |
The set of scales relatives to the base patch.
Definition at line 469 of file vision/include/mrpt/vision/types.h.
Referenced by mrpt::vision::computeMultiOrientations(), mrpt::vision::computeMultiResolutionDescriptors(), and mrpt::vision::relocalizeMultiDesc().
double mrpt::vision::TMultiResDescOptions::sg1 |
Definition at line 471 of file vision/include/mrpt/vision/types.h.
Referenced by mrpt::vision::computeMoreDescriptors(), mrpt::vision::computeMultiOrientations(), and mrpt::vision::computeMultiResolutionDescriptors().
double mrpt::vision::TMultiResDescOptions::sg2 |
Definition at line 471 of file vision/include/mrpt/vision/types.h.
Referenced by mrpt::vision::computeMoreDescriptors(), mrpt::vision::computeMultiOrientations(), mrpt::vision::computeMultiResolutionDescriptors(), and mrpt::vision::matchMultiResolutionFeatures().
double mrpt::vision::TMultiResDescOptions::sg3 |
The sigmas for the Gaussian kernels.
Definition at line 471 of file vision/include/mrpt/vision/types.h.
Referenced by mrpt::vision::computeHistogramOfOrientations().
Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020 |