Пример #1
0
        public void PixelBufferApplyGaussianBlur()
        {
            tlog.Debug(tag, $"PixelBufferApplyGaussianBlur START");

            var testingTarget = new PixelBuffer(100, 50, PixelFormat.BGR8888);

            Assert.IsNotNull(testingTarget, "Can't create success object PixelData");
            Assert.IsInstanceOf <PixelBuffer>(testingTarget, "Should be an instance of PixelData type.");

            try
            {
                testingTarget.ApplyGaussianBlur(1.0f);
            }
            catch (Exception e)
            {
                Assert.Fail("Fail!");
            }

            testingTarget.Dispose();
            tlog.Debug(tag, $"PixelBufferApplyGaussianBlur END (OK)");
        }