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

Summary

Types

t()

Type that represents an Detail.ChannelsCompensator struct.

Types

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

Type that represents an Detail.ChannelsCompensator struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

@spec apply(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

apply(self, index, corner, image, mask)

View Source
@spec apply(
  t(),
  integer(),
  {number(), number()},
  Evision.Mat.maybe_mat_in(),
  Evision.Mat.maybe_mat_in()
) :: Evision.Mat.t() | {:error, String.t()}

apply

Positional Arguments
  • self: Evision.Detail.ChannelsCompensator.t()
  • index: integer()
  • corner: Point
  • mask: Evision.Mat
Return
  • image: Evision.Mat.t()

Python prototype (for reference only):

apply(index, corner, image, mask) -> image
@spec channelsCompensator() :: t() | {:error, String.t()}

ChannelsCompensator

Keyword Arguments
  • nr_feeds: integer().
Return
  • self: Evision.Detail.ChannelsCompensator.t()

Python prototype (for reference only):

ChannelsCompensator([, nr_feeds]) -> <detail_ChannelsCompensator object>
Link to this function

channelsCompensator(named_args)

View Source
@spec channelsCompensator(Keyword.t()) :: any() | {:error, String.t()}
@spec channelsCompensator([{:nr_feeds, term()}] | nil) :: t() | {:error, String.t()}

ChannelsCompensator

Keyword Arguments
  • nr_feeds: integer().
Return
  • self: Evision.Detail.ChannelsCompensator.t()

Python prototype (for reference only):

ChannelsCompensator([, nr_feeds]) -> <detail_ChannelsCompensator object>
@spec getMatGains(Keyword.t()) :: any() | {:error, String.t()}
@spec getMatGains(t()) :: [Evision.Mat.t()] | {:error, String.t()}

getMatGains

Positional Arguments
  • self: Evision.Detail.ChannelsCompensator.t()
Return
  • umv: [Evision.Mat].

Python prototype (for reference only):

getMatGains([, umv]) -> umv
@spec getMatGains(t(), [{atom(), term()}, ...] | nil) ::
  [Evision.Mat.t()] | {:error, String.t()}

getMatGains

Positional Arguments
  • self: Evision.Detail.ChannelsCompensator.t()
Return
  • umv: [Evision.Mat].

Python prototype (for reference only):

getMatGains([, umv]) -> umv
@spec getNrFeeds(Keyword.t()) :: any() | {:error, String.t()}
@spec getNrFeeds(t()) :: integer() | {:error, String.t()}

getNrFeeds

Positional Arguments
  • self: Evision.Detail.ChannelsCompensator.t()
Return
  • retval: integer()

Python prototype (for reference only):

getNrFeeds() -> retval
Link to this function

getSimilarityThreshold(named_args)

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

getSimilarityThreshold

Positional Arguments
  • self: Evision.Detail.ChannelsCompensator.t()
Return
  • retval: double

Python prototype (for reference only):

getSimilarityThreshold() -> retval
@spec setMatGains(Keyword.t()) :: any() | {:error, String.t()}
@spec setMatGains(t(), [Evision.Mat.maybe_mat_in()]) :: t() | {:error, String.t()}

setMatGains

Positional Arguments
  • self: Evision.Detail.ChannelsCompensator.t()
  • umv: [Evision.Mat]

Python prototype (for reference only):

setMatGains(umv) -> None
@spec setNrFeeds(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setNrFeeds(self, nr_feeds)

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

setNrFeeds

Positional Arguments
  • self: Evision.Detail.ChannelsCompensator.t()
  • nr_feeds: integer()

Python prototype (for reference only):

setNrFeeds(nr_feeds) -> None
Link to this function

setSimilarityThreshold(named_args)

View Source
@spec setSimilarityThreshold(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setSimilarityThreshold(self, similarity_threshold)

View Source
@spec setSimilarityThreshold(t(), number()) :: t() | {:error, String.t()}

setSimilarityThreshold

Positional Arguments
  • self: Evision.Detail.ChannelsCompensator.t()
  • similarity_threshold: double

Python prototype (for reference only):

setSimilarityThreshold(similarity_threshold) -> None