View Source Evision.Reg.MapAffine (Evision v0.1.28)

Link to this section Summary

Types

t()

Type that represents an Reg.MapAffine struct.

Link to this section Types

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

Type that represents an Reg.MapAffine struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

@spec compose(t(), Evision.Reg.Map.t()) :: t() | {:error, String.t()}

compose

Positional Arguments
  • self: Evision.Reg.MapAffine.t()
  • map: Map

Python prototype (for reference only):

compose(map) -> None
@spec getLinTr(t()) :: Evision.Mat.t() | {:error, String.t()}

getLinTr

Positional Arguments
  • self: Evision.Reg.MapAffine.t()
Return
  • linTr: Evision.Mat.t().

Python prototype (for reference only):

getLinTr([, linTr]) -> linTr
@spec getLinTr(t(), [{atom(), term()}, ...] | nil) ::
  Evision.Mat.t() | {:error, String.t()}

getLinTr

Positional Arguments
  • self: Evision.Reg.MapAffine.t()
Return
  • linTr: Evision.Mat.t().

Python prototype (for reference only):

getLinTr([, linTr]) -> linTr
@spec getShift(t()) :: Evision.Mat.t() | {:error, String.t()}

getShift

Positional Arguments
  • self: Evision.Reg.MapAffine.t()
Return
  • shift: Evision.Mat.t().

Python prototype (for reference only):

getShift([, shift]) -> shift
@spec getShift(t(), [{atom(), term()}, ...] | nil) ::
  Evision.Mat.t() | {:error, String.t()}

getShift

Positional Arguments
  • self: Evision.Reg.MapAffine.t()
Return
  • shift: Evision.Mat.t().

Python prototype (for reference only):

getShift([, shift]) -> shift
@spec inverseMap(t()) :: Evision.Reg.Map.t() | {:error, String.t()}

inverseMap

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

Python prototype (for reference only):

inverseMap() -> retval
@spec inverseWarp(t(), Evision.Mat.maybe_mat_in()) ::
  Evision.Mat.t() | {:error, String.t()}

inverseWarp

Positional Arguments
  • self: Evision.Reg.MapAffine.t()
  • img1: Evision.Mat.t()
Return
  • img2: Evision.Mat.t().

Python prototype (for reference only):

inverseWarp(img1[, img2]) -> img2
Link to this function

inverseWarp(self, img1, opts)

View Source
@spec inverseWarp(t(), Evision.Mat.maybe_mat_in(), [{atom(), term()}, ...] | nil) ::
  Evision.Mat.t() | {:error, String.t()}

inverseWarp

Positional Arguments
  • self: Evision.Reg.MapAffine.t()
  • img1: Evision.Mat.t()
Return
  • img2: Evision.Mat.t().

Python prototype (for reference only):

inverseWarp(img1[, img2]) -> img2
@spec mapAffine() :: t() | {:error, String.t()}

MapAffine

Return
  • self: MapAffine

Python prototype (for reference only):

MapAffine() -> <reg_MapAffine object>
@spec mapAffine(Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in()) ::
  t() | {:error, String.t()}

MapAffine

Positional Arguments
  • linTr: Evision.Mat.t()
  • shift: Evision.Mat.t()
Return
  • self: MapAffine

Python prototype (for reference only):

MapAffine(linTr, shift) -> <reg_MapAffine object>
@spec scale(t(), number()) :: t() | {:error, String.t()}

scale

Positional Arguments
  • self: Evision.Reg.MapAffine.t()
  • factor: double

Python prototype (for reference only):

scale(factor) -> None