示例#1
0
        void ExecuteFilter(ISignalProcessor <IsgTimeImageSignalSource, IsgTimeImageSignalSource> processor)
        {
            //Get a copy of the selected image and create new image, that can be operated on
            var imageSource = new IsgTimeImageSignalSource(Image.BitmapImage2Bitmap());

            //Use the selected filter on the image
            IsgTimeImageSignalSource res = processor.Process(imageSource);

            //Change the image in the view
            Image = BitmapToImageSource(res.Image);

            //dispose the copied image
            imageSource.Image.Dispose();
        }
示例#2
0
 public IsgTimeImageSignalSource Process(IsgTimeImageSignalSource input)
 {
     return(null);
 }