|
Isis 3.0 Developer's Reference (API) |
Home |
Selection class derived from the Pure Virtual Parent Class for all Selection classes. More...
#include <Centroid.h>
Inherits Isis::Selection.
Inherited by Isis::CentroidApolloPan.
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) |
Selection class derived from the Pure Virtual Parent Class for all Selection classes.
Description coming soon
| Isis::Centroid::Centroid | ( | ) |
| Isis::Centroid::~Centroid | ( | ) | [virtual] |
| bool Isis::Selection::bestFitEllipse | ( | Ellipse * | ell, | |
| std::vector< std::vector< int > > * | pts, | |||
| double | play, | |||
| unsigned int | max_iter | |||
| ) | [inherited] |
References Ellipse::A, Ellipse::cen, Isis::choleski_solve(), Isis::Selection::ellipseAxesAreaFromMatrix(), and Isis::isymp().
Referenced by Isis::Selection::elipticalReduction(), and Isis::CentroidApolloPan::elipticalReduction().
| int Isis::Selection::centerOfMass | ( | Chip * | selectionChip, | |
| double * | sample, | |||
| double * | line | |||
| ) | [inherited] |
References Isis::Chip::GetValue(), Isis::Chip::Lines(), and Isis::Chip::Samples().
| int Isis::Selection::centerOfMassWeighted | ( | Chip * | inputChip, | |
| Chip * | selectionChip, | |||
| double * | sample, | |||
| double * | line | |||
| ) | [inherited] |
References Isis::Chip::GetValue(), Isis::Chip::Lines(), and Isis::Chip::Samples().
Referenced by Isis::AutoReg::SetSubpixelPosition().
| int Isis::Selection::elipticalReduction | ( | Chip * | selectionChip, | |
| double | percent_selected, | |||
| double | play, | |||
| int | patience_limit | |||
| ) | [virtual, inherited] |
Reimplemented in Isis::CentroidApolloPan.
References Ellipse::A, Ellipse::area, Isis::Selection::bestFitEllipse(), Ellipse::cen, Isis::Selection::elipsePercentSelected(), Isis::Selection::ellipseFrom5Pts(), Isis::Selection::ellipseInChip(), Isis::Chip::Lines(), Ellipse::majorAxis, Ellipse::minorAxis, Isis::Selection::pointInEllipse(), Isis::Chip::Samples(), Isis::Selection::selectionEdge(), Ellipse::semiMajor, Ellipse::semiMinor, and Isis::Chip::SetValue().
| bool Isis::Selection::ellipseAxesAreaFromMatrix | ( | Ellipse * | ell | ) | [inherited] |
| bool Isis::Selection::ellipseFrom5Pts | ( | Ellipse * | ell, | |
| double | pts[5][2] | |||
| ) | [inherited] |
References delta, and Isis::Selection::ellipseFromCubic().
Referenced by Isis::Selection::elipticalReduction().
| bool Isis::Selection::ellipseFromCenterAxesAngle | ( | Ellipse * | ell, | |
| double | centerSample, | |||
| double | centerLine, | |||
| double | semiMajor, | |||
| double | semiMinor, | |||
| double | theta | |||
| ) | [inherited] |
References Ellipse::A, Ellipse::area, Ellipse::cen, Ellipse::majorAxis, Ellipse::minorAxis, Ellipse::semiMajor, and Ellipse::semiMinor.
Referenced by Isis::CentroidApolloPan::elipticalReduction().
| bool Isis::Selection::ellipseFromCubic | ( | Ellipse * | ell, | |
| double | cubic[6] | |||
| ) | [inherited] |
References Ellipse::A, Ellipse::cen, delta, and Isis::Selection::ellipseAxesAreaFromMatrix().
Referenced by Isis::Selection::ellipseFrom5Pts().
References Ellipse::cen, Isis::Chip::Lines(), Ellipse::majorAxis, Isis::Chip::Samples(), Ellipse::semiMajor, and Ellipse::semiMinor.
Referenced by Isis::Selection::elipticalReduction(), and Isis::CentroidApolloPan::elipticalReduction().
| double Isis::Centroid::getMaxDN | ( | ) |
Referenced by Isis::CentroidApolloPan::selectAdaptive().
| double Isis::Centroid::getMinDN | ( | ) |
Referenced by Isis::CentroidApolloPan::selectAdaptive().
| std::vector< double > Isis::Selection::minimumBoundingElipse | ( | std::vector< std::vector< int > > | pts, | |
| Ellipse * | ell | |||
| ) | [inherited] |
References Ellipse::A, Ellipse::cen, delta, and Isis::Selection::ellipseAxesAreaFromMatrix().
| bool Isis::Selection::pointInEllipse | ( | Ellipse * | ell, | |
| double | pt[2], | |||
| double | play | |||
| ) | [inherited] |
References Ellipse::A, and Ellipse::cen.
Referenced by Isis::Selection::elipsePercentSelected(), Isis::Selection::elipticalReduction(), and Isis::CentroidApolloPan::elipticalReduction().
Implements Isis::Selection.
References Isis::Chip::ChipLine(), Isis::Chip::ChipSample(), dn, Isis::Chip::GetValue(), line, Isis::Chip::Lines(), Q, sample, Isis::Chip::Samples(), Isis::Chip::SetAllValues(), Isis::Chip::SetSize(), and Isis::Chip::SetValue().
Referenced by Isis::CentroidApolloPan::selectAdaptive(), and Isis::AutoReg::SetSubpixelPosition().
| void Isis::Selection::selectionEdge | ( | Chip * | selectionChip, | |
| std::vector< std::vector< int > > * | pts | |||
| ) | [inherited] |
References Isis::Chip::GetValue(), Isis::Chip::Lines(), and Isis::Chip::Samples().
Referenced by Isis::Selection::elipticalReduction(), and Isis::CentroidApolloPan::elipticalReduction().
| int Isis::Centroid::setDNRange | ( | double | minimumDN, | |
| double | maximumDN | |||
| ) |
Referenced by Isis::CentroidApolloPan::selectAdaptive(), and Isis::AutoReg::SetSubpixelPosition().