34#ifndef vpBasicKeyPoint_H
35#define vpBasicKeyPoint_H
42#include <visp3/core/vpColor.h>
43#include <visp3/core/vpImage.h>
44#include <visp3/core/vpImagePoint.h>
45#include <visp3/core/vpRect.h>
86 unsigned int width) = 0;
102 unsigned int width) = 0;
113 unsigned int size = 3) = 0;
148 vpTRACE(
"Index of the reference point out of range");
169 vpTRACE(
"Index of the matched points out of range");
203 vpTRACE(
"Index of the matched reference point out of range");
253 virtual void init() = 0;
bool referenceBuilt() const
virtual unsigned int buildReference(const vpImage< unsigned char > &I)=0
std::vector< vpImagePoint > currentImagePointsList
unsigned int getMatchedPointNumber() const
virtual unsigned int matchPoint(const vpImage< unsigned char > &I, const vpRect &rectangle)=0
const std::vector< vpImagePoint > & getReferenceImagePointsList() const
void getReferencePoint(unsigned int index, vpImagePoint &referencePoint)
std::vector< unsigned int > matchedReferencePoints
void getMatchedPoints(unsigned int index, vpImagePoint &referencePoint, vpImagePoint ¤tPoint)
virtual unsigned int matchPoint(const vpImage< unsigned char > &I, const vpImagePoint &iP, unsigned int height, unsigned int width)=0
std::vector< vpImagePoint > referenceImagePointsList
virtual unsigned int buildReference(const vpImage< unsigned char > &I, const vpImagePoint &iP, unsigned int height, unsigned int width)=0
virtual void display(const vpImage< unsigned char > &Icurrent, unsigned int size=3, const vpColor &color=vpColor::green)=0
virtual unsigned int buildReference(const vpImage< unsigned char > &I, const vpRect &rectangle)=0
virtual ~vpBasicKeyPoint()
const std::vector< vpImagePoint > & getCurrentImagePointsList() const
unsigned int getIndexInAllReferencePointList(unsigned int indexInMatchedPointList)
virtual unsigned int matchPoint(const vpImage< unsigned char > &I)=0
unsigned int getReferencePointNumber() const
const std::vector< unsigned int > & getMatchedReferencePoints() const
const vpImagePoint * getAllPointsInReferenceImage()
virtual void display(const vpImage< unsigned char > &Iref, const vpImage< unsigned char > &Icurrent, unsigned int size=3)=0
Class to define RGB colors available for display functionalities.
static const vpColor green
error that can be emitted by ViSP classes.
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
void set_ij(double ii, double jj)
Definition of the vpImage class member functions.
Defines a rectangle in the plane.