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

Link to this section Summary

Types

t()

Type that represents an Evision.Detail.MultiBandBlender struct.

Link to this section Types

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

Type that represents an Evision.Detail.MultiBandBlender struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

Link to this function

blend(self, dst, dst_mask)

View Source

blend

Positional Arguments
  • self: Evision.Detail.MultiBandBlender.t()
Return

Python prototype (for reference only):

blend(dst, dst_mask) -> dst, dst_mask
Link to this function

feed(self, img, mask, tl)

View Source
@spec feed(
  t(),
  Evision.Mat.maybe_mat_in(),
  Evision.Mat.maybe_mat_in(),
  {number(), number()}
) ::
  :ok | {:error, String.t()}

feed

Positional Arguments

Python prototype (for reference only):

feed(img, mask, tl) -> None
@spec multiBandBlender() :: t() | {:error, String.t()}

MultiBandBlender

Keyword Arguments
  • try_gpu: int.
  • num_bands: int.
  • weight_type: int.
Return

Python prototype (for reference only):

MultiBandBlender([, try_gpu[, num_bands[, weight_type]]]) -> <detail_MultiBandBlender object>
@spec multiBandBlender([{atom(), term()}, ...] | nil) :: t() | {:error, String.t()}

MultiBandBlender

Keyword Arguments
  • try_gpu: int.
  • num_bands: int.
  • weight_type: int.
Return

Python prototype (for reference only):

MultiBandBlender([, try_gpu[, num_bands[, weight_type]]]) -> <detail_MultiBandBlender object>
@spec numBands(t()) :: integer() | {:error, String.t()}

numBands

Positional Arguments
  • self: Evision.Detail.MultiBandBlender.t()
Return
  • retval: int

Python prototype (for reference only):

numBands() -> retval
@spec prepare(t(), {number(), number(), number(), number()}) ::
  :ok | {:error, String.t()}

prepare

Positional Arguments
  • self: Evision.Detail.MultiBandBlender.t()
  • dst_roi: Rect

Python prototype (for reference only):

prepare(dst_roi) -> None
@spec setNumBands(t(), integer()) :: :ok | {:error, String.t()}

setNumBands

Positional Arguments
  • self: Evision.Detail.MultiBandBlender.t()
  • val: int

Python prototype (for reference only):

setNumBands(val) -> None