|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
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:49:27 2001
|