fast::KalmanFilterModelSegmentation class

Kalman filter deformable model segmentation.

Temporal deformable model segmentation using Kalman filter state estimation Supports multiple shape and appearance models

Inputs:

Outputs:

  • 0: Mesh segmentation
  • 1: Mesh displacement

Base classes

class ProcessObject
Abstract base class for all process objects.

Public functions

auto create(ShapeModel::pointer shapeModel, AppearanceModel::pointer appearanceModel, int iterations, int startIterations) -> std::shared_ptr<KalmanFilterModelSegmentation>
Create instance.
void setShapeModel(ShapeModel::pointer shapeModel)
void setAppearanceModel(AppearanceModel::pointer appearanceModel)
void setIterations(int iterations)
void setStartIterations(int iterations)
auto getCurrentState() const -> VectorXf
auto getSegmentationOutputPort() -> DataChannel::pointer
auto getDisplacementsOutputPort() -> DataChannel::pointer

Private functions

void execute() virtual

Function documentation

std::shared_ptr<KalmanFilterModelSegmentation> fast::KalmanFilterModelSegmentation::create(ShapeModel::pointer shapeModel, AppearanceModel::pointer appearanceModel, int iterations, int startIterations)

Create instance.

Parameters
shapeModel Shape model to use
appearanceModel Apperrance model to use
iterations Iterations per frame
startIterations Iterations for first frame
Returns instance