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

Link to this section Summary

Types

t()

Type that represents an Evision.Detail.GraphCutSeamFinder struct.

Link to this section Types

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

Type that represents an Evision.Detail.GraphCutSeamFinder struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

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()
]) ::
  :ok | {:error, String.t()}

find

Positional Arguments
  • self: Evision.Detail.GraphCutSeamFinder.t()
  • src: [Evision.Mat]
  • corners: [Point]
  • masks: [Evision.Mat]

Python prototype (for reference only):

find(src, corners, masks) -> None
Link to this function

graphCutSeamFinder(cost_type)

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

GraphCutSeamFinder

Positional Arguments
Keyword Arguments
  • terminal_cost: float.
  • bad_region_penalty: float.
Return

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(), [{atom(), term()}, ...] | nil) ::
  t() | {:error, String.t()}

GraphCutSeamFinder

Positional Arguments
Keyword Arguments
  • terminal_cost: float.
  • bad_region_penalty: float.
Return

Python prototype (for reference only):

GraphCutSeamFinder(cost_type[, terminal_cost[, bad_region_penalty]]) -> <detail_GraphCutSeamFinder object>