View Source Evision.Detail.BlocksGainCompensator (Evision v0.2.9)
Summary
Functions
BlocksGainCompensator
BlocksGainCompensator
BlocksGainCompensator
getMatGains
getMatGains
setMatGains
Types
@type t() :: %Evision.Detail.BlocksGainCompensator{ref: reference()}
Type that represents an Detail.BlocksGainCompensator
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec apply( t(), integer(), {number(), number()}, Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in() ) :: Evision.Mat.t() | {:error, String.t()}
apply
Positional Arguments
- self:
Evision.Detail.BlocksGainCompensator.t()
- index:
integer()
- corner:
Point
- mask:
Evision.Mat
Return
- image:
Evision.Mat.t()
Python prototype (for reference only):
apply(index, corner, image, mask) -> image
BlocksGainCompensator
Keyword Arguments
- bl_width:
integer()
. - bl_height:
integer()
.
Return
- self:
Evision.Detail.BlocksGainCompensator.t()
Python prototype (for reference only):
BlocksGainCompensator([, bl_width[, bl_height]]) -> <detail_BlocksGainCompensator object>
@spec blocksGainCompensator(Keyword.t()) :: any() | {:error, String.t()}
@spec blocksGainCompensator([bl_height: term(), bl_width: term()] | nil) :: t() | {:error, String.t()}
BlocksGainCompensator
Keyword Arguments
- bl_width:
integer()
. - bl_height:
integer()
.
Return
- self:
Evision.Detail.BlocksGainCompensator.t()
Python prototype (for reference only):
BlocksGainCompensator([, bl_width[, bl_height]]) -> <detail_BlocksGainCompensator object>
BlocksGainCompensator
Positional Arguments
- bl_width:
integer()
- bl_height:
integer()
- nr_feeds:
integer()
Return
- self:
Evision.Detail.BlocksGainCompensator.t()
Python prototype (for reference only):
BlocksGainCompensator(bl_width, bl_height, nr_feeds) -> <detail_BlocksGainCompensator object>
@spec getMatGains(Keyword.t()) :: any() | {:error, String.t()}
@spec getMatGains(t()) :: [Evision.Mat.t()] | {:error, String.t()}
getMatGains
Positional Arguments
- self:
Evision.Detail.BlocksGainCompensator.t()
Return
- umv:
[Evision.Mat]
.
Python prototype (for reference only):
getMatGains([, umv]) -> umv
@spec getMatGains(t(), [{atom(), term()}, ...] | nil) :: [Evision.Mat.t()] | {:error, String.t()}
getMatGains
Positional Arguments
- self:
Evision.Detail.BlocksGainCompensator.t()
Return
- umv:
[Evision.Mat]
.
Python prototype (for reference only):
getMatGains([, umv]) -> umv
@spec setMatGains(t(), [Evision.Mat.maybe_mat_in()]) :: t() | {:error, String.t()}
setMatGains
Positional Arguments
- self:
Evision.Detail.BlocksGainCompensator.t()
- umv:
[Evision.Mat]
Python prototype (for reference only):
setMatGains(umv) -> None