51 virtual int elipticalReduction(
Chip *selectionChip,
double percent_selected,
double play,
int patience_limit);
63 bool bestFitEllipse(
Ellipse *ell, std::vector < std::vector<int> > *pts,
double play,
unsigned int max_iter);
struct Ellipse Ellipse
This is free and unencumbered software released into the public domain.
A small chip of data used for pattern matching.
Definition Chip.h:86
Pure Virtual Parent Class for all Selection classes.
Definition Selection.h:43
virtual int select(Chip *inputChip, Chip *selectionChip)=0
bool bestFitEllipse(Ellipse *ell, std::vector< std::vector< int > > *pts, double play, unsigned int max_iter)
Definition Selection.cpp:416
virtual int elipticalReduction(Chip *selectionChip, double percent_selected, double play, int patience_limit)
Definition Selection.cpp:32
bool ellipseFromCubic(Ellipse *ell, double cubic[6])
Definition Selection.cpp:385
virtual ~Selection()
Definition Selection.cpp:28
int centerOfMass(Chip *selectionChip, double *sample, double *line)
Definition Selection.cpp:164
bool ellipseFromCenterAxesAngle(Ellipse *ell, double centerSample, double centerLine, double semiMajor, double semiMinor, double theta)
Definition Selection.cpp:753
void selectionEdge(Chip *selectionChip, std::vector< std::vector< int > > *pts)
Definition Selection.cpp:553
bool ellipseFrom5Pts(Ellipse *ell, double pts[5][2])
Definition Selection.cpp:331
bool ellipseInChip(Ellipse *ell, Chip *chip)
Definition Selection.cpp:632
std::vector< double > minimumBoundingElipse(std::vector< std::vector< int > > pts, Ellipse *ell)
Definition Selection.cpp:228
bool pointInEllipse(Ellipse *ell, double pt[2], double play)
Definition Selection.cpp:730
bool ellipseAxesAreaFromMatrix(Ellipse *ell)
Definition Selection.cpp:581
Selection()
Definition Selection.cpp:27
int centerOfMassWeighted(Chip *inputChip, Chip *selectionChip, double *sample, double *line)
Definition Selection.cpp:187
double elipsePercentSelected(Chip *selectionChip, Ellipse *ell)
Definition Selection.cpp:292
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
This is free and unencumbered software released into the public domain.
Definition Selection.h:14
double A[3]
Definition Selection.h:15
double minorAxis[2]
Definition Selection.h:19
double semiMinor
Definition Selection.h:17
double semiMajor
Definition Selection.h:16
double area
Definition Selection.h:21
double cen[2]
Definition Selection.h:20
double majorAxis[2]
Definition Selection.h:18