|
| | PlanarTrackerImpl () |
| void | Initialise (ARParam cParam) |
| cv::Vec2f | CalcPyrDownScaleFactor (int pyrLevel, int x, int y) |
| | Calculate the exact scale factor using the same calculation pyrDown uses.
|
| cv::Mat | CreateFeatureMask (cv::Mat frame) |
| | Creates a mask image where the areas occupied by all currently tracked markers are 0, and all areas outside the markers are 1.
|
| void | UpdateTrackableBBox (const int index, const cv::Mat &homography) |
| void | MatchFeatures (const std::vector< cv::KeyPoint > &newFrameFeatures, cv::Mat newFrameDescriptors) |
| void | ResetAllTrackingPointSelectorsForTrackable (int trackableIndex) |
| bool | RunOpticalFlow (int trackableId, const std::vector< cv::Point2f > &trackablePoints, const std::vector< cv::Point2f > &trackablePointsWarped) |
| bool | UpdateTrackableHomography (int trackableId, const std::vector< cv::Point2f > &matchedPoints1, const std::vector< cv::Point2f > &matchedPoints2) |
| std::vector< cv::Point2f > | GetVerticesFromPoint (cv::Point ptOrig, int width, int height) |
| | Calculates vertices of a rect centered on ptOrig.
|
| std::vector< cv::Point2f > | GetVerticesFromTopCorner (int x, int y, int width, int height) |
| | Calculates vertices of a rect with its top corner located at (x, y).
|
| cv::Rect | GetTemplateRoi (cv::Point2f pt) |
| bool | IsRoiValidForFrame (cv::Rect frameRoi, cv::Rect roi) |
| cv::Rect | InflateRoi (const cv::Rect &roi, int inflationFactor) |
| | Inflate the region of interest bounds by inflationFactor on each side.
|
| std::vector< cv::Point2f > | FloorVertexPoints (const std::vector< cv::Point2f > &vertexPoints) |
| | Transform all vertices by the same amount such that the point with the lowest x value moves to x=0 and the point with the lowest y value moves to y=0.
|
| cv::Mat | MatchTemplateToImage (cv::Mat searchImage, cv::Mat warpedTemplate) |
| bool | RunTemplateMatching (cv::Mat frame, int trackableId) |
| void | ProcessFrameData (unsigned char *frame) |
| | Wrap raw frame data in frame with a cv::Mat structure, then process it for tracking.
|
| void | ProcessFrame (cv::Mat frame) |
| void | RemoveAllMarkers () |
| bool | SaveTrackableDatabase (std::string fileName) |
| bool | LoadTrackableDatabase (std::string fileName) |
| void | AddMarker (std::shared_ptr< unsigned char > buff, std::string fileName, int width, int height, int uid, float scale) |
| bool | GetTrackablePose (int trackableId, float transMat[3][4]) |
| bool | IsTrackableVisible (int trackableId) |
| void | CameraPoseFromPoints (cv::Mat &pose, const std::vector< cv::Point3f > &objPts, const std::vector< cv::Point2f > &imgPts) |
| bool | HasTrackables () |
| bool | ChangeImageId (int prevId, int newId) |
| std::vector< int > | GetImageIds () |
| TrackedImageInfo | GetTrackableImageInfo (int trackableId) const |
| void | SetFeatureDetector (FeatureDetectorType detectorType) |
| FeatureDetectorType | GetFeatureDetector (void) const |
| void | SetMaximumNumberOfMarkersToTrack (int maximumNumberOfMarkersToTrack) |
| int | GetMaximumNumberOfMarkersToTrack (void) const |