View Source Evision.Detail.GraphCutSeamFinder (Evision v0.2.7)

Summary

Types

t()

Type that represents an Detail.GraphCutSeamFinder struct.

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(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

find(self, src, corners, masks)

View Source
@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
Link to this function

graphCutSeamFinder(named_args)

View Source
@spec graphCutSeamFinder(Keyword.t()) :: any() | {:error, String.t()}
@spec graphCutSeamFinder(binary()) :: t() | {:error, String.t()}

GraphCutSeamFinder

Positional Arguments
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>
Link to this function

graphCutSeamFinder(cost_type, opts)

View Source
@spec graphCutSeamFinder(
  binary(),
  [bad_region_penalty: term(), terminal_cost: term()] | nil
) ::
  t() | {:error, String.t()}

GraphCutSeamFinder

Positional Arguments
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>