#include "oldlist.h"
#include "matchdefs.h"
#include "xform2d.h"
Go to the source code of this file.
#define BULGENORMALIZER 0.942809041 |
maximum size of a bulge for length=1 is sqrt(2)/3
Definition at line 30 of file mfdefs.h.
Referenced by ComputeBulges(), and SmearBulges().
#define CenterX | ( | M | ) | ( (M)[XPOSITION] ) |
Definition at line 62 of file mfdefs.h.
Referenced by ExtractMicroFeature(), ExtractMicros(), and MakeNewFromOld().
#define CenterY | ( | M | ) | ( (M)[YPOSITION] ) |
Definition at line 63 of file mfdefs.h.
Referenced by ExtractMicroFeature(), ExtractMicros(), and MakeNewFromOld().
#define FirstBulgeOf | ( | M | ) | ( (M)[FIRSTBULGE] ) |
#define LengthOf | ( | M | ) | ( (M)[MFLENGTH] ) |
Definition at line 64 of file mfdefs.h.
Referenced by ComputeBulges(), ExtractMicroFeature(), ExtractMicros(), MakeNewFromOld(), and SmearBulges().
#define NextFeatureOf | ( | L | ) | ( (MICROFEATURE) first( L ) ) |
macros for accessing micro-feature lists
Definition at line 70 of file mfdefs.h.
Referenced by SmearBulges().
#define OrientationOf | ( | M | ) | ( (M)[ORIENTATION] ) |
Definition at line 65 of file mfdefs.h.
Referenced by ComputeBulges(), ExtractMicroFeature(), ExtractMicros(), MakeNewFromOld(), and SmearBulges().
#define SecondBulgeOf | ( | M | ) | ( (M)[SECONDBULGE] ) |
void FreeMicroFeatures | ( | MICROFEATURES | MicroFeatures | ) |
Deallocates all of the memory consumed by a list of micro-features.
MicroFeatures | list of micro-features to be freed |
Definition at line 52 of file mfdefs.cpp.
References destroy_nodes(), and Efree().
Referenced by ExtractMicros().
00052 { 00053 destroy_nodes(MicroFeatures, Efree); 00054 } /* FreeMicroFeatures */
MICROFEATURE NewMicroFeature | ( | ) |
Allocates and returns a new micro-feature data structure.
none |
Definition at line 38 of file mfdefs.cpp.
References Emalloc().
Referenced by ExtractMicroFeature().
00038 { 00039 return ((MICROFEATURE) Emalloc (sizeof (MFBLOCK))); 00040 } /* NewMicroFeature */