Isis 3 Programmer Reference
HiEqualization.h
Go to the documentation of this file.
1 #ifndef HiEqualization_h
2 #define HiEqualization_h
3 
26 #include "Equalization.h"
27 
28 #include <string>
29 #include <vector>
30 
31 #include "FileList.h"
32 
33 
34 namespace Isis {
35  class Buffer;
36  class Cube;
37  class FileList;
38  class OverlapStatistics;
39  class PvlGroup;
40  class Statistics;
41 
42 
48  class HiEqualization : public Equalization {
49  protected:
60  public:
61  HiCalculateFunctor(Statistics *stats, Statistics *statsLeft,
62  Statistics *statsRight,
63  double percent) : CalculateFunctor(stats, percent) {
64  m_statsLeft = statsLeft;
65  m_statsRight = statsRight;
66  }
67 
68  virtual ~HiCalculateFunctor() {}
69 
70  protected:
71  virtual void addStats(Buffer &in) const;
72 
73  private:
74  Statistics *m_statsLeft;
75  Statistics *m_statsRight;
76  };
77 
78  public:
79  HiEqualization(QString fromListName);
80  virtual ~HiEqualization();
81 
82  void calculateStatistics();
83 
84  protected:
85  virtual void fillOutList(FileList &outList, QString toListName);
86  virtual void errorCheck(QString fromListName);
87 
88  private:
89  int getCCDType(int ccd);
90 
91  std::vector<int> movedIndices;
92  };
93 };
94 
95 #endif
Buffer for reading and writing cube data.
Definition: Buffer.h:69
This class is used as a functor calculate image statistics.
Definition: Equalization.h:226
virtual void errorCheck(QString fromListName)
Checks that the input images have the same mapping groups and same number of bands.
Internalizes a list of files.
Definition: FileList.h:70
This class is used to accumulate statistics on double arrays.
Definition: Statistics.h:107
CalculateFunctor(Statistics *stats, double percent)
Constructs a CalculateFunctor.
Definition: Equalization.h:235
This class can be used to calculate, read in, and/or apply equalization statistics for a list of file...
Definition: Equalization.h:138
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31