|
TSPS
1.3.2
TSPS is a cross-platform Toolkit for Sensing People in Spaces
|
#include <OpenCvProcessor.h>
Public Member Functions | |
| OpenCvProcessor () | |
| void | draw () |
| void | setCameraImage (ofBaseImage &image) |
| void | captureBackground (ofBaseImage &image) |
| ofPixelsRef | progressiveBackground (ofBaseImage &image, float amount) |
| void | blankBackground () |
| ofPixelsRef | difference (ofBaseImage &image, TrackingType trackingType) |
| ofPixelsRef | process (ofBaseImage &image) |
| void | processOpticalFlow (ofBaseImage &image) |
| void | processHaar (ofBaseImage &image) |
| void | resize (int camWidth, int camHeight) |
| void | setOpticalflowMinMax (float min=0.0, float max=10.0) |
| void | setHaarXMLFile (string xmlFile) |
| void | blobOn (int x, int y, int id, int order) |
| void | blobMoved (int x, int y, int id, int order) |
| void | blobOff (int x, int y, int id, int order) |
Protected Member Functions | |
| void | setupProcessor () |
Definition at line 20 of file OpenCvProcessor.h.
Definition at line 10 of file OpenCvProcessor.cpp.
| void ofxTSPS::OpenCvProcessor::blankBackground | ( | ) | [virtual] |
Implements ofxTSPS::Processor.
Definition at line 69 of file OpenCvProcessor.cpp.
| void ofxTSPS::OpenCvProcessor::blobMoved | ( | int | x, |
| int | y, | ||
| int | id, | ||
| int | order | ||
| ) |
Definition at line 279 of file OpenCvProcessor.cpp.
| void ofxTSPS::OpenCvProcessor::blobOff | ( | int | x, |
| int | y, | ||
| int | id, | ||
| int | order | ||
| ) |
Definition at line 282 of file OpenCvProcessor.cpp.
| void ofxTSPS::OpenCvProcessor::blobOn | ( | int | x, |
| int | y, | ||
| int | id, | ||
| int | order | ||
| ) |
Definition at line 264 of file OpenCvProcessor.cpp.
| void ofxTSPS::OpenCvProcessor::captureBackground | ( | ofBaseImage & | image | ) | [virtual] |
Implements ofxTSPS::Processor.
Definition at line 55 of file OpenCvProcessor.cpp.
| ofPixelsRef ofxTSPS::OpenCvProcessor::difference | ( | ofBaseImage & | image, |
| TrackingType | trackingType | ||
| ) | [virtual] |
Implements ofxTSPS::Processor.
Definition at line 74 of file OpenCvProcessor.cpp.
| void ofxTSPS::OpenCvProcessor::draw | ( | ) | [virtual] |
Reimplemented from ofxTSPS::Processor.
Definition at line 42 of file OpenCvProcessor.cpp.
| ofPixelsRef ofxTSPS::OpenCvProcessor::process | ( | ofBaseImage & | image | ) | [virtual] |
Implements ofxTSPS::Processor.
Definition at line 93 of file OpenCvProcessor.cpp.
| void ofxTSPS::OpenCvProcessor::processHaar | ( | ofBaseImage & | image | ) | [virtual] |
Reimplemented from ofxTSPS::Processor.
Definition at line 227 of file OpenCvProcessor.cpp.
| void ofxTSPS::OpenCvProcessor::processOpticalFlow | ( | ofBaseImage & | image | ) | [virtual] |
Reimplemented from ofxTSPS::Processor.
Definition at line 215 of file OpenCvProcessor.cpp.
| ofPixelsRef ofxTSPS::OpenCvProcessor::progressiveBackground | ( | ofBaseImage & | image, |
| float | amount | ||
| ) | [virtual] |
Implements ofxTSPS::Processor.
Definition at line 61 of file OpenCvProcessor.cpp.
| void ofxTSPS::OpenCvProcessor::resize | ( | int | camWidth, |
| int | camHeight | ||
| ) | [virtual] |
Reimplemented from ofxTSPS::Processor.
Definition at line 234 of file OpenCvProcessor.cpp.
| void ofxTSPS::OpenCvProcessor::setCameraImage | ( | ofBaseImage & | image | ) | [virtual] |
Implements ofxTSPS::Processor.
Definition at line 50 of file OpenCvProcessor.cpp.
| void ofxTSPS::OpenCvProcessor::setHaarXMLFile | ( | string | xmlFile | ) | [virtual] |
Reimplemented from ofxTSPS::Processor.
Definition at line 258 of file OpenCvProcessor.cpp.
| void ofxTSPS::OpenCvProcessor::setOpticalflowMinMax | ( | float | min = 0.0, |
| float | max = 10.0 |
||
| ) | [virtual] |
Reimplemented from ofxTSPS::Processor.
Definition at line 252 of file OpenCvProcessor.cpp.
| void ofxTSPS::OpenCvProcessor::setupProcessor | ( | ) | [protected, virtual] |
Reimplemented from ofxTSPS::Processor.
Definition at line 30 of file OpenCvProcessor.cpp.