Isis 3 Programmer Reference
Centroid.h
1 #ifndef Centroid_h
2 #define Centroid_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 #include "Chip.h"
11 #include "Selection.h"
12 #include "Statistics.h"
13 
14 namespace Isis {
30  class Centroid : public Selection
31  {
32  public:
33  Centroid();
34  virtual ~Centroid();
35  //pure virtual function to be defined in this child class
36  int select(Chip *inputChip,Chip *selectionChip);
37  int setDNRange( double minimumDN,double maximumDN );
38  double getMinDN();
39  double getMaxDN();
40  private:
41  double m_maxDN;
42  double m_minDN;
43  };
44 }
45 #endif
Isis::Centroid::m_minDN
double m_minDN
The min DN value to be included in the selection.
Definition: Centroid.h:42
Isis::Centroid
Selection class derived from the Pure Virtual Parent Class for all Selection classes.
Definition: Centroid.h:31
Isis::Centroid::getMaxDN
double getMaxDN()
Definition: Centroid.cpp:147
Isis::Selection
Pure Virtual Parent Class for all Selection classes.
Definition: Selection.h:43
Isis::Centroid::m_maxDN
double m_maxDN
The max DN value to be included in the selection.
Definition: Centroid.h:41
Isis::Centroid::setDNRange
int setDNRange(double minimumDN, double maximumDN)
Set the range of the DNs.
Definition: Centroid.cpp:126
Isis::Chip
A small chip of data used for pattern matching.
Definition: Chip.h:86
Isis::Centroid::select
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:30
Isis::Centroid::getMinDN
double getMinDN()
Definition: Centroid.cpp:139
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16