OpenCV  2.4.13.3
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

§ FGDStatModel() [1/2]

cv::gpu::FGDStatModel::FGDStatModel ( int  out_cn = 3)
explicit

§ FGDStatModel() [2/2]

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

§ ~FGDStatModel()

cv::gpu::FGDStatModel::~FGDStatModel ( )

Member Function Documentation

§ create()

void cv::gpu::FGDStatModel::create ( const cv::gpu::GpuMat firstFrame,
const Params params = Params() 
)

§ release()

void cv::gpu::FGDStatModel::release ( )

§ update()

int cv::gpu::FGDStatModel::update ( const cv::gpu::GpuMat curFrame)

Member Data Documentation

§ background

cv::gpu::GpuMat cv::gpu::FGDStatModel::background

§ foreground

cv::gpu::GpuMat cv::gpu::FGDStatModel::foreground

§ foreground_regions

std::vector< std::vector<cv::Point> > cv::gpu::FGDStatModel::foreground_regions

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