OpenCV  2.4.13
Open Source Computer Vision
cv::gpu::FGDStatModel Class Reference

#include <gpu.hpp>

Classes

struct  Params
 

Public Member Functions

 FGDStatModel (int out_cn=3)
 
 FGDStatModel (const cv::gpu::GpuMat &firstFrame, const Params &params=Params(), int out_cn=3)
 
 ~FGDStatModel ()
 
void create (const cv::gpu::GpuMat &firstFrame, const Params &params=Params())
 
void release ()
 
int update (const cv::gpu::GpuMat &curFrame)
 

Public Attributes

cv::gpu::GpuMat background
 
cv::gpu::GpuMat foreground
 
std::vector< std::vector< cv::Point > > foreground_regions
 

Constructor & Destructor Documentation

cv::gpu::FGDStatModel::FGDStatModel ( int  out_cn = 3)
explicit
cv::gpu::FGDStatModel::FGDStatModel ( const cv::gpu::GpuMat firstFrame,
const Params params = Params(),
int  out_cn = 3 
)
explicit
cv::gpu::FGDStatModel::~FGDStatModel ( )

Member Function Documentation

void cv::gpu::FGDStatModel::create ( const cv::gpu::GpuMat firstFrame,
const Params params = Params() 
)
void cv::gpu::FGDStatModel::release ( )
int cv::gpu::FGDStatModel::update ( const cv::gpu::GpuMat curFrame)

Member Data Documentation

cv::gpu::GpuMat cv::gpu::FGDStatModel::background
cv::gpu::GpuMat cv::gpu::FGDStatModel::foreground
std::vector< std::vector<cv::Point> > cv::gpu::FGDStatModel::foreground_regions

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