1#ifndef InterestOperator_h
2#define InterestOperator_h
20#include "geos/geom/Point.h"
21#include "geos/geom/Coordinate.h"
22#include "geos/geom/MultiPolygon.h"
23#include "geos/util/GEOSException.h"
132 void Operate(
ControlNet &pNewNet, QString psSerialNumFile, QString psOverlapListFile =
"");
203 double p_cubeSample, p_cubeLine;
204 double p_minimumInterest;
209 int p_deltaSamp, p_deltaLine, p_lines, p_samples;
227 InterestResults *mtInterestResults;
A small chip of data used for pattern matching.
Definition Chip.h:86
a control measurement
Definition ControlMeasure.h:175
a control network
Definition ControlNet.h:258
ControlNetValidMeasure class.
Definition ControlNetValidMeasure.h:75
double mdResolution
Store current Measure's Resolution.
Definition ControlNetValidMeasure.h:274
A single control point.
Definition ControlPoint.h:356
IO Handler for Isis Cubes.
Definition Cube.h:168
This class is used to find the overlaps between all the images in a list of serial numbers.
Definition ImageOverlapSet.h:86
Interest Operator class.
Definition InterestOperator.h:109
void SetClipPolygon(const geos::geom::MultiPolygon &clipPolygon)
Set the Clip Polygon for points to be contained in the overlaps.
Definition InterestOperator.cpp:952
const geos::geom::MultiPolygon * FindOverlap(Isis::ControlPoint &pCnetPoint)
Find if a point is in the overlap.
Definition InterestOperator.cpp:846
virtual int Padding()
Sets an offset to pass in larger chips if operator requires it This is used to offset the subchip siz...
Definition InterestOperator.cpp:964
InterestOperator(Pvl &pPvl)
Create InterestOperator object.
Definition InterestOperator.cpp:36
bool InterestByMeasure(int piMeasure, Isis::ControlMeasure &pCnetMeasure, Isis::Cube &pCube)
Calculate interest for a measure by index.
Definition InterestOperator.cpp:728
const geos::geom::MultiPolygon * FindOverlapByImageFootPrint(Isis::ControlPoint &pCnetPoint)
Find imageoverlaps by finding the intersection of image footprints.
Definition InterestOperator.cpp:896
double p_interestAmount
Definition InterestOperator.h:195
void ProcessLocked_Point_Reference(ControlPoint &pCPoint, PvlObject &pPvlObj, int &piMeasuresModified)
Process (Validate and Log) Point with Lock or with Referemce Measure Locked.
Definition InterestOperator.cpp:278
QString operatorName() const
Return name of the matching operator.
Definition InterestOperator.h:124
void SetPatternReduction(std::vector< int > samples, std::vector< int > lines)
bool Operate(Cube &pCube, UniversalGroundMap &pUnivGrndMap, int piSample, int piLine)
Operate used by the app interestcube- to calculate interest by sample,line.
Definition InterestOperator.cpp:163
geos::geom::MultiPolygon * p_clipPolygon
Clipping polygon set by SetClipPolygon (line,samp)
Definition InterestOperator.h:198
void InitInterestResults(int piIndex)
Init Interest Results structure.
Definition InterestOperator.cpp:128
void addGroup(Isis::PvlObject &obj)
Definition InterestOperator.cpp:940
void FindCnetRef(ControlNet &pNewNet)
Find best ref for an entire control net by calculating the interest and moving point to a better inte...
Definition InterestOperator.cpp:371
double InterestAmount() const
Return the Interest Amount.
Definition InterestOperator.h:135
void SetSearchSampling(const double percent)
double WorstInterest() const
Return the Worst(least value) Interest.
Definition InterestOperator.h:140
int InterestByPoint(ControlPoint &pCnetPoint)
Calculate interest for a Control Point.
Definition InterestOperator.cpp:657
virtual ~InterestOperator()
Destroy InterestOperator object.
Definition InterestOperator.cpp:61
void SetPatternSampling(const double percent)
void Parse(Pvl &pPvl)
Parse the Interest specific keywords.
Definition InterestOperator.cpp:91
void SetTolerance(double tolerance)
virtual double Interest(Chip &subCube)=0
Calculate the interest.
void SetPatternValidPercent(const double percent)
virtual bool CompareInterests(double int1, double int2)
Compare for int1 greater than / equal to int2.
Definition InterestOperator.cpp:934
Isis::PvlGroup Operator()
Return the Operator name.
Definition InterestOperator.cpp:975
double CubeSample() const
Return the search chip cube sample that best matched.
Definition InterestOperator.h:145
double p_worstInterest
Definition InterestOperator.h:195
double CubeLine() const
Return the search chip cube line that best matched.
Definition InterestOperator.h:150
Isis::PvlGroup mOperatorGrp
Operator group that created this projection.
Definition InterestOperator.h:200
void InitInterestOptions()
Initialise Interest Options to defaults.
Definition InterestOperator.cpp:47
Contains multiple PvlContainers.
Definition PvlGroup.h:41
Container for cube-like labels.
Definition Pvl.h:119
Contains Pvl Groups and Pvl Objects.
Definition PvlObject.h:61
Universal Ground Map.
Definition UniversalGroundMap.h:69
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16