![]()  | 
  
    Isis 3 Programmer Reference
    
   | 
 
Selection class derived from the Pure Virtual Parent Class for all Selection classes. More...
#include <Centroid.h>


Public Member Functions | |
| 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.  More... | |
| int | setDNRange (double minimumDN, double maximumDN) | 
| Set the range of the DNs.  More... | |
| 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) | 
Private Attributes | |
| double | m_maxDN | 
| The max DN value to be included in the selection.  More... | |
| double | m_minDN | 
| The min DN value to be included in the selection.  More... | |
Selection class derived from the Pure Virtual Parent Class for all Selection classes.
Description coming soon
 
Definition at line 30 of file Centroid.h.
| double Isis::Centroid::getMaxDN | ( | ) | 
Definition at line 147 of file Centroid.cpp.
| double Isis::Centroid::getMinDN | ( | ) | 
Definition at line 139 of file Centroid.cpp.
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.
Definition at line 30 of file Centroid.cpp.
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::AutoReg::SetSubpixelPosition().
| 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 | 
Definition at line 126 of file Centroid.cpp.
Referenced by Isis::AutoReg::SetSubpixelPosition().
      
  | 
  private | 
The max DN value to be included in the selection.
Definition at line 41 of file Centroid.h.
      
  | 
  private | 
The min DN value to be included in the selection.
Definition at line 42 of file Centroid.h.