Accord.Tests.Imaging.WhitePatchTest.ApplyTest1 C# (CSharp) Method

ApplyTest1() private method

private ApplyTest1 ( ) : void
return void
        public void ApplyTest1()
        {
            Bitmap image = Accord.Imaging.Image.Clone(Properties.Resources.lena_color);

            // Create the White Patch filter
            var whitePatch = new WhitePatch();

            // Apply the filter
            Bitmap result = whitePatch.Apply(image);

            // ImageBox.Show(result);
            Assert.IsNotNull(result);
        }