Gaia

The Extract analyzer allows you to extract only specific dimensions from any given number of descriptors. More...

#include <extract.h>

Inheritance diagram for gaia2::Extract:
gaia2::Analyzer

Public Member Functions

 Extract (const ParameterMap &params)
 
Transformation analyze (const DataSet *data) const
 
- Public Member Functions inherited from gaia2::Analyzer
 Analyzer (const ParameterMap &params)
 
virtual Transformation analyze (const DataSet *dataset, const Region &region) const
 
void checkDataSet (const DataSet *dataset) const
 Checks that the given dataset is valid. More...
 
void checkMinPoints (const DataSet *dataset, int n) const
 Checks that the given dataset as at least the specified number of points. More...
 
const RegioncheckFixedLength (const Region &region, const PointLayout &layout) const
 Checks that the given Region only contains fixed-length descriptors and throws an exception if not. More...
 

Protected Attributes

QMap< QString, QList< int > > _dims
 
- Protected Attributes inherited from gaia2::Analyzer
ParameterMap _params
 
QStringList _descriptorNames
 
QStringList _exclude
 

Additional Inherited Members

- Public Attributes inherited from gaia2::Analyzer
QString name
 Name for the algorithm, usually the key that was used to instantiate it from the factory.
 
QStringList validParams
 List of valid parameters this analyzer accepts. More...
 

Detailed Description

The Extract analyzer allows you to extract only specific dimensions from any given number of descriptors.

It works by specifying the list of dimensions to be extracted as standalone descriptors in the form descriptorName[dim]. NB: at the moment, this transformation only works on Real descriptors.

Parameters
dimensionsthe names of the descriptors/dimensions to be extracted.

The documentation for this class was generated from the following files: