added release method to GMG_GPU

This commit is contained in:
Vladislav Vinogradov
2012-08-09 13:13:04 +04:00
parent beb3e6ff18
commit ace7e9d842
2 changed files with 15 additions and 0 deletions

View File

@@ -2156,6 +2156,9 @@ public:
*/
void operator ()(const GpuMat& frame, GpuMat& fgmask, float learningRate = -1.0f, Stream& stream = Stream::Null());
//! releases all inner buffers
void release();
//! Total number of distinct colors to maintain in histogram.
int maxFeatures;