/// <summary> /// Initializes a new instance of the <see cref="PrototypeViewModel"/> class. /// </summary> public PrototypeViewModel() { _testAlg = new Algorithm(); _smooth = new GaussianSmooth(); _correct = new GammaCorrection(); _testAlg.Add(_smooth); _testAlg.Add(_correct); _processCmd = new ProcessImageCommand(_testAlg); _processCmd.ImageProcessed += image_processed; }