43 AutoTiePoint(std::shared_ptr<AtpGenerator> generator,
const std::string&
id);
122 virtual void saveJSON(Json::Value& json)
const;
137 typedef std::vector< std::shared_ptr<AutoTiePoint> >
AtpList;
void setRefViewPt(const ossimDpt &viewPt)
Sets the reference image's view point (in view space) for this tiepoint.
bool getRefImagePoint(ossimDpt &image_pt) const
Returns the center location of the reference patch (the feature) in image-space.
bool getVectorResidual(ossimDpt &residual) const
Returns the vector residual (CMP-REF) of current active peak (in view space) via argument.
bool getRefGroundPoint(ossimGpt &gpt) const
Returns the center location of the reference patch (the feature) in geographic.
Base class for all automatic tiepoints.
bool getConfidenceMeasure(double &confidence) const
Returns the correlation value of current active peak via argument. Returns true if valid...
std::vector< std::shared_ptr< AutoTiePoint > > AtpList
bool hasValidMatch() const
Returns true if there is a valid peak in the list.
void setRefImagePt(const ossimDpt &imagePt)
Sets the reference image's image point (in image space) for this tiepoint.
std::vector< MatchPoint > & matchPoints()
Access to peaks list for GUI debug display.
bool bumpActiveMatch()
Removes the active match and sets the next peak as active.
std::vector< MatchPoint > m_matchPoints
double m_relativeError
Uncertainty in position of feature in CMP image.
std::shared_ptr< AtpGenerator > m_generator
virtual void recomputeResidual()
Recomputes active peak's residual after a model adjustment or change in peak.
void addImageMatch(const ossimDpt &cmpPt, double confidenceValue=1.0)
Inserts match in image space by confidence in descending order.
THESE FUNCTIONS REQUIRE OPENCV.
virtual void saveJSON(Json::Value &json) const
void addViewMatch(const ossimDpt &cmpViewPt, double confidenceValue=1.0)
Inserts match in image space by confidence in descending order.
bool getRefViewPoint(ossimDpt &view_pt) const
Returns the center location of the reference patch (the feature) in view-space.
virtual std::ostream & print(std::ostream &out) const
Stream output dump of object.
bool getCmpViewPoint(ossimDpt &view_pt, unsigned int peak_idx=0) const
Fetches the comparison view point for current best peak, or for the peak indicated if provided...
bool getCmpImagePoint(ossimDpt &image_pt) const
Fetches the comparison image point for current best peak. Returns false if no valid peak...
unsigned int getNumMatches() const
Returns the total number of peaks in the list.
Class for representing a single tiepoint on two or more images.
std::basic_ostream< char > ostream
Base class for char output streams.