View Source Evision.CUDA.BackgroundSubtractorMOG (Evision v0.1.28)

Link to this section Summary

Types

t()

Type that represents an CUDA.BackgroundSubtractorMOG struct.

Link to this section Types

@type t() :: %Evision.CUDA.BackgroundSubtractorMOG{ref: reference()}

Type that represents an CUDA.BackgroundSubtractorMOG struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

Link to this function

apply(self, image, learningRate, stream)

View Source

Variant 1:

apply

Positional Arguments
  • self: Evision.CUDA.BackgroundSubtractorMOG.t()
  • image: Evision.Mat.t()
  • learningRate: double
  • stream: Evision.CUDA.Stream.t()
Return
  • fgmask: Evision.Mat.t().

Python prototype (for reference only):

apply(image, learningRate, stream[, fgmask]) -> fgmask

Variant 2:

apply

Positional Arguments
  • self: Evision.CUDA.BackgroundSubtractorMOG.t()
  • image: Evision.CUDA.GpuMat.t()
  • learningRate: double
  • stream: Evision.CUDA.Stream.t()
Return
  • fgmask: Evision.CUDA.GpuMat.t().

Python prototype (for reference only):

apply(image, learningRate, stream[, fgmask]) -> fgmask
Link to this function

apply(self, image, learningRate, stream, opts)

View Source

Variant 1:

apply

Positional Arguments
  • self: Evision.CUDA.BackgroundSubtractorMOG.t()
  • image: Evision.Mat.t()
  • learningRate: double
  • stream: Evision.CUDA.Stream.t()
Return
  • fgmask: Evision.Mat.t().

Python prototype (for reference only):

apply(image, learningRate, stream[, fgmask]) -> fgmask

Variant 2:

apply

Positional Arguments
  • self: Evision.CUDA.BackgroundSubtractorMOG.t()
  • image: Evision.CUDA.GpuMat.t()
  • learningRate: double
  • stream: Evision.CUDA.Stream.t()
Return
  • fgmask: Evision.CUDA.GpuMat.t().

Python prototype (for reference only):

apply(image, learningRate, stream[, fgmask]) -> fgmask
Link to this function

getBackgroundImage(self, stream)

View Source

getBackgroundImage

Positional Arguments
  • self: Evision.CUDA.BackgroundSubtractorMOG.t()
  • stream: Evision.CUDA.Stream.t()
Return
  • backgroundImage: Evision.CUDA.GpuMat.t().

Python prototype (for reference only):

getBackgroundImage(stream[, backgroundImage]) -> backgroundImage
Link to this function

getBackgroundImage(self, stream, opts)

View Source
@spec getBackgroundImage(
  Evision.BgSegm.BackgroundSubtractorMOG.t(),
  Evision.CUDA.Stream.t(),
  [{atom(), term()}, ...] | nil
) :: Evision.CUDA.GpuMat.t() | {:error, String.t()}

getBackgroundImage

Positional Arguments
  • self: Evision.CUDA.BackgroundSubtractorMOG.t()
  • stream: Evision.CUDA.Stream.t()
Return
  • backgroundImage: Evision.CUDA.GpuMat.t().

Python prototype (for reference only):

getBackgroundImage(stream[, backgroundImage]) -> backgroundImage
Link to this function

getBackgroundRatio(self)

View Source
@spec getBackgroundRatio(Evision.BgSegm.BackgroundSubtractorMOG.t()) ::
  number() | {:error, String.t()}

getBackgroundRatio

Positional Arguments
  • self: Evision.CUDA.BackgroundSubtractorMOG.t()
Return
  • retval: double

Python prototype (for reference only):

getBackgroundRatio() -> retval
@spec getHistory(Evision.BgSegm.BackgroundSubtractorMOG.t()) ::
  integer() | {:error, String.t()}

getHistory

Positional Arguments
  • self: Evision.CUDA.BackgroundSubtractorMOG.t()
Return
  • retval: int

Python prototype (for reference only):

getHistory() -> retval
@spec getNMixtures(Evision.BgSegm.BackgroundSubtractorMOG.t()) ::
  integer() | {:error, String.t()}

getNMixtures

Positional Arguments
  • self: Evision.CUDA.BackgroundSubtractorMOG.t()
Return
  • retval: int

Python prototype (for reference only):

getNMixtures() -> retval
@spec getNoiseSigma(Evision.BgSegm.BackgroundSubtractorMOG.t()) ::
  number() | {:error, String.t()}

getNoiseSigma

Positional Arguments
  • self: Evision.CUDA.BackgroundSubtractorMOG.t()
Return
  • retval: double

Python prototype (for reference only):

getNoiseSigma() -> retval
Link to this function

setBackgroundRatio(self, backgroundRatio)

View Source

setBackgroundRatio

Positional Arguments
  • self: Evision.CUDA.BackgroundSubtractorMOG.t()
  • backgroundRatio: double

Python prototype (for reference only):

setBackgroundRatio(backgroundRatio) -> None
Link to this function

setHistory(self, nframes)

View Source

setHistory

Positional Arguments
  • self: Evision.CUDA.BackgroundSubtractorMOG.t()
  • nframes: int

Python prototype (for reference only):

setHistory(nframes) -> None
Link to this function

setNMixtures(self, nmix)

View Source

setNMixtures

Positional Arguments
  • self: Evision.CUDA.BackgroundSubtractorMOG.t()
  • nmix: int

Python prototype (for reference only):

setNMixtures(nmix) -> None
Link to this function

setNoiseSigma(self, noiseSigma)

View Source

setNoiseSigma

Positional Arguments
  • self: Evision.CUDA.BackgroundSubtractorMOG.t()
  • noiseSigma: double

Python prototype (for reference only):

setNoiseSigma(noiseSigma) -> None