View Source Evision.Detail.SeamFinder (Evision v0.2.9)

Summary

Types

t()

Type that represents an Detail.SeamFinder struct.

Enumerator

Types

@type enum() :: integer()
@type t() :: %Evision.Detail.SeamFinder{ref: reference()}

Type that represents an Detail.SeamFinder struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

createDefault(named_args)

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

createDefault

Positional Arguments
  • type: integer()
Return
  • retval: Evision.Detail.SeamFinder.t()

Python prototype (for reference only):

createDefault(type) -> retval
@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()}

Estimates seams.

Positional Arguments
  • self: Evision.Detail.SeamFinder.t()

  • src: [Evision.Mat].

    Source images

  • corners: [Point].

    Source image top-left corners

Return
  • masks: [Evision.Mat].

    Source image masks to update

Python prototype (for reference only):

find(src, corners, masks) -> masks