File failed to load: https://isis.astrogeology.usgs.gov/3.9.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Developer Reference
MinimumDifference.h
Go to the documentation of this file.
1 #ifndef MinimumDifference_h
2 #define MinimumDifference_h
3 
26 #include "AutoReg.h"
27 
28 namespace Isis {
29  class Pvl;
30  class Chip;
31 
57  class MinimumDifference : public AutoReg {
58  public:
69  MinimumDifference(Pvl &pvl) : AutoReg(pvl) { };
70 
72  virtual ~MinimumDifference() {};
73 
77  virtual double MostLenientTolerance() {
78  return DBL_MAX;
79  }
80 
81  protected:
82  virtual double MatchAlgorithm(Chip &pattern, Chip &subsearch);
83  virtual bool CompareFits(double fit1, double fit2);
84  virtual double IdealFit() const {
85  return 0.0;
86  };
87  virtual QString AlgorithmName() const {
88  return "MinimumDifference";
89  };
90 
91  };
92 };
93 
94 #endif
MinimumDifference(Pvl &pvl)
Construct a MinimumDifference search algorithm.
Definition: MinimumDifference.h:69
A small chip of data used for pattern matching.
Definition: Chip.h:102
virtual ~MinimumDifference()
Destructor.
Definition: MinimumDifference.h:72
virtual QString AlgorithmName() const
Returns the name of the algorithm.
Definition: MinimumDifference.h:87
virtual double IdealFit() const
Returns the ideal (perfect) fit that could be returned by the MatchAlgorithm.
Definition: MinimumDifference.h:84
Container for cube-like labels.
Definition: Pvl.h:135
Auto Registration class.
Definition: AutoReg.h:183
virtual double MostLenientTolerance()
Minimum tolerance specific to algorithm.
Definition: MinimumDifference.h:77
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: MinimumDifference.cpp:76
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
virtual double MatchAlgorithm(Chip &pattern, Chip &subsearch)
Minimum difference match algorithm.
Definition: MinimumDifference.cpp:47
Minimum difference pattern matching.
Definition: MinimumDifference.h:57

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 07/12/2023 23:24:07