View Source Evision.Detail.BlocksGainCompensator (Evision v0.2.9)

Summary

Types

t()

Type that represents an Detail.BlocksGainCompensator struct.

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(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

apply(self, index, corner, image, mask)

View Source
@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
@spec blocksGainCompensator() :: 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>
Link to this function

blocksGainCompensator(named_args)

View Source
@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>
Link to this function

blocksGainCompensator(bl_width, bl_height, nr_feeds)

View Source
@spec blocksGainCompensator(integer(), integer(), integer()) ::
  t() | {:error, String.t()}

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(Keyword.t()) :: any() | {:error, String.t()}
@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