private void button2_Click(object sender, EventArgs e) { //Save test images to disk so we can view them ImageProcessing.DigitImageCollection images = ImageProcessing.DigitImageCollection.LoadMnistDataSet("TestImages.dat", "TestLabels.dat", 10000); images.SaveImagesToFolder(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "TestImages")); }
private void button7_Click(object sender, EventArgs e) { //Load the blurred data set and save the images to a folder for viewing ImageProcessing.DigitImageCollection sourceImages = ImageProcessing.DigitImageCollection.LoadMnistDataSet("BlurredTrainingImages.dat", "BlurredTrainingLabels.dat", 60000); sourceImages.SaveImagesToFolder(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "BlurredTrainingImages")); MessageBox.Show("Done"); }
private void button1_Click(object sender, EventArgs e) { //Save training images to disk so we can view them ImageProcessing.DigitImageCollection images = ImageProcessing.DigitImageCollection.LoadMnistDataSet("TrainingImages.dat", "TrainingLabels.dat", 60000); images.SaveImagesToFolder(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "TrainingImages")); MessageBox.Show("Done"); }