User Documentation
Centre for Vision, Speech & Signal Processing
DEVELOP IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
CorrSetC::CorrSetC(int,int)
CorrSetC::LoadCorrespondenceSets(int)
CorrSetC::AddCorrespondenceSet(int,int,int,VectorSetC &,VectorSetC &)
CorrSetC::SaveCorrespondenceSets(void)
CorrSetC::SortSets(void)
CorrSetC::BoundBox(void)
CorrSetC::AddNoiseToAllSets(double)
CorrSetC::ApplyRT(int,RigidTransC)
CorrSetC
 
Provides routines for correspondence sets (it stores an array of CorSpecT's)
 
include "amma/CorrSet.hh"
User Level:Default
Library:Regis
Example: testcom.cc
Section: 3D Surface.Registration
In Scope:std

Comments:
As well as providing routines for loading and saving correspondence sets. It also provides routines to determine the bounding box, to add noise and to apply rigid transforms to each view.

Variables:
int ncsetsM;
The number of correspondence sets.

SArray1dC csetsM;
The array of correspondence sets.

int traceM;
Trace: 0 -> no trace, 1 -> trace

Methods:
CorrSetC(int n = 0,int trace = 0)
Constructs n correspondence empty sets

void LoadCorrespondenceSets(int ncsets)
Routine to load all of the correspondence sets.

void AddCorrespondenceSet(int viewA,int viewB,int noPairs,VectorSetC & setA,VectorSetC & setB)
Add correspondence set to array.

void SaveCorrespondenceSets(void)
Routine to save all of the correspondence sets.

void SortSets(void)
Makes sure that view A's id is less than view B's id, does neccessary swapping.
This is primarily for use with NRegisC.

Vector3dC BoundBox(void)
Calculates bounding box.

void AddNoiseToAllSets(double val)
Adds noise to all of the points in the correspondence sets.

void ApplyRT(int view,RigidTransC rt)
Applies the specified Rigid Transform to the specified view.
Goes through all correspondence sets and applies the RT to the view.


Programmer: Simon Cunnington , Documentation by CxxDoc: Tue Mar 20 10:48:08 2001