67 virtual int elipticalReduction(
Chip *selectionChip,
double percent_selected,
double play,
int patience_limit);
79 bool bestFitEllipse(
Ellipse *ell, std::vector < std::vector<int> > *pts,
double play,
unsigned int max_iter);
std::vector< double > minimumBoundingElipse(std::vector< std::vector< int > > pts, Ellipse *ell)
Definition: Selection.cpp:242
double majorAxis[2]
Definition: Selection.h:34
int centerOfMassWeighted(Chip *inputChip, Chip *selectionChip, double *sample, double *line)
Definition: Selection.cpp:201
virtual ~Selection()
Definition: Selection.cpp:42
double semiMajor
Definition: Selection.h:32
A small chip of data used for pattern matching.
Definition: Chip.h:102
double minorAxis[2]
Definition: Selection.h:35
bool bestFitEllipse(Ellipse *ell, std::vector< std::vector< int > > *pts, double play, unsigned int max_iter)
Definition: Selection.cpp:430
bool ellipseAxesAreaFromMatrix(Ellipse *ell)
Definition: Selection.cpp:595
void selectionEdge(Chip *selectionChip, std::vector< std::vector< int > > *pts)
Definition: Selection.cpp:567
double elipsePercentSelected(Chip *selectionChip, Ellipse *ell)
Definition: Selection.cpp:306
virtual int elipticalReduction(Chip *selectionChip, double percent_selected, double play, int patience_limit)
Definition: Selection.cpp:46
bool ellipseFromCubic(Ellipse *ell, double cubic[6])
Definition: Selection.cpp:399
bool ellipseFromCenterAxesAngle(Ellipse *ell, double centerSample, double centerLine, double semiMajor, double semiMinor, double theta)
Definition: Selection.cpp:767
bool ellipseInChip(Ellipse *ell, Chip *chip)
Definition: Selection.cpp:646
Pure Virtual Parent Class for all Selection classes
Definition: Selection.h:59
double semiMinor
Definition: Selection.h:33
bool ellipseFrom5Pts(Ellipse *ell, double pts[5][2])
Definition: Selection.cpp:345
double area
Definition: Selection.h:37
Selection()
Definition: Selection.cpp:41
Definition: Selection.h:29
int centerOfMass(Chip *selectionChip, double *sample, double *line)
Definition: Selection.cpp:178
double cen[2]
Definition: Selection.h:36
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
bool pointInEllipse(Ellipse *ell, double pt[2], double play)
Definition: Selection.cpp:744
double A[3]
Definition: Selection.h:31
virtual int select(Chip *inputChip, Chip *selectionChip)=0