Struct cv::ECCParameters#

struct ECCParameters is used by findTransformECCMultiScale View details

Collaboration diagram for cv::ECCParameters:

cv::ECCParameters Node1 cv::ECCParameters   + ECCParameters() Node2 int     Node2->Node1 +gaussFiltSize +interpolation +motionType +nlevels Node3 cv::TermCriteria   + TermCriteria() + TermCriteria() + TermCriteria() + isValid() Node2->Node3 +maxCount +type Node5 std::vector< int >     Node2->Node5 +elements Node3->Node1 +criteria Node4 double     Node4->Node3 +epsilon Node5->Node1 +itersPerLevel Node6 std::vector< T >     Node6->Node5 < int > Node7 T     Node7->Node6 +elements

cv::ECCParameters Node1 cv::ECCParameters   + ECCParameters() Node2 int     Node2->Node1 +gaussFiltSize +interpolation +motionType +nlevels Node3 cv::TermCriteria   + TermCriteria() + TermCriteria() + TermCriteria() + isValid() Node2->Node3 +maxCount +type Node5 std::vector< int >     Node2->Node5 +elements Node3->Node1 +criteria Node4 double     Node4->Node3 +epsilon Node5->Node1 +itersPerLevel Node6 std::vector< T >     Node6->Node5 < int > Node7 T     Node7->Node6 +elements

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:

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: