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

Link to this section Summary

Types

t()

Type that represents an Evision.Detail.SeamFinder struct.

Link to this section Types

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

Type that represents an Evision.Detail.SeamFinder struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

@spec createDefault(integer()) :: t() | {:error, String.t()}

createDefault

Positional Arguments
  • type: int
Return

Python prototype (for reference only):

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