opencv2/video/tracking.hpp#

#include <opencv2/core.hpp>
#include <opencv2/imgproc.hpp>

Include dependency graph for tracking.hpp:

opencv2/video/tracking.hpp Node1 opencv2/video/tracking.hpp Node2 opencv2/core.hpp Node1->Node2 Node52 opencv2/imgproc.hpp Node1->Node52 Node3 opencv2/core/cvdef.h Node2->Node3 Node10 opencv2/core/base.hpp Node2->Node10 Node14 opencv2/core/cvstd.hpp Node2->Node14 Node30 opencv2/core/traits.hpp Node2->Node30 Node31 opencv2/core/matx.hpp Node2->Node31 Node36 opencv2/core/types.hpp Node2->Node36 Node39 opencv2/core/mat.hpp Node2->Node39 Node43 opencv2/core/persistence.hpp Node2->Node43 Node44 opencv2/core/operations.hpp Node2->Node44 Node47 opencv2/core/cvstd.inl.hpp Node2->Node47 Node48 opencv2/core/utility.hpp Node2->Node48 Node51 opencv2/core/optim.hpp Node2->Node51 Node4 opencv2/core/version.hpp Node3->Node4 Node5 limits Node3->Node5 Node6 opencv2/core/hal/interface.h Node3->Node6 Node8 cstdint Node3->Node8 Node9 cv_cpu_dispatch.h Node3->Node9 Node7 cstddef Node6->Node7 Node6->Node8 Node10->Node3 Node11 opencv2/opencv_modules.hpp Node10->Node11 Node12 climits Node10->Node12 Node13 algorithm Node10->Node13 Node10->Node14 Node24 opencv2/core/fwddecl.hpp Node10->Node24 Node25 opencv2/core/neon_utils.hpp Node10->Node25 Node26 opencv2/core/vsx_utils.hpp Node10->Node26 Node28 opencv2/core/exception.hpp Node10->Node28 Node29 opencv2/core/check.hpp Node10->Node29 Node14->Node3 Node14->Node7 Node14->Node13 Node15 cstring Node14->Node15 Node16 cctype Node14->Node16 Node17 string Node14->Node17 Node18 utility Node14->Node18 Node19 cstdlib Node14->Node19 Node20 cmath Node14->Node20 Node21 cvstd_wrapper.hpp Node14->Node21 Node21->Node3 Node21->Node17 Node22 memory Node21->Node22 Node23 type_traits Node21->Node23 Node24->Node3 Node25->Node3 Node26->Node3 Node27 assert.h Node26->Node27 Node28->Node3 Node28->Node14 Node29->Node3 Node29->Node14 Node29->Node24 Node30->Node3 Node31->Node3 Node31->Node10 Node31->Node30 Node32 opencv2/core/saturate.hpp Node31->Node32 Node34 initializer_list Node31->Node34 Node35 opencv2/core/matx.inl.hpp Node31->Node35 Node32->Node3 Node32->Node12 Node33 opencv2/core/fast_math.hpp Node32->Node33 Node33->Node3 Node33->Node20 Node36->Node3 Node36->Node5 Node36->Node12 Node36->Node14 Node36->Node31 Node37 cfloat Node36->Node37 Node38 vector Node36->Node38 Node39->Node23 Node39->Node31 Node39->Node36 Node40 opencv2/core/bufferpool.hpp Node39->Node40 Node41 array Node39->Node41 Node42 opencv2/core/mat.inl.hpp Node39->Node42 Node43->Node36 Node43->Node39 Node45 cstdio Node44->Node45 Node46 ostream Node44->Node46 Node48->Node2 Node48->Node46 Node49 functional Node48->Node49 Node50 mutex Node48->Node50 Node51->Node2 Node52->Node2

