fast::EllipseModel class

Ellipse shape model.

Contents

Used in the Kalman filter deformable model segmentation algorithm

Base classes

class ShapeModel

Public functions

auto create(Vector2f position, float majorRadius, float MinorRadius) -> std::shared_ptr<EllipseModel>
Create instance.
auto getShape(VectorXf state) -> Shape::pointer virtual
auto getStateTransitionMatrix1() -> MatrixXf virtual
auto getStateTransitionMatrix2() -> MatrixXf virtual
auto getStateTransitionMatrix3() -> MatrixXf virtual
auto getProcessErrorMatrix() -> MatrixXf virtual
auto getMeasurementVectors(VectorXf state, Shape::pointer shape) -> std::vector<MatrixXf> virtual
void setInitialState(Vector2f position, float majorRadius, float minorRadius)
auto getInitialState(std::shared_ptr<Image> image) -> VectorXf virtual
auto restrictState(VectorXf state) -> VectorXf virtual

Function documentation

std::shared_ptr<EllipseModel> fast::EllipseModel::create(Vector2f position, float majorRadius, float MinorRadius)

Create instance.

Parameters
position center position of ellipse
majorRadius major radius
MinorRadius minor radius
Returns instance

void fast::EllipseModel::setInitialState(Vector2f position, float majorRadius, float minorRadius)

Set initial state in mm