View Source Evision.Detail.BestOf2NearestRangeMatcher (Evision v0.1.15)
Link to this section Summary
Types
Type that represents an Evision.Detail.BestOf2NearestRangeMatcher
struct.
Functions
Performs images matching.
Performs images matching.
Positional Arguments
features1:
Evision.Detail.ImageFeatures
.
Keyword Arguments
- range_width:
int
. - try_use_gpu:
bool
. - match_conf:
float
. - num_matches_thresh1:
int
. - num_matches_thresh2:
int
.
Return
Python prototype (for reference):
Keyword Arguments
- range_width:
int
. - try_use_gpu:
bool
. - match_conf:
float
. - num_matches_thresh1:
int
. - num_matches_thresh2:
int
.
Return
Python prototype (for reference):
Python prototype (for reference):
Keyword Arguments
- try_use_gpu:
bool
. - match_conf:
float
. - num_matches_thresh1:
int
. - num_matches_thresh2:
int
.
Return
Python prototype (for reference):
Keyword Arguments
- try_use_gpu:
bool
. - match_conf:
float
. - num_matches_thresh1:
int
. - num_matches_thresh2:
int
.
Return
Python prototype (for reference):
Return
- retval:
bool
@return True, if it's possible to use the same matcher instance in parallel, false otherwise
Link to this section Types
@type t() :: %Evision.Detail.BestOf2NearestRangeMatcher{ref: reference()}
Type that represents an Evision.Detail.BestOf2NearestRangeMatcher
struct.
ref.
reference()
The underlying erlang resource variable.
Link to this section Functions
@spec apply2(t(), [Evision.Detail.ImageFeatures.t()]) :: [Evision.Detail.MatchesInfo.t()] | {:error, String.t()}
Performs images matching.
Positional Arguments
features:
[Evision.Detail.ImageFeatures]
.Features of the source images
Keyword Arguments
mask:
Evision.Mat
.Mask indicating which image pairs must be matched
Return
pairwise_matches:
[Evision.Detail.MatchesInfo]
.Found pairwise matches
The function is parallelized with the TBB library. @sa detail::MatchesInfo
Python prototype (for reference):
apply2(features[, mask]) -> pairwise_matches
@spec apply2(t(), [Evision.Detail.ImageFeatures.t()], [{atom(), term()}, ...] | nil) :: [Evision.Detail.MatchesInfo.t()] | {:error, String.t()}
Performs images matching.
Positional Arguments
features:
[Evision.Detail.ImageFeatures]
.Features of the source images
Keyword Arguments
mask:
Evision.Mat
.Mask indicating which image pairs must be matched
Return
pairwise_matches:
[Evision.Detail.MatchesInfo]
.Found pairwise matches
The function is parallelized with the TBB library. @sa detail::MatchesInfo
Python prototype (for reference):
apply2(features[, mask]) -> pairwise_matches
@spec apply(t(), Evision.Detail.ImageFeatures.t(), Evision.Detail.ImageFeatures.t()) :: Evision.Detail.MatchesInfo.t() | {:error, String.t()}
Positional Arguments
features1:
Evision.Detail.ImageFeatures
.First image features
features2:
Evision.Detail.ImageFeatures
.Second image features
Return
matches_info:
Evision.Detail.MatchesInfo
.Found matches
Has overloading in C++
Python prototype (for reference):
apply(features1, features2) -> matches_info
Keyword Arguments
- range_width:
int
. - try_use_gpu:
bool
. - match_conf:
float
. - num_matches_thresh1:
int
. - num_matches_thresh2:
int
.
Return
Python prototype (for reference):
BestOf2NearestRangeMatcher([, range_width[, try_use_gpu[, match_conf[, num_matches_thresh1[, num_matches_thresh2]]]]]) -> <detail_BestOf2NearestRangeMatcher object>
Keyword Arguments
- range_width:
int
. - try_use_gpu:
bool
. - match_conf:
float
. - num_matches_thresh1:
int
. - num_matches_thresh2:
int
.
Return
Python prototype (for reference):
BestOf2NearestRangeMatcher([, range_width[, try_use_gpu[, match_conf[, num_matches_thresh1[, num_matches_thresh2]]]]]) -> <detail_BestOf2NearestRangeMatcher object>
Python prototype (for reference):
collectGarbage() -> None
@spec create() :: Evision.Detail.BestOf2NearestMatcher.t() | {:error, String.t()}
Keyword Arguments
- try_use_gpu:
bool
. - match_conf:
float
. - num_matches_thresh1:
int
. - num_matches_thresh2:
int
.
Return
Python prototype (for reference):
create([, try_use_gpu[, match_conf[, num_matches_thresh1[, num_matches_thresh2]]]]) -> retval
@spec create([{atom(), term()}, ...] | nil) :: Evision.Detail.BestOf2NearestMatcher.t() | {:error, String.t()}
Keyword Arguments
- try_use_gpu:
bool
. - match_conf:
float
. - num_matches_thresh1:
int
. - num_matches_thresh2:
int
.
Return
Python prototype (for reference):
create([, try_use_gpu[, match_conf[, num_matches_thresh1[, num_matches_thresh2]]]]) -> retval
Return
- retval:
bool
@return True, if it's possible to use the same matcher instance in parallel, false otherwise
Python prototype (for reference):
isThreadSafe() -> retval