コード例 #1
0
        VsICoreAnalyzer VsICoreAnalyzerDescription.CreateAnalyser(long syncTimer, VsICoreAnalyzerConfiguration config)
        {
            VsOpticalFlowConfiguration cfg = (VsOpticalFlowConfiguration)config;

            if (cfg != null)
            {
                VsOpticalFlow analyser = new VsOpticalFlow(syncTimer);

                analyser.AnalyzerConfiguration = cfg.GetConfiguration();

                return((VsOpticalFlow)analyser);
            }
            return(null);
        }
コード例 #2
0
        VsICoreAnalyzer VsICoreAnalyzerDescription.CreateAnalyser(long syncTimer, VsICoreAnalyzerConfiguration config)
        {
            VsOpticalFlowConfiguration cfg = (VsOpticalFlowConfiguration)config;

            if (cfg != null)
            {
                VsOpticalFlow analyser = new VsOpticalFlow(syncTimer);

                analyser.AnalyzerConfiguration = cfg.GetConfiguration();

                return (VsOpticalFlow)analyser;
            }
            return null;
        }