Main MRPT website > C++ reference
MRPT logo
Public Member Functions | Public Attributes

mrpt::vision::TMultiResDescOptions Struct Reference


Detailed Description

Struct containing the options when computing the multi-resolution SIFT-like descriptors.

Definition at line 379 of file vision/include/mrpt/vision/types.h.

#include <mrpt/vision/types.h>

Inheritance diagram for mrpt::vision::TMultiResDescOptions:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 TMultiResDescOptions ()
 Default constructor.
 TMultiResDescOptions (const unsigned int &_basePSize, const vector< double > &_scales, const unsigned int &_comLScl, const unsigned int &_comHScl, const double &_sg1, const double &_sg2, const double &_sg3, const bool &_computeDepth, const double &_fx, const double &_cx, const double &_cy, const double &_baseline, const bool &_computeHashCoeffs, const double &_cropValue)
void loadFromConfigFile (const mrpt::utils::CConfigFileBase &cfg, const std::string &section)
 This method load the options from a ".ini"-like file or memory-stored string list.
void saveToConfigFile (mrpt::utils::CConfigFileBase &cfg, const std::string &section)
 This method saves the options to a ".ini"-like file or memory-stored string list.
void dumpToTextStream (mrpt::utils::CStream &out) const
 This method must display clearly all the contents of the structure in textual form, sending it to a CStream.

Public Attributes

unsigned int basePSize
 The size of the base patch.
vector< double > scales
 The set of scales relatives to the base patch.
unsigned int comLScl
unsigned int comHScl
 The subset of scales for which to compute the descriptors.
double sg1
double sg2
double sg3
 The sigmas for the Gaussian kernels.
bool computeDepth
 Whether or not compute the depth of the feature.
double fx
double cx
double cy
double baseline
 Intrinsic stereo pair parameters for computing the depth of the feature.
bool computeHashCoeffs
 Whether or not compute the coefficients for mantaining a HASH table of descriptors (for relocalization).
double cropValue
 The SIFT-like descriptor is cropped at this value during normalization.

Constructor & Destructor Documentation

mrpt::vision::TMultiResDescOptions::TMultiResDescOptions (  )  [inline]

Default constructor.

Definition at line 393 of file vision/include/mrpt/vision/types.h.

mrpt::vision::TMultiResDescOptions::TMultiResDescOptions ( const unsigned int &  _basePSize,
const vector< double > &  _scales,
const unsigned int &  _comLScl,
const unsigned int &  _comHScl,
const double &  _sg1,
const double &  _sg2,
const double &  _sg3,
const bool &  _computeDepth,
const double &  _fx,
const double &  _cx,
const double &  _cy,
const double &  _baseline,
const bool &  _computeHashCoeffs,
const double &  _cropValue 
) [inline]

Definition at line 408 of file vision/include/mrpt/vision/types.h.


Member Function Documentation

void mrpt::vision::TMultiResDescOptions::dumpToTextStream ( mrpt::utils::CStream out  )  const [virtual]

This method must display clearly all the contents of the structure in textual form, sending it to a CStream.

Implements mrpt::utils::CLoadableOptions.

void mrpt::vision::TMultiResDescOptions::loadFromConfigFile ( const mrpt::utils::CConfigFileBase source,
const std::string &  section 
) [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:

  [section]
        resolution=0.10         ; blah blah...
        modeSelection=1         ; 0=blah, 1=blah,...
See also:
loadFromConfigFileName, saveToConfigFile

Implements mrpt::utils::CLoadableOptions.

void mrpt::vision::TMultiResDescOptions::saveToConfigFile ( mrpt::utils::CConfigFileBase source,
const std::string &  section 
) [virtual]

This method saves the options to a ".ini"-like file or memory-stored string list.

See also:
loadFromConfigFile, saveToConfigFileName

Reimplemented from mrpt::utils::CLoadableOptions.


Member Data Documentation

Intrinsic stereo pair parameters for computing the depth of the feature.

Definition at line 386 of file vision/include/mrpt/vision/types.h.

The size of the base patch.

Definition at line 381 of file vision/include/mrpt/vision/types.h.

The subset of scales for which to compute the descriptors.

Definition at line 383 of file vision/include/mrpt/vision/types.h.

Definition at line 383 of file vision/include/mrpt/vision/types.h.

Whether or not compute the depth of the feature.

Definition at line 385 of file vision/include/mrpt/vision/types.h.

Whether or not compute the coefficients for mantaining a HASH table of descriptors (for relocalization).

Definition at line 387 of file vision/include/mrpt/vision/types.h.

The SIFT-like descriptor is cropped at this value during normalization.

Definition at line 389 of file vision/include/mrpt/vision/types.h.

Definition at line 386 of file vision/include/mrpt/vision/types.h.

Definition at line 386 of file vision/include/mrpt/vision/types.h.

Definition at line 386 of file vision/include/mrpt/vision/types.h.

The set of scales relatives to the base patch.

Definition at line 382 of file vision/include/mrpt/vision/types.h.

Definition at line 384 of file vision/include/mrpt/vision/types.h.

Definition at line 384 of file vision/include/mrpt/vision/types.h.

The sigmas for the Gaussian kernels.

Definition at line 384 of file vision/include/mrpt/vision/types.h.




Page generated by Doxygen 1.7.1 for MRPT 0.9.4 SVN: at Mon Jan 10 23:33:19 UTC 2011