View Source Evision.Detail.GraphCutSeamFinder (Evision v0.2.9)
Summary
Types
@type t() :: %Evision.Detail.GraphCutSeamFinder{ref: reference()}
Type that represents an Detail.GraphCutSeamFinder
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec find(t(), [Evision.Mat.maybe_mat_in()], [{number(), number()}], [ Evision.Mat.maybe_mat_in() ]) :: [Evision.Mat.t()] | {:error, String.t()}
find
Positional Arguments
- self:
Evision.Detail.GraphCutSeamFinder.t()
- src:
[Evision.Mat]
- corners:
[Point]
Return
- masks:
[Evision.Mat]
Python prototype (for reference only):
find(src, corners, masks) -> masks
@spec graphCutSeamFinder(Keyword.t()) :: any() | {:error, String.t()}
@spec graphCutSeamFinder(binary()) :: t() | {:error, String.t()}
GraphCutSeamFinder
Positional Arguments
- cost_type:
String
Keyword Arguments
- terminal_cost:
float
. - bad_region_penalty:
float
.
Return
- self:
Evision.Detail.GraphCutSeamFinder.t()
Python prototype (for reference only):
GraphCutSeamFinder(cost_type[, terminal_cost[, bad_region_penalty]]) -> <detail_GraphCutSeamFinder object>
@spec graphCutSeamFinder( binary(), [bad_region_penalty: term(), terminal_cost: term()] | nil ) :: t() | {:error, String.t()}
GraphCutSeamFinder
Positional Arguments
- cost_type:
String
Keyword Arguments
- terminal_cost:
float
. - bad_region_penalty:
float
.
Return
- self:
Evision.Detail.GraphCutSeamFinder.t()
Python prototype (for reference only):
GraphCutSeamFinder(cost_type[, terminal_cost[, bad_region_penalty]]) -> <detail_GraphCutSeamFinder object>