45 lines
1.3 KiB
C#
45 lines
1.3 KiB
C#
using System;
|
|
using Emgu.CV;
|
|
|
|
namespace ImageMinipulation
|
|
{
|
|
class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
string option;
|
|
|
|
Console.WriteLine("Type the number code of the program would like to run.");
|
|
option = Console.ReadLine();
|
|
|
|
switch(option) {
|
|
case "One":
|
|
vanGoghFilters blurryNight = new vanGoghFilters();
|
|
blurryNight.One();
|
|
break;
|
|
case "Two":
|
|
vanGoghFilters resizedNight = new vanGoghFilters();
|
|
resizedNight.Two();
|
|
break;
|
|
case "Three":
|
|
vanGoghFilters rotatedNight = new vanGoghFilters();
|
|
rotatedNight.Three();
|
|
break;
|
|
case "Four":
|
|
vanGoghFilters coloredNight = new vanGoghFilters();
|
|
coloredNight.Four();
|
|
break;
|
|
case "Five":
|
|
vanGoghFilters sharpendNight = new vanGoghFilters();
|
|
sharpendNight.Five();
|
|
break;
|
|
default:
|
|
Console.WriteLine("That command didn't match any command on record.");
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|