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

Link to this section Summary

Types

t()

Type that represents an Reg.MapProjec struct.

Link to this section Types

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

Type that represents an Reg.MapProjec 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.MapProjec.t()
  • map: Map

Python prototype (for reference only):

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

getProjTr

Positional Arguments
  • self: Evision.Reg.MapProjec.t()
Return
  • projTr: Evision.Mat.t().

Python prototype (for reference only):

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

getProjTr

Positional Arguments
  • self: Evision.Reg.MapProjec.t()
Return
  • projTr: Evision.Mat.t().

Python prototype (for reference only):

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

inverseMap

Positional Arguments
  • self: Evision.Reg.MapProjec.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.MapProjec.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.MapProjec.t()
  • img1: Evision.Mat.t()
Return
  • img2: Evision.Mat.t().

Python prototype (for reference only):

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

MapProjec

Return
  • self: MapProjec

Python prototype (for reference only):

MapProjec() -> <reg_MapProjec object>
@spec mapProjec(Evision.Mat.maybe_mat_in()) :: t() | {:error, String.t()}

MapProjec

Positional Arguments
  • projTr: Evision.Mat.t()
Return
  • self: MapProjec

Python prototype (for reference only):

MapProjec(projTr) -> <reg_MapProjec object>
@spec normalize(t()) :: t() | {:error, String.t()}

normalize

Positional Arguments
  • self: Evision.Reg.MapProjec.t()

Python prototype (for reference only):

normalize() -> None
@spec scale(t(), number()) :: t() | {:error, String.t()}

scale

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

Python prototype (for reference only):

scale(factor) -> None