opencv2/video/tracking.hpp Node1 opencv2/video/tracking.hpp Node2 opencv2/core.hpp Node1->Node2 Node52 opencv2/imgproc.hpp Node1->Node52 Node3 opencv2/core/cvdef.h Node2->Node3 Node10 opencv2/core/base.hpp Node2->Node10 Node14 opencv2/core/cvstd.hpp Node2->Node14 Node30 opencv2/core/traits.hpp Node2->Node30 Node31 opencv2/core/matx.hpp Node2->Node31 Node36 opencv2/core/types.hpp Node2->Node36 Node39 opencv2/core/mat.hpp Node2->Node39 Node43 opencv2/core/persistence.hpp Node2->Node43 Node44 opencv2/core/operations.hpp Node2->Node44 Node47 opencv2/core/cvstd.inl.hpp Node2->Node47 Node48 opencv2/core/utility.hpp Node2->Node48 Node51 opencv2/core/optim.hpp Node2->Node51 Node4 opencv2/core/version.hpp Node3->Node4 Node5 limits Node3->Node5 Node6 opencv2/core/hal/interface.h Node3->Node6 Node8 cstdint Node3->Node8 Node9 cv_cpu_dispatch.h Node3->Node9 Node7 cstddef Node6->Node7 Node6->Node8 Node10->Node3 Node11 opencv2/opencv_modules.hpp Node10->Node11 Node12 climits Node10->Node12 Node13 algorithm Node10->Node13 Node10->Node14 Node24 opencv2/core/fwddecl.hpp Node10->Node24 Node25 opencv2/core/neon_utils.hpp Node10->Node25 Node26 opencv2/core/vsx_utils.hpp Node10->Node26 Node28 opencv2/core/exception.hpp Node10->Node28 Node29 opencv2/core/check.hpp Node10->Node29 Node14->Node3 Node14->Node7 Node14->Node13 Node15 cstring Node14->Node15 Node16 cctype Node14->Node16 Node17 string Node14->Node17 Node18 utility Node14->Node18 Node19 cstdlib Node14->Node19 Node20 cmath Node14->Node20 Node21 cvstd_wrapper.hpp Node14->Node21 Node21->Node3 Node21->Node17 Node22 memory Node21->Node22 Node23 type_traits Node21->Node23 Node24->Node3 Node25->Node3 Node26->Node3 Node27 assert.h Node26->Node27 Node28->Node3 Node28->Node14 Node29->Node3 Node29->Node14 Node29->Node24 Node30->Node3 Node31->Node3 Node31->Node10 Node31->Node30 Node32 opencv2/core/saturate.hpp Node31->Node32 Node34 initializer_list Node31->Node34 Node35 opencv2/core/matx.inl.hpp Node31->Node35 Node32->Node3 Node32->Node12 Node33 opencv2/core/fast_math.hpp Node32->Node33 Node33->Node3 Node33->Node20 Node36->Node3 Node36->Node5 Node36->Node12 Node36->Node14 Node36->Node31 Node37 cfloat Node36->Node37 Node38 vector Node36->Node38 Node39->Node23 Node39->Node31 Node39->Node36 Node40 opencv2/core/bufferpool.hpp Node39->Node40 Node41 array Node39->Node41 Node42 opencv2/core/mat.inl.hpp Node39->Node42 Node43->Node36 Node43->Node39 Node45 cstdio Node44->Node45 Node46 ostream Node44->Node46 Node48->Node2 Node48->Node46 Node49 functional Node48->Node49 Node50 mutex Node48->Node50 Node51->Node2 Node52->Node2

This graph shows which files directly or indirectly include tracking.hpp:

incby nb4d57f7e0e opencv2/bgsegm.hpp ndfeb948152 opencv2/video.hpp nb4d57f7e0e->ndfeb948152 n7de65ea8de opencv2/tracking/tracking.hpp nea43efda08 opencv2/tracking.hpp n7de65ea8de->nea43efda08 nd5285a1306 opencv2/video/tracking.hpp nea43efda08->nd5285a1306 nf949ddbc90 opencv2/video/video.hpp nf949ddbc90->ndfeb948152 ndfeb948152->nd5285a1306 n415a2426e3 opencv2/optflow.hpp n415a2426e3->ndfeb948152 n7007fb857d opencv2/optflow/pcaflow.hpp n415a2426e3->n7007fb857d n7682204b7e opencv2/optflow/rlofflow.hpp n415a2426e3->n7682204b7e n7007fb857d->ndfeb948152 n7682204b7e->ndfeb948152

incby nb4d57f7e0e opencv2/bgsegm.hpp ndfeb948152 opencv2/video.hpp nb4d57f7e0e->ndfeb948152 n7de65ea8de opencv2/tracking/tracking.hpp nea43efda08 opencv2/tracking.hpp n7de65ea8de->nea43efda08 nd5285a1306 opencv2/video/tracking.hpp nea43efda08->nd5285a1306 nf949ddbc90 opencv2/video/video.hpp nf949ddbc90->ndfeb948152 ndfeb948152->nd5285a1306 n415a2426e3 opencv2/optflow.hpp n415a2426e3->ndfeb948152 n7007fb857d opencv2/optflow/pcaflow.hpp n415a2426e3->n7007fb857d n7682204b7e opencv2/optflow/rlofflow.hpp n415a2426e3->n7682204b7e n7007fb857d->ndfeb948152 n7682204b7e->ndfeb948152

Classes#

class cv::DenseOpticalFlow
class cv::DISOpticalFlow

