Isis 3 Developer Reference
Centroid.h
Go to the documentation of this file.
1 #ifndef Centroid_h
2 #define Centroid_h
3 
26 #include "Chip.h"
27 #include "Selection.h"
28 #include "Statistics.h"
29 
30 namespace Isis {
46  class Centroid : public Selection
47  {
48  public:
49  Centroid();
50  virtual ~Centroid();
51  //pure virtual function to be defined in this child class
52  int select(Chip *inputChip,Chip *selectionChip);
53  int setDNRange( double minimumDN,double maximumDN );
54  double getMinDN();
55  double getMaxDN();
56  private:
57  double m_maxDN;
58  double m_minDN;
59  };
60 }
61 #endif
A small chip of data used for pattern matching.
Definition: Chip.h:102
virtual ~Centroid()
Definition: Centroid.cpp:31
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 w...
Definition: Centroid.cpp:44
Centroid()
Definition: Centroid.cpp:26
Pure Virtual Parent Class for all Selection classes
Definition: Selection.h:59
double getMaxDN()
Definition: Centroid.cpp:161
Selection class derived from the Pure Virtual Parent Class for all Selection classes ...
Definition: Centroid.h:46
double getMinDN()
Definition: Centroid.cpp:153
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
int setDNRange(double minimumDN, double maximumDN)
Set the range of the DNs.
Definition: Centroid.cpp:140