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

Link to this section Summary

Types

t()

Type that represents an Evision.Detail.BlocksGainCompensator struct.

Link to this section Types

@type t() :: %Evision.Detail.BlocksGainCompensator{ref: reference()}

Type that represents an Evision.Detail.BlocksGainCompensator struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

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: int
  • corner: Point
  • mask: Evision.Mat
Return

Python prototype (for reference only):

apply(index, corner, image, mask) -> image
@spec blocksGainCompensator() :: t() | {:error, String.t()}

BlocksGainCompensator

Keyword Arguments
  • bl_width: int.
  • bl_height: int.
Return

Python prototype (for reference only):

BlocksGainCompensator([, bl_width[, bl_height]]) -> <detail_BlocksGainCompensator object>
Link to this function

blocksGainCompensator(opts)

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

BlocksGainCompensator

Keyword Arguments
  • bl_width: int.
  • bl_height: int.
Return

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: int
  • bl_height: int
  • nr_feeds: int
Return

Python prototype (for reference only):

BlocksGainCompensator(bl_width, bl_height, nr_feeds) -> <detail_BlocksGainCompensator object>
@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()]) :: :ok | {:error, String.t()}

setMatGains

Positional Arguments
  • self: Evision.Detail.BlocksGainCompensator.t()
  • umv: [Evision.Mat]

Python prototype (for reference only):

setMatGains(umv) -> None