View Source Evision.Detail.Blender (Evision v0.1.22)
Link to this section Summary
Types
Type that represents an Evision.Detail.Blender
struct.
Functions
Blends and returns the final pano.
createDefault
createDefault
Processes the image.
prepare
Prepares the blender for blending.
Link to this section Types
@type t() :: %Evision.Detail.Blender{ref: reference()}
Type that represents an Evision.Detail.Blender
struct.
ref.
reference()
The underlying erlang resource variable.
Link to this section Functions
@spec blend(t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in()) :: {Evision.Mat.t(), Evision.Mat.t()} | {:error, String.t()}
Blends and returns the final pano.
Positional Arguments
- self:
Evision.Detail.Blender.t()
Return
dst:
Evision.Mat
.Final pano
dst_mask:
Evision.Mat
.Final pano mask
Python prototype (for reference only):
blend(dst, dst_mask) -> dst, dst_mask
createDefault
Positional Arguments
- type:
int
Keyword Arguments
- try_gpu:
bool
.
Return
- retval:
Evision.Detail.Blender
Python prototype (for reference only):
createDefault(type[, try_gpu]) -> retval
createDefault
Positional Arguments
- type:
int
Keyword Arguments
- try_gpu:
bool
.
Return
- retval:
Evision.Detail.Blender
Python prototype (for reference only):
createDefault(type[, try_gpu]) -> retval
@spec feed( t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), {number(), number()} ) :: :ok | {:error, String.t()}
Processes the image.
Positional Arguments
self:
Evision.Detail.Blender.t()
img:
Evision.Mat
.Source image
mask:
Evision.Mat
.Source image mask
tl:
Point
.Source image top-left corners
Python prototype (for reference only):
feed(img, mask, tl) -> None
prepare
Positional Arguments
- self:
Evision.Detail.Blender.t()
- dst_roi:
Rect
Has overloading in C++
Python prototype (for reference only):
prepare(dst_roi) -> None
Prepares the blender for blending.
Positional Arguments
self:
Evision.Detail.Blender.t()
corners:
[Point]
.Source images top-left corners
sizes:
[Size]
.Source image sizes
Python prototype (for reference only):
prepare(corners, sizes) -> None