|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
The class GeomFeatSetC is a set of geometric features of class GeomFeatC of uniform gf type, together with a
descriptor of the feature type.
Additionally, extra feature attributes can be included, as well as
covariances for the features. The covariances are currently (somewhat
idiosyncratically) in a mxn matrix M which is a square root of the
covariance matrix; m is the number of underlying error parameters, and n is
the number of feature measurements. The covariance matrix is given by
M.T() * M.
Parent Classes:
Variables:
- SArray1dC data;
-
Methods:
- GeomFeatSetC(const GfSetC gf_set,const int extra_meas = 0,const bool errors_with_data = false)
-
constructor from gf set
If extra_meas > 0, the next extra_meas values after the feature are read
in. I.e. it is a way of incorporating extra attributes for the features.
If errors_with_data, it will look for a 2D array
- GeomFeatSetC(const GfFeatT type,const IntT size)
-
constructor for set to be filled later
- GeomFeatSetC(const GfFeatT type,const SArray1dC<VectorC> pts)
-
constructor from array of points
- GeomFeatSetC(const GeomFeatSetC & set)
-
- ~GeomFeatSetC()
-
destructor
- GeomFeatSetC & operator=(const GeomFeatSetC & set)
-
assignment
- IntT Size() const
-
size of set
- const GeomFeatC & operator[](const IntT i) const
-
access to const set element
- GeomFeatC & operator[](const IntT i)
-
access to set element
- SArray1dC<VectorC> GenPts() const
-
generates a vector array of the feature points
- SArray1dC<VectorC> GenCG() const
-
generates a vector array of the feature centres of gravity
- IntT Field(StringC gf_format)
-
returns position of feature in gf format string
- void SetType(const GfFeatT new_type)
-
assign gf type
- GfFeatT Type() const
-
returns gf type of feature
- IntT NoOfPts() const
-
returns no. of points in feature
- IntT Dim() const
-
returns dimensionality of feature space
- StringC TypeStr() const
-
returns string representation of gf type of set elements
|
Programmer:Bill Christmas, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|