View Source Evision.Reg.MapShift (Evision v0.2.9)
Summary
Types
@type t() :: %Evision.Reg.MapShift{ref: reference()}
Type that represents an Reg.MapShift
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec compose(t(), Evision.Reg.Map.t()) :: t() | {:error, String.t()}
compose
Positional Arguments
- self:
Evision.Reg.MapShift.t()
- map:
Map
Python prototype (for reference only):
compose(map) -> None
@spec getShift(Keyword.t()) :: any() | {:error, String.t()}
@spec getShift(t()) :: Evision.Mat.t() | {:error, String.t()}
getShift
Positional Arguments
- self:
Evision.Reg.MapShift.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.MapShift.t()
Return
- shift:
Evision.Mat.t()
.
Python prototype (for reference only):
getShift([, shift]) -> shift
@spec inverseMap(Keyword.t()) :: any() | {:error, String.t()}
@spec inverseMap(t()) :: Evision.Reg.Map.t() | {:error, String.t()}
inverseMap
Positional Arguments
- self:
Evision.Reg.MapShift.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.MapShift.t()
- img1:
Evision.Mat
Return
- img2:
Evision.Mat.t()
.
Python prototype (for reference only):
inverseWarp(img1[, img2]) -> img2
@spec inverseWarp(t(), Evision.Mat.maybe_mat_in(), [{atom(), term()}, ...] | nil) :: Evision.Mat.t() | {:error, String.t()}
inverseWarp
Positional Arguments
- self:
Evision.Reg.MapShift.t()
- img1:
Evision.Mat
Return
- img2:
Evision.Mat.t()
.
Python prototype (for reference only):
inverseWarp(img1[, img2]) -> img2
MapShift
Return
- self:
MapShift
Python prototype (for reference only):
MapShift() -> <reg_MapShift object>
@spec mapShift(Keyword.t()) :: any() | {:error, String.t()}
@spec mapShift(Evision.Mat.maybe_mat_in()) :: t() | {:error, String.t()}
MapShift
Positional Arguments
- shift:
Evision.Mat
Return
- self:
MapShift
Python prototype (for reference only):
MapShift(shift) -> <reg_MapShift object>
scale
Positional Arguments
- self:
Evision.Reg.MapShift.t()
- factor:
double
Python prototype (for reference only):
scale(factor) -> None
@spec warp(t(), Evision.Mat.maybe_mat_in()) :: Evision.Mat.t() | {:error, String.t()}
warp
Positional Arguments
- self:
Evision.Reg.MapShift.t()
- img1:
Evision.Mat
Return
- img2:
Evision.Mat.t()
.
Python prototype (for reference only):
warp(img1[, img2]) -> img2
@spec warp(t(), Evision.Mat.maybe_mat_in(), [{atom(), term()}, ...] | nil) :: Evision.Mat.t() | {:error, String.t()}
warp
Positional Arguments
- self:
Evision.Reg.MapShift.t()
- img1:
Evision.Mat
Return
- img2:
Evision.Mat.t()
.
Python prototype (for reference only):
warp(img1[, img2]) -> img2