Struct cv::ECCParameters#
struct ECCParameters is used by findTransformECCMultiScale View details
#include <opencv2/video/tracking.hpp>Collaboration diagram for cv::ECCParameters:
Detailed Description#
-
struct ECCParameters#
struct ECCParameters is used by findTransformECCMultiScale
- Param motionType:
parameter, specifying the type of motion:
MOTION_TRANSLATION sets a translational motion model; warpMatrix is \(2\times 3\) with the first \(2\times 2\) part being the unity matrix and the rest two parameters being estimated.
MOTION_EUCLIDEAN sets a Euclidean (rigid) transformation as motion model; three parameters are estimated; warpMatrix is \(2\times 3\).
MOTION_AFFINE sets an affine motion model (DEFAULT); six parameters are estimated; warpMatrix is \(2\times 3\).
MOTION_HOMOGRAPHY sets a homography as a motion model; eight parameters are estimated;`warpMatrix` is \(3\times 3\).
- Param criteria:
parameter, specifying the termination criteria of the ECC algorithm; criteria.epsilon defines the threshold of the increment in the correlation coefficient between two iterations (a negative criteria.epsilon makes criteria.maxcount the only termination criterion). Default values are shown in the declaration above.
- Param itersPerLevel:
Criterion extension: distribution of iterations limit over pyramid levels. Can be empty, in this case, this algorithm will use criteria.maxCount on each level.
- Param gaussFiltSize:
An optional value indicating size of gaussian blur filter; (DEFAULT: 5)
- Param nlevels:
An optional value indicating amount of levels in the pyramid; (DEFAULT: 4)
- Param interpolation:
Type of warp interpolation. Possible values are INTER_NEAREST and INTER_LINEAR. Affects accuracy, especially when motionType == MOTION_TRANSLATION. (DEFAULT: INTER_LINEAR)
Constructor & Destructor Documentation#
ECCParameters()#
cv::ECCParameters::ECCParameters()
Python:
cv.ECCParameters() -> <ECCParameters object>
Member Data Documentation#
criteria#
cv::TermCriteria cv::ECCParameters::criteria
gaussFiltSize#
int cv::ECCParameters::gaussFiltSize = 5
interpolation#
int cv::ECCParameters::interpolation = INTER_LINEAR
itersPerLevel#
std::vector< int > cv::ECCParameters::itersPerLevel
motionType#
int cv::ECCParameters::motionType = MOTION_AFFINE
nlevels#
int cv::ECCParameters::nlevels = 4
Source file#
The documentation for this struct was generated from the following file:
opencv2/video/tracking.hpp