///<summary>Выполняет улучшение изображения. Метод выполняется в потоке Enhancer.</summary>
        private void Enhance()
        {
            var original = this.Original.Image as Bitmap;
            var ab       = this.Net.Colorize(IOConverters.ImageToTensor(original));

            this.Result.Image                = IOConverters.TensorToImage(original, ab);
            this.Progress.Value              = 0;
            this.GenerateOrSaveResult.Text   = "Сохранить";
            this.GenerateOrSaveResult.Click -= this.StopProcess;
            this.GenerateOrSaveResult.Click += this.SaveResult;
            this.OpenOriginal.Enabled        = true;
        }
        ///<summary>Colorizes the image. Should be runned only in Enhancer thread.</summary>
        private void Enhance()
        {
            var Grayscale = IOConverters.Preprocess(this.Original.Image as Bitmap);
            var UV        = this.Net.Colorize(Grayscale.Item1, Grayscale.Item2);

            this.Result.Image                = IOConverters.Deprocess(Grayscale.Item1, UV);
            this.Progress.Value              = 0;
            this.GenerateOrSaveResult.Text   = "Save";
            this.GenerateOrSaveResult.Click -= this.StopProcess;
            this.GenerateOrSaveResult.Click += this.SaveResult;
            this.OpenOriginal.Enabled        = true;
        }