View Source Evision.Detail.BestOf2NearestMatcher (Evision v0.1.9)

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.

Constructs a "best of 2 nearest" matcher.

@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_BestOf2NearestMatcher()

View Source

Constructs a "best of 2 nearest" matcher.

Keyword Arguments
  • 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 projective transform estimation used in the inliers classification step

  • num_matches_thresh2: int.

    Minimum number of matches required for the 2D projective transform re-estimation on inliers

Python prototype (for reference):

BestOf2NearestMatcher([, try_use_gpu[, match_conf[, num_matches_thresh1[, num_matches_thresh2]]]]) -> <detail_BestOf2NearestMatcher object>
Link to this function

detail_BestOf2NearestMatcher(opts)

View Source

Constructs a "best of 2 nearest" matcher.

Keyword Arguments
  • 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 projective transform estimation used in the inliers classification step

  • num_matches_thresh2: int.

    Minimum number of matches required for the 2D projective transform re-estimation on inliers

Python prototype (for reference):

BestOf2NearestMatcher([, try_use_gpu[, match_conf[, num_matches_thresh1[, num_matches_thresh2]]]]) -> <detail_BestOf2NearestMatcher 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_BestOf2NearestMatcher!()

View Source

Raising version of detail_BestOf2NearestMatcher/0.

Link to this function

detail_BestOf2NearestMatcher!(opts)

View Source

Raising version of detail_BestOf2NearestMatcher/1.

Raising version of isThreadSafe/1.