Gaia
|
The Extract analyzer allows you to extract only specific dimensions from any given number of descriptors. More...
#include <extract.h>
Public Member Functions | |
Extract (const ParameterMap ¶ms) | |
Transformation | analyze (const DataSet *data) const |
![]() | |
Analyzer (const ParameterMap ¶ms) | |
virtual Transformation | analyze (const DataSet *dataset, const Region ®ion) 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 Region & | checkFixedLength (const Region ®ion, 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 |
![]() | |
ParameterMap | _params |
QStringList | _descriptorNames |
QStringList | _exclude |
Additional Inherited Members | |
![]() | |
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... | |
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.
dimensions | the names of the descriptors/dimensions to be extracted. |