Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
alvar::KalmanVisualize Class Reference

Class for visualizing Kalman filter. More...

#include <Kalman.h>

List of all members.

Public Member Functions

 KalmanVisualize (Kalman *_kalman, KalmanSensor *_sensor)
 Constructor for full Kalman implementation.
 KalmanVisualize (KalmanCore *_kalman, KalmanSensorCore *_sensor)
 Constructor for core Kalman implementation (not all visualizations possible)
void show ()
 Show the genrated visualization image.
void update_post ()
 Update the visualization image - call this after the Kalman's predict_update.
void update_pre ()
 Update the visualization image - call this before the Kalman's predict_update.
 ~KalmanVisualize ()
 Destructor.

Static Public Member Functions

static void out_matrix (CvMat *m, char *name)
 Helper method for outputting matrices (for debug purposes)

Private Member Functions

void img_matrix (CvMat *mat, int top, int left)
 Add matrix to the image.
void Init ()
 Init everything. Called from constructors.

Private Attributes

IplImage * img
 Image collecting visualization of the Kalman filter.
IplImage * img_legend
 Image to show.
int img_scale
 visualization scale before show
IplImage * img_show
 Image to show.
KalmanCorekalman
Kalmankalman_ext
int m
int n
KalmanSensorCoresensor
KalmanSensorsensor_ext

Detailed Description

Class for visualizing Kalman filter.

Usage:

        KalmanVisualize kvis(&kalman, &sensor);
        ...
        kvis.update_pre();
        kalman.predict_update(&sensor);
        kvis.update_post();
        kvis.show();

Definition at line 274 of file Kalman.h.


Constructor & Destructor Documentation

Constructor for full Kalman implementation.

Definition at line 381 of file Kalman.cpp.

Constructor for core Kalman implementation (not all visualizations possible)

Definition at line 389 of file Kalman.cpp.

Destructor.

Definition at line 397 of file Kalman.cpp.


Member Function Documentation

void alvar::KalmanVisualize::img_matrix ( CvMat *  mat,
int  top,
int  left 
) [private]

Add matrix to the image.

Definition at line 297 of file Kalman.cpp.

void alvar::KalmanVisualize::Init ( ) [private]

Init everything. Called from constructors.

Definition at line 328 of file Kalman.cpp.

void alvar::KalmanVisualize::out_matrix ( CvMat *  m,
char *  name 
) [static]

Helper method for outputting matrices (for debug purposes)

Definition at line 356 of file Kalman.cpp.

Show the genrated visualization image.

Definition at line 435 of file Kalman.cpp.

Update the visualization image - call this after the Kalman's predict_update.

Definition at line 409 of file Kalman.cpp.

Update the visualization image - call this before the Kalman's predict_update.

Definition at line 401 of file Kalman.cpp.


Member Data Documentation

IplImage* alvar::KalmanVisualize::img [private]

Image collecting visualization of the Kalman filter.

Definition at line 282 of file Kalman.h.

Image to show.

Definition at line 284 of file Kalman.h.

visualization scale before show

Definition at line 288 of file Kalman.h.

IplImage* alvar::KalmanVisualize::img_show [private]

Image to show.

Definition at line 286 of file Kalman.h.

Definition at line 277 of file Kalman.h.

Definition at line 279 of file Kalman.h.

Definition at line 276 of file Kalman.h.

Definition at line 275 of file Kalman.h.

Definition at line 278 of file Kalman.h.

Definition at line 280 of file Kalman.h.


The documentation for this class was generated from the following files:


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Thu Jun 6 2019 21:12:55