# opentl::cvprocess::BackgroundFgSub Class Reference

List of all members.

## Public Member Functions
| BackgroundFgSub ()
| Constructor.
CvBGStatModel * | CreateForegroundModel (const opentl::core::cvdata::Image *currentImage, CvFGDStatModelParams *parameters=NULL)
| Performs the foreground creation.
void | UpdatebackgroundModel (const opentl::core::cvdata::Image *currentImage, CvBGStatModel *bg_model)
| Performs the background updation.
virtual | ~BackgroundFgSub ()
| Destructor.

## Constructor & Destructor Documentation

opentl::cvprocess::BackgroundFgSub::BackgroundFgSub | ( |  | ) |

Constructor.

virtual opentl::cvprocess::BackgroundFgSub::~BackgroundFgSub | ( |  | ) | `[virtual]`

Destructor.

## Member Function Documentation

CvBGStatModel* opentl::cvprocess::BackgroundFgSub::CreateForegroundModel | ( | const opentl::core::cvdata::Image * | currentImage,
|  | CvFGDStatModelParams * | parameters = `NULL` |
| ) |  |  |

Performs the foreground creation.

void opentl::cvprocess::BackgroundFgSub::UpdatebackgroundModel | ( | const opentl::core::cvdata::Image * | currentImage,
|  | CvBGStatModel * | bg_model |
| ) |  |  |

Performs the background updation.