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

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

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.t()
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: int.
  • bl_height: int.
Return
  • self: Evision.Detail.BlocksGainCompensator.t()

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
  • 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: int
  • bl_height: int
  • nr_feeds: int
Return
  • self: Evision.Detail.BlocksGainCompensator.t()

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

setMatGains

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

Python prototype (for reference only):

setMatGains(umv) -> None