8#ifndef META_OCEAN_CV_SEGMENTATION_CONTOUR_TRACKER_H
9#define META_OCEAN_CV_SEGMENTATION_CONTOUR_TRACKER_H
This class implements a frame pyramid.
Definition FramePyramid.h:46
bool usePlanarTracking_
True, if the tracker should try to invoke a planar tracker; False, if the tracker should use a more g...
Definition ContourTracker.h:117
Vectors2 previousDenseContourSubPixel_
The contour belonging to the most recent (previous) frame with sub-pixel accuracy.
Definition ContourTracker.h:105
FramePyramid currentFramePyramid_
The frame pyramid of the current frame.
Definition ContourTracker.h:99
PixelContour previousDenseContour_
The contour belonging to the most recent (previous) frame.
Definition ContourTracker.h:102
const PixelContour & denseContour() const
Returns the dense contour of the most recent detection or tracking interaction.
Definition ContourTracker.h:120
Frame intermediateRoughMask_
An intermediate rough mask frame.
Definition ContourTracker.h:114
bool detectObject(const Frame &frame, const PixelContour &roughContour, RandomGenerator &randomGenerator, const unsigned int extraContourOffset, Worker *worker=nullptr, const Frame &yFrame=Frame())
Re-detects an object (the object's contour respectively) in a given frame within a region enclosed by...
const Vectors2 & denseContourSubPixel() const
Returns the dense contour of the most recent detection or tracking interaction with sub-pixel accurac...
Definition ContourTracker.h:125
void clear()
Clears all resources and resets the tracker.
const SquareMatrix3 & homography() const
Returns the most dominant homography which has been determined during the most recent tracking iterat...
Definition ContourTracker.h:130
FramePyramid previousFramePyramid_
The frame pyramid of the previous frame.
Definition ContourTracker.h:96
Vectors2 previousContourStrongest_
The strongest (feature) points of the contour of the previous frame.
Definition ContourTracker.h:108
bool trackObject(const Frame &frame, RandomGenerator &randomGenerator, const unsigned int extraContourOffset, Worker *worker=nullptr, const Frame &yFrame=Frame())
Tracks an already detected contour (around an object) from the previous frame to the current frame.
SquareMatrix3 previousHomography_
The homography which has been determine during the previous tracking iteration.
Definition ContourTracker.h:111
ContourTracker()=default
Creates a new tracker object.
This class implements Ocean's image class.
Definition Frame.h:1969
This class implements a generator for random numbers.
Definition RandomGenerator.h:42
This class implements a worker able to distribute function calls over different threads.
Definition Worker.h:33
PixelContourT< unsigned int > PixelContour
Definition of the default PixelContour object with a data type allowing only positive coordinate valu...
Definition PixelContour.h:36
std::vector< Vector2 > Vectors2
Definition of a vector holding Vector2 objects.
Definition Vector2.h:64
SquareMatrixT3< Scalar > SquareMatrix3
Definition of the SquareMatrix3 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION either with ...
Definition SquareMatrix3.h:43
Namespace of the CV Segmentation library.
Definition BinPacking.h:23
Namespace of the CV library.
Definition Advanced.h:17
The namespace covering the entire Ocean framework.
Definition Accessor.h:15