Isis 3 Programmer Reference
HiEqualization.h
1#ifndef HiEqualization_h
2#define HiEqualization_h
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include "Equalization.h"
13
14#include <string>
15#include <vector>
16
17#include "FileList.h"
18
19
20namespace Isis {
21 class Buffer;
22 class Cube;
23 class FileList;
24 class OverlapStatistics;
25 class PvlGroup;
26 class Statistics;
27
28
35 protected:
46 public:
47 HiCalculateFunctor(Statistics *stats, Statistics *statsLeft,
48 Statistics *statsRight,
49 double percent) : CalculateFunctor(stats, percent) {
50 m_statsLeft = statsLeft;
51 m_statsRight = statsRight;
52 }
53
54 virtual ~HiCalculateFunctor() {}
55
56 protected:
57 virtual void addStats(Buffer &in) const;
58
59 private:
60 Statistics *m_statsLeft;
61 Statistics *m_statsRight;
62 };
63
64 public:
65 HiEqualization(QString fromListName);
66 virtual ~HiEqualization();
67
68 void calculateStatistics();
69
70 protected:
71 virtual void fillOutList(FileList &outList, QString toListName);
72 virtual void errorCheck(QString fromListName);
73
74 private:
75 int getCCDType(int ccd);
76
77 std::vector<int> movedIndices;
78 };
79};
80
81#endif
Buffer for reading and writing cube data.
Definition Buffer.h:53
This class is used as a functor calculate image statistics.
CalculateFunctor(Statistics *stats, double percent)
Constructs a CalculateFunctor.
This class can be used to calculate, read in, and/or apply equalization statistics for a list of file...
Internalizes a list of files.
Definition FileList.h:54
virtual void errorCheck(QString fromListName)
Checks that the input images have the same mapping groups and same number of bands.
This class is used to accumulate statistics on double arrays.
Definition Statistics.h:94
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16