#include <OpenMS/ANALYSIS/MAPMATCHING/PoseClusteringPairwiseMapMatcher.h>
It works on two point maps and computes a vector of corresponding points in both maps (given by a point pairs vector). A point can be a DPeak, a DFeature, a ConsensusPeak or ConsensusFeature (wheras DFeature is the default element type).
Therefore it first estimates the transformation, which maps one point map onto the other. This is done by a superimposer class (e.g. PoseClusteringShiftSuperimposer or the PoseClusteringAffineSuperimposer). Afterwards a pairfinder class (e.g. SimplePairFinder or DelaunayPairFinder) dewarps the data and searches for corresponding points in both maps.
Public Types | |
enum | Maps { MODEL = 0, SCENE = 1 } |
typedef BasePairwiseMapMatcher < MapT > | Base |
Base. | |
typedef Base::PointMapType | PointMapType |
Container for input elements. | |
typedef Base::ElementType | ElementType |
Type of elements considered here. | |
typedef Base::PositionType | PositionType |
Position. | |
typedef Base::CoordinateType | CoordinateType |
Coordinate. | |
typedef DPeakConstReferenceArray < PointMapType > | PeakConstReferenceMapType |
Public Member Functions | |
PoseClusteringPairwiseMapMatcher () | |
Constructor. | |
virtual | ~PoseClusteringPairwiseMapMatcher () |
Destructor. | |
virtual void | run () |
Estimates the transformation for each grid cell and searches for element pairs. | |
Static Public Member Functions | |
static BasePairwiseMapMatcher < MapT > * | create () |
Returns an instance of this class. | |
static const String | getProductName () |
Returns the name of this module. | |
Protected Member Functions | |
virtual void | updateMembers_ () |
This method is used to update extra member variables at the end of the setParam() method. | |
void | computeMatching_ (const PeakConstReferenceMapType &model_map, const std::vector< PeakConstReferenceMapType > &scene_grid_maps) |
Computes the matching between each grid cell in the scene map and the model map. | |
void | buildGrid_ (const PeakConstReferenceMapType &scene_map, std::vector< PeakConstReferenceMapType > &scene_grid_maps) |
Initializes a peak pointer map for each grid cell of the scene (second) map. | |
Protected Attributes | |
BaseSuperimposer < PeakConstReferenceMapType > * | superimposer_ |
This class computes the shift for the best mapping of one element map to another. | |
BasePairFinder < PeakConstReferenceMapType > * | pair_finder_ |
Given the shift, the pair_finder_ searches for corresponding elements in the two maps. |
typedef BasePairwiseMapMatcher<MapT> Base |
Base.
typedef Base::PointMapType PointMapType |
typedef Base::ElementType ElementType |
typedef Base::PositionType PositionType |
typedef Base::CoordinateType CoordinateType |
enum Maps |
PoseClusteringPairwiseMapMatcher | ( | ) | [inline] |
Constructor.
virtual ~PoseClusteringPairwiseMapMatcher | ( | ) | [inline, virtual] |
Destructor.
static BasePairwiseMapMatcher<MapT>* create | ( | ) | [inline, static] |
Returns an instance of this class.
static const String getProductName | ( | ) | [inline, static] |
Returns the name of this module.
virtual void run | ( | ) | [inline, virtual] |
Estimates the transformation for each grid cell and searches for element pairs.
Implements BasePairwiseMapMatcher.
virtual void updateMembers_ | ( | ) | [inline, protected, virtual] |
This method is used to update extra member variables at the end of the setParam() method.
Also call it at the end of the derived classes' copy constructor and assignment operator.
The default implementation is empty.
Reimplemented from BasePairwiseMapMatcher.
void computeMatching_ | ( | const PeakConstReferenceMapType & | model_map, | |
const std::vector< PeakConstReferenceMapType > & | scene_grid_maps | |||
) | [inline, protected] |
Computes the matching between each grid cell in the scene map and the model map.
void buildGrid_ | ( | const PeakConstReferenceMapType & | scene_map, | |
std::vector< PeakConstReferenceMapType > & | scene_grid_maps | |||
) | [inline, protected] |
Initializes a peak pointer map for each grid cell of the scene (second) map.
BaseSuperimposer<PeakConstReferenceMapType>* superimposer_ [protected] |
This class computes the shift for the best mapping of one element map to another.
BasePairFinder< PeakConstReferenceMapType >* pair_finder_ [protected] |
Given the shift, the pair_finder_ searches for corresponding elements in the two maps.
Generated Tue Apr 1 15:36:42 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |