USGS

Isis 3.0 Developer's Reference (API)

Home

Isis::Centroid Class Reference

Selection class derived from the Pure Virtual Parent Class for all Selection classes. More...

#include <Centroid.h>

Inherits Isis::Selection.

Inherited by Isis::CentroidApolloPan.

List of all members.

Public Member Functions

 Centroid ()
virtual ~Centroid ()
int select (Chip *inputChip, Chip *selectionChip)
int setDNRange (double minimumDN, double maximumDN)
double getMinDN ()
double getMaxDN ()
virtual int elipticalReduction (Chip *selectionChip, double percent_selected, double play, int patience_limit)
int centerOfMass (Chip *selectionChip, double *sample, double *line)
int centerOfMassWeighted (Chip *inputChip, Chip *selectionChip, double *sample, double *line)
bool ellipseFrom5Pts (Ellipse *ell, double pts[5][2])
double elipsePercentSelected (Chip *selectionChip, Ellipse *ell)
std::vector< double > minimumBoundingElipse (std::vector< std::vector< int > > pts, Ellipse *ell)
bool ellipseFromCubic (Ellipse *ell, double cubic[6])
bool ellipseAxesAreaFromMatrix (Ellipse *ell)
bool bestFitEllipse (Ellipse *ell, std::vector< std::vector< int > > *pts, double play, unsigned int max_iter)
bool pointInEllipse (Ellipse *ell, double pt[2], double play)
bool ellipseInChip (Ellipse *ell, Chip *chip)
bool ellipseFromCenterAxesAngle (Ellipse *ell, double centerSample, double centerLine, double semiMajor, double semiMinor, double theta)
void selectionEdge (Chip *selectionChip, std::vector< std::vector< int > > *pts)

Detailed Description

Selection class derived from the Pure Virtual Parent Class for all Selection classes.

Description coming soon

Author:
2011-10-12 Orrin Thomas

Constructor & Destructor Documentation

Isis::Centroid::Centroid (  ) 
Isis::Centroid::~Centroid (  )  [virtual]

Member Function Documentation

bool Isis::Selection::bestFitEllipse ( Ellipse ell,
std::vector< std::vector< int > > *  pts,
double  play,
unsigned int  max_iter 
) [inherited]
int Isis::Selection::centerOfMass ( Chip selectionChip,
double *  sample,
double *  line 
) [inherited]
int Isis::Selection::centerOfMassWeighted ( Chip inputChip,
Chip selectionChip,
double *  sample,
double *  line 
) [inherited]
double Isis::Selection::elipsePercentSelected ( Chip selectionChip,
Ellipse ell 
) [inherited]
int Isis::Selection::elipticalReduction ( Chip selectionChip,
double  percent_selected,
double  play,
int  patience_limit 
) [virtual, inherited]
bool Isis::Selection::ellipseAxesAreaFromMatrix ( Ellipse ell  )  [inherited]
bool Isis::Selection::ellipseFrom5Pts ( Ellipse ell,
double  pts[5][2] 
) [inherited]
bool Isis::Selection::ellipseFromCenterAxesAngle ( Ellipse ell,
double  centerSample,
double  centerLine,
double  semiMajor,
double  semiMinor,
double  theta 
) [inherited]
bool Isis::Selection::ellipseFromCubic ( Ellipse ell,
double  cubic[6] 
) [inherited]
bool Isis::Selection::ellipseInChip ( Ellipse ell,
Chip chip 
) [inherited]
double Isis::Centroid::getMaxDN (  ) 
double Isis::Centroid::getMinDN (  ) 
std::vector< double > Isis::Selection::minimumBoundingElipse ( std::vector< std::vector< int > >  pts,
Ellipse ell 
) [inherited]
bool Isis::Selection::pointInEllipse ( Ellipse ell,
double  pt[2],
double  play 
) [inherited]
int Isis::Centroid::select ( Chip inputChip,
Chip selectionChip 
) [virtual]
void Isis::Selection::selectionEdge ( Chip selectionChip,
std::vector< std::vector< int > > *  pts 
) [inherited]
int Isis::Centroid::setDNRange ( double  minimumDN,
double  maximumDN 
)

The documentation for this class was generated from the following files: