View Source Evision.KalmanFilter (Evision v0.2.9)

Summary

Types

t()

Type that represents an KalmanFilter struct.

Types

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

Type that represents an KalmanFilter struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

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

correct(self, measurement)

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

Updates the predicted state from the measurement.

Positional Arguments
  • self: Evision.KalmanFilter.t()

  • measurement: Evision.Mat.

    The measured system parameters

Return
  • retval: Evision.Mat.t()

Python prototype (for reference only):

correct(measurement) -> retval
@spec get_controlMatrix(t()) :: Evision.Mat.t()
@spec get_errorCovPost(t()) :: Evision.Mat.t()
@spec get_errorCovPre(t()) :: Evision.Mat.t()
@spec get_gain(t()) :: Evision.Mat.t()
Link to this function

get_measurementMatrix(self)

View Source
@spec get_measurementMatrix(t()) :: Evision.Mat.t()
Link to this function

get_measurementNoiseCov(self)

View Source
@spec get_measurementNoiseCov(t()) :: Evision.Mat.t()
Link to this function

get_processNoiseCov(self)

View Source
@spec get_processNoiseCov(t()) :: Evision.Mat.t()
@spec get_statePost(t()) :: Evision.Mat.t()
@spec get_statePre(t()) :: Evision.Mat.t()
Link to this function

get_transitionMatrix(self)

View Source
@spec get_transitionMatrix(t()) :: Evision.Mat.t()
@spec kalmanFilter() :: t() | {:error, String.t()}

KalmanFilter

Return
  • self: Evision.KalmanFilter.t()

Python prototype (for reference only):

KalmanFilter() -> <KalmanFilter object>
Link to this function

kalmanFilter(named_args)

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

kalmanFilter(dynamParams, measureParams)

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

KalmanFilter

Positional Arguments
  • dynamParams: integer().

    Dimensionality of the state.

  • measureParams: integer().

    Dimensionality of the measurement.

Keyword Arguments
  • controlParams: integer().

    Dimensionality of the control vector.

  • type: integer().

    Type of the created matrices that should be CV_32F or CV_64F.

Return
  • self: Evision.KalmanFilter.t()

Has overloading in C++

Python prototype (for reference only):

KalmanFilter(dynamParams, measureParams[, controlParams[, type]]) -> <KalmanFilter object>
Link to this function

kalmanFilter(dynamParams, measureParams, opts)

View Source
@spec kalmanFilter(integer(), integer(), [controlParams: term(), type: term()] | nil) ::
  t() | {:error, String.t()}

KalmanFilter

Positional Arguments
  • dynamParams: integer().

    Dimensionality of the state.

  • measureParams: integer().

    Dimensionality of the measurement.

Keyword Arguments
  • controlParams: integer().

    Dimensionality of the control vector.

  • type: integer().

    Type of the created matrices that should be CV_32F or CV_64F.

Return
  • self: Evision.KalmanFilter.t()

Has overloading in C++

Python prototype (for reference only):

KalmanFilter(dynamParams, measureParams[, controlParams[, type]]) -> <KalmanFilter object>
@spec predict(Keyword.t()) :: any() | {:error, String.t()}
@spec predict(t()) :: Evision.Mat.t() | {:error, String.t()}

Computes a predicted state.

Positional Arguments
  • self: Evision.KalmanFilter.t()
Keyword Arguments
Return
  • retval: Evision.Mat.t()

Python prototype (for reference only):

predict([, control]) -> retval
@spec predict(t(), [{:control, term()}] | nil) ::
  Evision.Mat.t() | {:error, String.t()}

Computes a predicted state.

Positional Arguments
  • self: Evision.KalmanFilter.t()
Keyword Arguments
Return
  • retval: Evision.Mat.t()

Python prototype (for reference only):

predict([, control]) -> retval
Link to this function

set_controlMatrix(self, prop)

View Source
@spec set_controlMatrix(t(), Evision.Mat.maybe_mat_in()) :: t()
Link to this function

set_errorCovPost(self, prop)

View Source
@spec set_errorCovPost(t(), Evision.Mat.maybe_mat_in()) :: t()
Link to this function

set_errorCovPre(self, prop)

View Source
@spec set_errorCovPre(t(), Evision.Mat.maybe_mat_in()) :: t()
@spec set_gain(t(), Evision.Mat.maybe_mat_in()) :: t()
Link to this function

set_measurementMatrix(self, prop)

View Source
@spec set_measurementMatrix(t(), Evision.Mat.maybe_mat_in()) :: t()
Link to this function

set_measurementNoiseCov(self, prop)

View Source
@spec set_measurementNoiseCov(t(), Evision.Mat.maybe_mat_in()) :: t()
Link to this function

set_processNoiseCov(self, prop)

View Source
@spec set_processNoiseCov(t(), Evision.Mat.maybe_mat_in()) :: t()
Link to this function

set_statePost(self, prop)

View Source
@spec set_statePost(t(), Evision.Mat.maybe_mat_in()) :: t()
Link to this function

set_statePre(self, prop)

View Source
@spec set_statePre(t(), Evision.Mat.maybe_mat_in()) :: t()
Link to this function

set_transitionMatrix(self, prop)

View Source
@spec set_transitionMatrix(t(), Evision.Mat.maybe_mat_in()) :: t()