public Blur() { _input = new InputPin("Input", PinMediaType.Image); _output = new OutputPin("Output", PinMediaType.Image); AddPin(_input); AddPin(_output); }
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); }