View Source Evision.Detail.MultiBandBlender (Evision v0.2.9)
Summary
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(t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in()) :: {Evision.Mat.t(), Evision.Mat.t()} | {:error, String.t()}
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( t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), {number(), number()} ) :: t() | {:error, String.t()}
feed
Positional Arguments
- self:
Evision.Detail.MultiBandBlender.t()
- img:
Evision.Mat
- mask:
Evision.Mat
- tl:
Point
Python prototype (for reference only):
feed(img, mask, tl) -> None
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 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
prepare
Positional Arguments
- self:
Evision.Detail.MultiBandBlender.t()
- dst_roi:
Rect
Python prototype (for reference only):
prepare(dst_roi) -> None
setNumBands
Positional Arguments
- self:
Evision.Detail.MultiBandBlender.t()
- val:
integer()
Python prototype (for reference only):
setNumBands(val) -> None