Isis 3 Developer Reference
MaximumCorrelation.h
Go to the documentation of this file.
1 #ifndef MaximumCorrelation_h
2 #define MaximumCorrelation_h
3 
26 #include "AutoReg.h"
27 
28 namespace Isis {
29  class Pvl;
30  class Chip;
31 
52  class MaximumCorrelation : public AutoReg {
53  public:
54  MaximumCorrelation(Pvl &pvl) : AutoReg(pvl) { };
55  virtual ~MaximumCorrelation() {};
56 
57  protected:
58  virtual double MatchAlgorithm(Chip &pattern, Chip &subsearch);
59  virtual bool CompareFits(double fit1, double fit2);
60  virtual double IdealFit() const {
61  return 1.0;
62  };
63  virtual QString AlgorithmName() const {
64  return "MaximumCorrelation";
65  };
66 
67  };
68 };
69 
70 #endif
virtual bool CompareFits(double fit1, double fit2)
This virtual method must return if the 1st fit is equal to or better than the second fit...
Definition: MaximumCorrelation.cpp:35
A small chip of data used for pattern matching.
Definition: Chip.h:102
virtual double MatchAlgorithm(Chip &pattern, Chip &subsearch)
Given two identically sized chips return a double that indicates how well they match.
Definition: MaximumCorrelation.cpp:6
virtual ~MaximumCorrelation()
Definition: MaximumCorrelation.h:55
virtual double IdealFit() const
Returns the ideal (perfect) fit that could be returned by the MatchAlgorithm.
Definition: MaximumCorrelation.h:60
Container for cube-like labels.
Definition: Pvl.h:135
MaximumCorrelation(Pvl &pvl)
Definition: MaximumCorrelation.h:54
Auto Registration class.
Definition: AutoReg.h:183
virtual QString AlgorithmName() const
Returns the name of the algorithm.
Definition: MaximumCorrelation.h:63
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Maximum correlation pattern matching.
Definition: MaximumCorrelation.h:52