An official website of the United States government
Here’s how you know
Official websites use .gov
A
.gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS
A
lock
( ) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
Isis Developer Reference
|
Selection class derived from the Pure Virtual Parent Class for all Selection classes. More...
#include <Centroid.h>
Public Member Functions | |
Centroid () | |
virtual | ~Centroid () |
int | select (Chip *inputChip, Chip *selectionChip) |
Given a range of DN this function creates a biniary chip for all continuous pixels that have the DN within the specified range using the center pixel of the chip as the seed value. | |
int | setDNRange (double minimumDN, double maximumDN) |
Set the range of the DNs. | |
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 | ( | ) |
|
virtual |
|
inherited |
References Ellipse::A, Ellipse::cen, Isis::choleski_solve(), ellipseAxesAreaFromMatrix(), and Isis::isymp().
Referenced by Isis::CentroidApolloPan::elipticalReduction(), and elipticalReduction().
|
inherited |
References Isis::Chip::GetValue(), Isis::Chip::Lines(), and Isis::Chip::Samples().
|
inherited |
References Isis::Chip::GetValue(), Isis::Chip::Lines(), and Isis::Chip::Samples().
References Isis::Chip::GetValue(), Isis::Chip::Lines(), pointInEllipse(), and Isis::Chip::Samples().
Referenced by Isis::CentroidApolloPan::elipticalReduction(), and elipticalReduction().
|
virtualinherited |
Reimplemented in Isis::CentroidApolloPan.
References Ellipse::A, Ellipse::area, bestFitEllipse(), Ellipse::cen, elipsePercentSelected(), ellipseFrom5Pts(), ellipseInChip(), Isis::Chip::Lines(), Ellipse::majorAxis, Ellipse::minorAxis, pointInEllipse(), Isis::Chip::Samples(), selectionEdge(), Ellipse::semiMajor, Ellipse::semiMinor, and Isis::Chip::SetValue().
|
inherited |
References Ellipse::A, Ellipse::area, Ellipse::majorAxis, Ellipse::minorAxis, Ellipse::semiMajor, and Ellipse::semiMinor.
Referenced by bestFitEllipse(), ellipseFromCubic(), and minimumBoundingElipse().
|
inherited |
References ellipseFromCubic().
Referenced by elipticalReduction().
|
inherited |
References Ellipse::A, Ellipse::area, Ellipse::cen, Ellipse::majorAxis, Ellipse::minorAxis, Ellipse::semiMajor, and Ellipse::semiMinor.
Referenced by Isis::CentroidApolloPan::elipticalReduction().
|
inherited |
References Ellipse::A, Ellipse::cen, and ellipseAxesAreaFromMatrix().
Referenced by ellipseFrom5Pts().
References Ellipse::cen, Isis::Chip::Lines(), Ellipse::majorAxis, Isis::Chip::Samples(), Ellipse::semiMajor, and Ellipse::semiMinor.
Referenced by Isis::CentroidApolloPan::elipticalReduction(), and elipticalReduction().
double Isis::Centroid::getMaxDN | ( | ) |
Referenced by Isis::CentroidApolloPan::selectAdaptive().
double Isis::Centroid::getMinDN | ( | ) |
Referenced by Isis::CentroidApolloPan::selectAdaptive().
|
inherited |
References Ellipse::A, Ellipse::cen, and ellipseAxesAreaFromMatrix().
|
inherited |
References Ellipse::A, and Ellipse::cen.
Referenced by elipsePercentSelected(), Isis::CentroidApolloPan::elipticalReduction(), and elipticalReduction().
Given a range of DN this function creates a biniary chip for all continuous pixels that have the DN within the specified range using the center pixel of the chip as the seed value.
inputChip | Pointer to the input chip |
selectionChip | Pointer to the binary chip of selected and unselected pixels |
Implements Isis::Selection.
References Isis::Chip::ChipLine(), Isis::Chip::ChipSample(), Isis::Chip::GetValue(), Isis::Chip::Lines(), Isis::Chip::Samples(), Isis::Chip::SetAllValues(), Isis::Chip::SetSize(), and Isis::Chip::SetValue().
Referenced by Isis::CentroidApolloPan::selectAdaptive().
|
inherited |
References Isis::Chip::GetValue(), Isis::Chip::Lines(), and Isis::Chip::Samples().
Referenced by Isis::CentroidApolloPan::elipticalReduction(), and elipticalReduction().
int Isis::Centroid::setDNRange | ( | double | minimumDN, |
double | maximumDN ) |
Set the range of the DNs.
minimumDN | The min DN value of the range |
maximumDN | The max DN value of the range |
Referenced by Isis::CentroidApolloPan::selectAdaptive(), and Isis::AutoReg::SetSubpixelPosition().