File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis Developer Reference
|
Go to the documentation of this file.
14 #include <QSharedPointer>
20 #include <gsl/gsl_rng.h>
62 return (m_gruen->PatternChip());
68 return (m_gruen->SearchChip());
74 return (m_gruen->FitChip());
81 const double &minEV,
const double &maxEV);
113 const gsl_rng_type * T;
116 void randomNumberSetup();
117 bool validate(
const bool &throwError =
true)
const;
119 inline Camera &lhCamera() {
return (*m_lhCube->
camera()); }
120 inline Camera &rhCamera() {
return (*m_rhCube->
camera()); }
122 Coordinate getLineSample(Camera &camera,
const Coordinate &geom);
123 Coordinate getLatLon(Camera &camera,
const Coordinate &pnt);
125 bool inCube(
const Camera &camera,
const Coordinate &point)
const;
127 SmtkPoint makeRegisteredPoint(
const PointGeometry &left,
128 const PointGeometry &right, Gruen *gruen);
bool isRegistered() const
Returns registration status.
Definition: SmtkPoint.h:133
Coordinate getPoint(const Coordinate &location) const
Applies the affine transfrom to a point and returns result.
Definition: GruenTypes.h:272
bool isValid() const
Definition: SmtkPoint.h:32
SmtkQStackIter FindSmallestEV(SmtkQStack &stack)
Find the smallest eigen value on the given stack.
Definition: SmtkMatcher.cpp:149
void setGruenDef(const QString ®def)
Initialize Gruen algorithm with definitions in Pvl file provided.
Definition: SmtkMatcher.cpp:78
Container for SMTK match points.
Definition: SmtkPoint.h:54
PointPair m_point
Definition: GruenTypes.h:457
Chip * PatternChip() const
Return pattern chip.
Definition: SmtkMatcher.h:60
bool m_registered
Definition: SmtkPoint.h:138
Container for affine and radiometric parameters.
Definition: GruenTypes.h:242
MatchPoint m_matchpt
Definition: SmtkPoint.h:135
Container for cube-like labels.
Definition: Pvl.h:119
BigInt SpiceErrorCount() const
Definition: SmtkMatcher.h:96
Definition: JigsawWorkOrder.h:28
double getSample() const
Definition: GruenTypes.h:114
Define a generic Y/X container.
Definition: GruenTypes.h:53
bool m_isValid
Definition: SmtkPoint.h:139
const Coordinate & getRight() const
Returns the registered right coordinate.
Definition: SmtkPoint.h:112
Pvl RegistrationStatistics()
Return Gruen registration statistics.
Definition: SmtkMatcher.h:101
static GSLUtility * getInstance()
Return a reference to the GSL (singleton) object.
Definition: GSLUtility.cpp:49
const Coordinate & getPoint() const
Definition: SmtkPoint.h:36
SmtkPoint Clone(const SmtkPoint &point, const Coordinate &left)
Clone a point set from a nearby (left image) point and Gruen affine.
Definition: SmtkMatcher.cpp:467
SmtkQStackIter FindExpDistEV(SmtkQStack &stack, const double &seedsample, const double &minEV, const double &maxEV)
Find the best eigen value using exponential distribution formula.
Definition: SmtkMatcher.cpp:182
void setImages(Cube *lhImage, Cube *rhImage)
Assign cubes for matching.
Definition: SmtkMatcher.cpp:60
SmtkMatcher()
Construct default matcher.
Definition: SmtkMatcher.cpp:25
@ SuccessSubPixel
Success registering to sub-pixel accuracy.
Definition: AutoReg.h:181
This is free and unencumbered software released into the public domain.
Definition: ControlNet.h:32
void setWriteSubsearchChipPattern(const QString &fileptrn="SmtkMatcher")
Set file pattern for output subsearch chips.
Definition: SmtkMatcher.cpp:132
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
const AffineRadio & getAffine() const
Returns the affine transform and radiometic results.
Definition: SmtkPoint.h:117
Define a point set of left, right and geometry at that location.
Definition: GruenTypes.h:171
PvlGroup RegTemplate()
Return Gruen template parameters.
Definition: SmtkMatcher.h:99
const Coordinate & getGeometry() const
Definition: SmtkPoint.h:37
long long int BigInt
Big int.
Definition: Constants.h:49
~SmtkMatcher()
Free random number generator in destructor.
Definition: SmtkMatcher.cpp:54
double getLine() const
Definition: GruenTypes.h:113
Analysis m_analysis
Definition: GruenTypes.h:459
IO Handler for Isis Cubes.
Definition: Cube.h:167
bool isValid(const Coordinate &pnt)
Determine if a point is valid in both left/right images.
Definition: SmtkMatcher.cpp:101
Isis exception class.
Definition: IException.h:91
bool isValid() const
Check for goodness.
Definition: GruenTypes.h:107
Structure containing comprehensive registration info/results.
Definition: GruenTypes.h:433
BigInt OffImageErrorCount() const
Definition: SmtkMatcher.h:95
Camera * camera()
Return a camera associated with the cube.
Definition: Cube.cpp:1451
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
SmtkQStack::iterator SmtkQStackIter
Definition: SmtkStack.h:19
const Coordinate & getLeft() const
Definition: GruenTypes.h:184
A small chip of data used for pattern matching.
Definition: Chip.h:86
Container for a point and its geometry.
Definition: SmtkPoint.h:24
void setZeroState()
Resets eigenvalues to 0.
Definition: GruenTypes.h:403
SmtkPoint Create(const Coordinate &left, const Coordinate &right)
Create a valid, unregistered SmtkPoint.
Definition: SmtkMatcher.cpp:427
Workhorse of stereo matcher.
Definition: SmtkMatcher.h:45
Gruen pattern matching algorithm.
Definition: Gruen.h:74
const Coordinate & getRight() const
Definition: GruenTypes.h:185
const Coordinate & getLeft() const
Returns the left point.
Definition: SmtkPoint.h:98
Chip * FitChip() const
Returns the fit chip.
Definition: SmtkMatcher.h:72
SmtkMatcher(Cube *lhImage, Cube *rhImage)
SmtkPoint Register(const Coordinate &lpnt, const AffineRadio &affrad=AffineRadio())
This method takes a sample, line from the left-hand image and tries to find the matching point in the...
Definition: SmtkMatcher.cpp:250
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Chip * SearchChip() const
Return search chip.
Definition: SmtkMatcher.h:66
bool isValid() const
Indicates the smtk portion of the point is valid.
Definition: SmtkPoint.h:70