public MnistImageVM(MnistImage image) { Image = image; Source = BitmapUtils.BitmapFromArray(image.Pixels, MnistImage.ImgWidth, MnistImage.ImgHeight); Label = (FashionLabel)image.Label; PredictedLabel = FashionLabel.Unknown; }