protected override async Task InitializeAsync()
        {
            imageSrcLink = Container <Window> .FindElement <Image>(typeof(MainWindowLab3), window => window.Name == "imageSobel");

            imageMainLink = Container <Window> .FindElement <Image>(typeof(MainWindowLab3), window => window.Name == "imageMain");

            Lab3Grip lab3Grip = new Lab3Grip();

            lab3Grip.OnSobelResult    += Lab3Grip_OnSobelResult;
            lab3Grip.OnOriginalResult += Lab3Grip_OnOriginalResult;
            //lab3Grip.OnNoisedImage += Lab3Grip_OnSobelResult;
            //lab3Grip.OnResultImage += Lab3Grip_OnOriginalResult;
            await lab3Grip.DoProcessAsync();

            await base.InitializeAsync();
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            Lab3Grip lab3Grip = new Lab3Grip(new short[1, 1]);

            lab3Grip.DoProcessAsync();
        }
Ejemplo n.º 3
0
        public void CodeTraceTests()
        {
            Lab3Grip lab3Grip = new Lab3Grip(new short[1, 1]);

            lab3Grip.DoProcessAsync();
        }