예제 #1
0
 public Blur()
 {
     _input  = new InputPin("Input", PinMediaType.Image);
     _output = new OutputPin("Output", PinMediaType.Image);
     AddPin(_input);
     AddPin(_output);
 }
예제 #2
0
        public Resize()
        {
            _sizeProperty = new PointProperty("New size", FilterPropertyType.Size)
            {
                Value = new Size(400, 300)
            };;
            AddProperty(_sizeProperty);

            _input = new InputPin("Input", PinMediaType.Image);
            AddPin(_input);
            _output = new OutputPin("Output", PinMediaType.Image);
            AddPin(_output);
        }