Definition at line 33 of file ShotSegmenter.h. References Impala::CmdOptions::GetBool(), Impala::CmdOptions::GetDouble(), Impala::Core::Array::MakeGaussian1d(), mBinCount, mBlurSigma, mDoMpeg7, mDoNrkf, mDoSim, mFeatures, mGauss, mHistograms, mHistPerFrame, mPredictions, mProbThresh, mPyramid, mRadius, mScores, mWeights, mWindowSize, and Impala::Core::Geometry::RectanglePyramid::TotalNrRects(). 00034 { 00035 mBlurSigma = 1.0; 00036 mRadius = 6; 00037 mBinCount = 32; 00038 mProbThresh = options.GetDouble("SSProbThresh"); 00039 mDoMpeg7 = ! options.GetBool("SSNoMpeg7"); 00040 mDoSim = ! options.GetBool("SSNoSim"); 00041 mDoNrkf = ! options.GetBool("SSNoNrkf"); 00042 00043 mWindowSize = 2 * mRadius; 00044 mPyramid = Geometry::RectanglePyramid(0, 1, 2, 1, -1, -1); 00045 mHistPerFrame = 3 * mPyramid.TotalNrRects(); 00046 // Prepare the 1-d gaussian filter to be used for scaling in time 00047 mGauss = Array::MakeGaussian1d(18, 0, 0, mWindowSize*2+1, 00048 mWindowSize*2+1); 00049 mWeights = Array::ArrayCreate<Array2dScalarReal64>(mWindowSize, 00050 mWindowSize); 00051 mFeatures = new Vector::VectorTem<Real64>(mWindowSize); 00052 mHistograms = new HistType*[mWindowSize*mHistPerFrame]; 00053 for (int i=0 ; i<mWindowSize*mHistPerFrame ; i++) 00054 mHistograms[i] = new HistType(0, 256, mBinCount, 0); 00055 00056 mScores = 0; 00057 mPredictions = 0; 00058 }
Here is the call graph for this function:
|