예제 #1
0
        public ProcessFilter(ISpread <CVImageLink> inputPin, ISpread <CVImageLink> outputPin)
        {
            FInput  = new CVImageInputSpread(inputPin);
            FOutput = new CVImageOutputSpread(outputPin);

            CheckInputSize();
            StartThread();
        }
예제 #2
0
        public ProcessGenerator(ISpread <CVImageLink> outputPin, int SliceCount)
        {
            FOutput = new CVImageOutputSpread(outputPin);
            CheckSliceCount(SliceCount);

            T testThreaded = new T();

            if (testThreaded.NeedsThread())
            {
                StartThread();
            }
        }