Beispiel #1
0
        public SimpleWaveletKalmanFilter(int xDim, int yDim, float fadingCoeff, IREngine engine, string scriptConfigName = "scriptConfig.xml") : base(engine)
        {
            LoadScripts(scriptConfigName);

            highFreqLevel = int.Parse(this.ScriptParameters.First(parameter => parameter.Name.CompareTo("HighFreqLevel") == 0).Value);
            highFreqLevel = int.Parse(this.ScriptParameters.First(parameter => parameter.Name.CompareTo("LowFreqLevel") == 0).Value);
            windowSize    = int.Parse(this.ScriptParameters.First(parameter => parameter.Name.CompareTo("WindowSize") == 0).Value);
            waveletType   = this.ScriptParameters.First(parameter => parameter.Name.CompareTo("WaveletType") == 0).Value;

            kalmanFilter = new RecursiveKalmanFilter(xDim, yDim, fadingCoeff, 1.0f, 1.0f);
        }
Beispiel #2
0
        public SimpleWaveletKalmanFilter(int xDim, int yDim, float fadingCoeff, int highFreqLevel, int lowFreqLevel, int windowSize,
                                         string waveletType, IREngine engine, string scriptConfigName = "scriptConfig.xml") : base(engine)
        {
            LoadScripts(scriptConfigName);

            this.highFreqLevel = highFreqLevel;
            this.lowFreqLevel  = lowFreqLevel;
            this.windowSize    = windowSize;
            this.waveletType   = waveletType;

            kalmanFilter = new RecursiveKalmanFilter(xDim, yDim, fadingCoeff, 1.0f, 1.0f);
        }
        public RLenghtIndicator(IREngine engine) : base()
        {
            Engine = engine;

            Initialize();
        }