DIS optical flow algorithm. More…

struct cv::ECCParameters

struct ECCParameters is used by findTransformECCMultiScale More…

class cv::FarnebackOpticalFlow

Class computing a dense optical flow using the Gunnar Farneback’s algorithm. More…

class cv::KalmanFilter

Kalman filter class. More…

struct cv::TrackerMIL::Params
struct cv::TrackerDaSiamRPN::Params
struct cv::TrackerNano::Params
struct cv::TrackerVit::Params
class cv::SparseOpticalFlow

Base interface for sparse optical flow algorithms. More…

class cv::SparsePyrLKOpticalFlow

Class used for calculating a sparse optical flow. More…

class cv::Tracker

Base abstract class for the long-term tracker. More…

class cv::TrackerDaSiamRPN
class cv::TrackerMIL

The [17] algorithm trains a classifier in an online manner to separate the object from the background. More…

class cv::TrackerNano

the Nano tracker is a super lightweight dnn-based general object tracking. More…

class cv::TrackerVit

the VIT tracker is a super lightweight dnn-based general object tracking. More…

class cv::VariationalRefinement

Variational optical flow refinement. More…

Namespaces#

namespace cv

Enumerations#

enum cv {
OPTFLOW_USE_INITIAL_FLOW = 4,
OPTFLOW_LK_GET_MIN_EIGENVALS = 8,
OPTFLOW_FARNEBACK_GAUSSIAN = 256
}
enum cv {
MOTION_TRANSLATION = 0,
MOTION_EUCLIDEAN = 1,
MOTION_AFFINE = 2,
MOTION_HOMOGRAPHY = 3
}

Functions#

int cv::buildOpticalFlowPyramid (InputArray img, OutputArrayOfArrays pyramid, Size winSize, int maxLevel, bool withDerivatives=true, int pyrBorder=BORDER_REFLECT_101, int derivBorder=BORDER_CONSTANT, bool tryReuseInputImage=true)

Constructs the image pyramid which can be passed to calcOpticalFlowPyrLK.

void cv::calcOpticalFlowFarneback (InputArray prev, InputArray next, InputOutputArray flow, double pyr_scale, int levels, int winsize, int iterations, int poly_n, double poly_sigma, int flags)

Computes a dense optical flow using the Gunnar Farneback’s algorithm.

void cv::calcOpticalFlowPyrLK (InputArray prevImg, InputArray nextImg, InputArray prevPts, InputOutputArray nextPts, OutputArray status, OutputArray err, Size winSize=Size(21, 21), int maxLevel=3, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 0.01), int flags=0, double minEigThreshold=1e-4)

Calculates an optical flow for a sparse feature set using the iterative Lucas-Kanade method with pyramids.

RotatedRect cv::CamShift (InputArray probImage, Rect &window, TermCriteria criteria)

Finds an object center, size, and orientation.

double cv::computeECC (InputArray templateImage, InputArray inputImage, InputArray inputMask=noArray())

Computes the Enhanced Correlation Coefficient (ECC) value between two images.

Mat cv::estimateRigidTransform (InputArray src, InputArray dst, bool fullAffine)

Computes an optimal affine transformation between two 2D point sets.

double cv::findTransformECC (InputArray templateImage, InputArray inputImage, InputOutputArray warpMatrix, int motionType, TermCriteria criteria, InputArray inputMask, int gaussFiltSize)

Finds the geometric transform (warp) between two images in terms of the ECC criterion [91] .

double cv::findTransformECC (InputArray templateImage, InputArray inputImage, InputOutputArray warpMatrix, int motionType=MOTION_AFFINE, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 50, 0.001), InputArray inputMask=noArray())
double cv::findTransformECCMultiScale (InputArray reference, InputArray sample, InputOutputArray warpMatrix, const ECCParameters &eccParams=ECCParameters(), InputArray referenceMask=noArray(), InputArray sampleMask=noArray())

Finds the geometric transform (warp) between two images in terms of the ECC criterion [91]. Uses pyramids.

double cv::findTransformECCWithMask (InputArray templateImage, InputArray inputImage, InputArray templateMask, InputArray inputMask, InputOutputArray warpMatrix, int motionType=MOTION_AFFINE, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 50, 1e-6), int gaussFiltSize=5)

Finds the geometric transform (warp) between two images in terms of the ECC criterion [91] using validity masks for both the template and the input images.

int cv::meanShift (InputArray probImage, Rect &window, TermCriteria criteria)

Finds an object on a back projection image.

Mat cv::readOpticalFlow (const String &path)

Read a .flo file.

bool cv::writeOpticalFlow (const String &path, InputArray flow)

Write a .flo to disk.