#include <KfrMotionExtractor.h>
Inheritance diagram for Impala::Core::VideoSet::KfrMotionExtractor:
Public Member Functions | |
KfrMotionExtractor (Reporter *reporter, CmdOptions &options, CString featureName, int binCount) | |
KfrMotionExtractor (Reporter *reporter, CmdOptions &options) | |
virtual | ~KfrMotionExtractor () |
String | GetFeatureName () const |
virtual void | HandleNewFrame (VideoSet *vs, int fileId, Stream::RgbDataSrc *src) |
Arrived at a new frame in a "normal" walk. | |
virtual void | HandleDoneFile (VideoSet *vs, int fileId, Stream::RgbDataSrc *src) |
Completed given DB_FILE in a "normal" walk. | |
void | DumpMVFseq (BYTE *mvseq, int bWidth, int bHeight, int N) |
void | DumpMVF (BYTE *mvseq, int bWidth, int bHeight, int index) |
void | DumpEnergyMap (int bWidth, int bHeight, char *comments="") |
void | DumpEnergyBuffer (int bWidth, int bHeight) |
int | ComputeEnergy (int WindowLen, int bWidth, int bHeight, BYTE *mvseq, double *feature, int CurBufSize=5) |
void | LoadEnergyTemplate (int bWidth, int bHeight) |
void | DumpWeightMatrix (double *weight, int bWidth, int bHeight, int index) |
void | CalcTPLMean (int bWidth, int bHeight) |
void | OnShotStart (int bWidth, int bHeight) |
void | OnShotEnd (int bWidth, int bHeight) |
void | FillBuffer (int WindowLen, int bWidth, int bHeight, BYTE *mvseq) |
double | CalcEnergy (const int indexOfTPL, int bWidth, int bHeight, BOOL bNormalized=TRUE) |
double | Normalization (const double x, const double min, const double max) |
BOOL | CalcMotionVectors (unsigned char *pre, unsigned char *cur, int Width, int Height, BYTE *mvseq, int index) |
int | DiamondSearch16 (unsigned char *refframe, unsigned char *desframe, int framewidth, int frameheight, int *cx, int *cy) |
int | FullSearch16 (unsigned char *refframe, unsigned char *desframe, int framewidth, int frameheight, int *cx, int *cy) |
int | GetMotionError16 (unsigned char *refframe, unsigned char *block, int framewidth, int fx, int fy) |
Protected Types | |
typedef Vector::VectorTem< Real64 > | VectorReal64 |
Protected Member Functions | |
int | GetBinCount () const |
template<class T> | |
int | ComputeBin (const T val, const T low, const T high, const int nrBins) const |
Private Attributes | |
Reporter * | mReporter |
String | mFeatureName |
int | mBinCount |
Feature::FeatureTable * | mHistogramTable |
double * | m_Weight [TPL_NUM] |
double | m_TPLMean [TPL_NUM] |
double | m_TPLMin [TPL_NUM] |
double | m_TPLMax [TPL_NUM] |
double * | m_EnergyMap |
BOOL | m_bNormalize |
BOOL | IsInShot |
BYTE * | m_MVseq |
BYTE * | m_Buffer |
BYTE * | m_EnergyBuffer |
BOOL | m_verbose |
BOOL | m_verbose2 |
ILOG_VAR_DECL |
Definition at line 48 of file KfrMotionExtractor.h.