From e05bc2828bc213f1e78256f976284bad80722e1a Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 13 Jun 2012 14:52:22 +0100 Subject: avoiding edges version --- cvtest/src/testApp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cvtest/src/testApp.h') diff --git a/cvtest/src/testApp.h b/cvtest/src/testApp.h index 4207bb9..32d7158 100644 --- a/cvtest/src/testApp.h +++ b/cvtest/src/testApp.h @@ -47,7 +47,7 @@ class testApp : public ofBaseApp{ //try to accumulate background using SHORT datatype ie CV_16UC / 4 (would 4 be faster, 64 bits) - cv::Mat accumulator,outmat,hsvback,outchan,output; // background accumulation + cv::Mat accumulator,outmat,hsvback,hsvfront,backchan,frontchan,output; // background accumulation int frameno; ofxCvColorImage currentFrame; @@ -72,6 +72,9 @@ class testApp : public ofBaseApp{ int diffchannel; + bool removeShadows; + int shadowThreshold; + /* ofxOpenCvUtilsForeground* fg; ofxOpenCvUtilsMeanShift* meanShift; -- cgit v1.2.3