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

Summary

Types

t()

Type that represents an Detail.MultiBandBlender struct.

Types

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

Type that represents an Detail.MultiBandBlender struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

@spec blend(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

blend(self, dst, dst_mask)

View Source

blend

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

Python prototype (for reference only):

blend(dst, dst_mask) -> dst, dst_mask
@spec feed(Keyword.t()) :: any() | {:error, String.t()}
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()}
) ::
  t() | {: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: integer().
  • num_bands: integer().
  • weight_type: integer().
Return
  • self: Evision.Detail.MultiBandBlender.t()

Python prototype (for reference only):

MultiBandBlender([, try_gpu[, num_bands[, weight_type]]]) -> <detail_MultiBandBlender object>
Link to this function

multiBandBlender(named_args)

View Source
@spec multiBandBlender(Keyword.t()) :: any() | {:error, String.t()}
@spec multiBandBlender(
  [num_bands: term(), try_gpu: term(), weight_type: term()]
  | nil
) ::
  t() | {:error, String.t()}

MultiBandBlender

Keyword Arguments
  • try_gpu: integer().
  • num_bands: integer().
  • weight_type: integer().
Return
  • self: Evision.Detail.MultiBandBlender.t()

Python prototype (for reference only):

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

numBands

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

Python prototype (for reference only):

numBands() -> retval
@spec prepare(Keyword.t()) :: any() | {:error, String.t()}
@spec prepare(t(), {number(), number(), number(), number()}) ::
  t() | {: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(Keyword.t()) :: any() | {:error, String.t()}
@spec setNumBands(t(), integer()) :: t() | {:error, String.t()}

setNumBands

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

Python prototype (for reference only):

setNumBands(val) -> None