View Source Evision.Reg.Mapper (Evision v0.2.9)

Summary

Types

t()

Type that represents an Reg.Mapper struct.

Types

@type t() :: %Evision.Reg.Mapper{ref: reference()}

Type that represents an Reg.Mapper struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

@spec calculate(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

calculate(self, img1, img2)

View Source
@spec calculate(t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in()) ::
  Evision.Reg.Map.t() | {:error, String.t()}

calculate

Positional Arguments
Keyword Arguments
Return
  • retval: cv::Ptr<Map>

Python prototype (for reference only):

calculate(img1, img2[, init]) -> retval
Link to this function

calculate(self, img1, img2, opts)

View Source
@spec calculate(
  t(),
  Evision.Mat.maybe_mat_in(),
  Evision.Mat.maybe_mat_in(),
  [{:init, term()}] | nil
) ::
  Evision.Reg.Map.t() | {:error, String.t()}

calculate

Positional Arguments
Keyword Arguments
Return
  • retval: cv::Ptr<Map>

Python prototype (for reference only):

calculate(img1, img2[, init]) -> retval
@spec getMap(Keyword.t()) :: any() | {:error, String.t()}
@spec getMap(t()) :: Evision.Reg.Map.t() | {:error, String.t()}

getMap

Positional Arguments
  • self: Evision.Reg.Mapper.t()
Return
  • retval: cv::Ptr<Map>

Python prototype (for reference only):

getMap() -> retval