View Source Evision.Detail.MatchesInfo (Evision v0.1.38)

Summary

Types

t()

Type that represents an Detail.MatchesInfo struct.

Types

@type t() :: %Evision.Detail.MatchesInfo{ref: reference()}

Type that represents an Detail.MatchesInfo struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

@spec get_confidence(t()) :: number()
@spec get_dst_img_idx(t()) :: integer()
@spec get_H(t()) :: Evision.Mat.t()
@spec get_inliers_mask(t()) :: binary()
@spec get_matches(t()) :: [Evision.DMatch.t()]
@spec get_num_inliers(t()) :: integer()
@spec get_src_img_idx(t()) :: integer()
@spec getInliers(t()) :: binary() | {:error, String.t()}

getInliers

Positional Arguments
  • self: Evision.Detail.MatchesInfo.t()
Return
  • retval: [uchar]

Python prototype (for reference only):

getInliers() -> retval
@spec getMatches(t()) :: [Evision.DMatch.t()] | {:error, String.t()}

getMatches

Positional Arguments
  • self: Evision.Detail.MatchesInfo.t()
Return
  • retval: [Evision.DMatch]

Python prototype (for reference only):

getMatches() -> retval
Link to this function

set_confidence(self, prop)

View Source
@spec set_confidence(t(), number()) :: t()
Link to this function

set_dst_img_idx(self, prop)

View Source
@spec set_dst_img_idx(t(), integer()) :: t()
@spec set_H(t(), Evision.Mat.maybe_mat_in()) :: t()
Link to this function

set_inliers_mask(self, prop)

View Source
@spec set_inliers_mask(t(), binary()) :: t()
@spec set_matches(t(), [Evision.DMatch.t()]) :: t()
Link to this function

set_num_inliers(self, prop)

View Source
@spec set_num_inliers(t(), integer()) :: t()
Link to this function

set_src_img_idx(self, prop)

View Source
@spec set_src_img_idx(t(), integer()) :: t()