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

Summary

Types

t()

Type that represents an Detail.SeamFinder struct.

Types

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

Type that represents an Detail.SeamFinder struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

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

createDefault

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

Python prototype (for reference only):

createDefault(type) -> retval
Link to this function

find(self, src, corners, masks)

View Source
@spec find(
  Evision.Detail.Detail.SeamFinder.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