View Source Evision.Detail.AffineBestOf2NearestMatcher (Evision v0.1.8)

Link to this section Summary

cv.detail

Performs images matching.

Performs images matching.

Positional Arguments
  • features1: ImageFeatures.

Python prototype (for reference):

##### Keyword Arguments

##### Keyword Arguments

Constructs a "best of 2 nearest" matcher that expects affine transformation between images

Constructs a "best of 2 nearest" matcher that expects affine transformation between images

@return True, if it's possible to use the same matcher instance in parallel, false otherwise

Link to this section cv.detail

Performs images matching.

Positional Arguments
  • features: [ImageFeatures].

    Features of the source images

Keyword Arguments
  • mask: Evision.Mat.

    Mask indicating which image pairs must be matched

Return
  • pairwise_matches: [MatchesInfo].

    Found pairwise matches

The function is parallelized with the TBB library. @sa detail::MatchesInfo

Python prototype (for reference):

apply2(features[, mask]) -> pairwise_matches
Link to this function

apply2(self, features, opts)

View Source

Performs images matching.

Positional Arguments
  • features: [ImageFeatures].

    Features of the source images

Keyword Arguments
  • mask: Evision.Mat.

    Mask indicating which image pairs must be matched

Return
  • pairwise_matches: [MatchesInfo].

    Found pairwise matches

The function is parallelized with the TBB library. @sa detail::MatchesInfo

Python prototype (for reference):

apply2(features[, mask]) -> pairwise_matches
Link to this function

apply(self, features1, features2)

View Source
Positional Arguments
  • features1: ImageFeatures.

    First image features

  • features2: ImageFeatures.

    Second image features

Return
  • matches_info: MatchesInfo.

    Found matches

Has overloading in C++

Python prototype (for reference):

apply(features1, features2) -> matches_info

Python prototype (for reference):

collectGarbage() -> None

##### Keyword Arguments

  • try_use_gpu: bool.
  • match_conf: float.
  • num_matches_thresh1: int.
  • num_matches_thresh2: int.

Python prototype (for reference):

create([, try_use_gpu[, match_conf[, num_matches_thresh1[, num_matches_thresh2]]]]) -> retval

##### Keyword Arguments

  • try_use_gpu: bool.
  • match_conf: float.
  • num_matches_thresh1: int.
  • num_matches_thresh2: int.

Python prototype (for reference):

create([, try_use_gpu[, match_conf[, num_matches_thresh1[, num_matches_thresh2]]]]) -> retval
Link to this function

detail_AffineBestOf2NearestMatcher()

View Source

Constructs a "best of 2 nearest" matcher that expects affine transformation between images

Keyword Arguments
  • full_affine: bool.

    whether to use full affine transformation with 6 degress of freedom or reduced transformation with 4 degrees of freedom using only rotation, translation and uniform scaling

  • try_use_gpu: bool.

    Should try to use GPU or not

  • match_conf: float.

    Match distances ration threshold

  • num_matches_thresh1: int.

    Minimum number of matches required for the 2D affine transform estimation used in the inliers classification step

@sa cv::estimateAffine2D cv::estimateAffinePartial2D

Python prototype (for reference):

AffineBestOf2NearestMatcher([, full_affine[, try_use_gpu[, match_conf[, num_matches_thresh1]]]]) -> <detail_AffineBestOf2NearestMatcher object>
Link to this function

detail_AffineBestOf2NearestMatcher(opts)

View Source

Constructs a "best of 2 nearest" matcher that expects affine transformation between images

Keyword Arguments
  • full_affine: bool.

    whether to use full affine transformation with 6 degress of freedom or reduced transformation with 4 degrees of freedom using only rotation, translation and uniform scaling

  • try_use_gpu: bool.

    Should try to use GPU or not

  • match_conf: float.

    Match distances ration threshold

  • num_matches_thresh1: int.

    Minimum number of matches required for the 2D affine transform estimation used in the inliers classification step

@sa cv::estimateAffine2D cv::estimateAffinePartial2D

Python prototype (for reference):

AffineBestOf2NearestMatcher([, full_affine[, try_use_gpu[, match_conf[, num_matches_thresh1]]]]) -> <detail_AffineBestOf2NearestMatcher object>

@return True, if it's possible to use the same matcher instance in parallel, false otherwise

Python prototype (for reference):

isThreadSafe() -> retval

Link to this section Functions

Raising version of apply2/2.

Link to this function

apply2!(self, features, opts)

View Source

Raising version of apply2/3.

Link to this function

apply!(self, features1, features2)

View Source

Raising version of apply/3.

Raising version of collectGarbage/1.

Raising version of create/0.

Raising version of create/1.

Link to this function

detail_AffineBestOf2NearestMatcher!()

View Source

Raising version of detail_AffineBestOf2NearestMatcher/0.

Link to this function

detail_AffineBestOf2NearestMatcher!(opts)

View Source

Raising version of detail_AffineBestOf2NearestMatcher/1.

Raising version of isThreadSafe/1.