61 lines
2.0 KiB
C#
61 lines
2.0 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;
|
|
case "Six":
|
|
vanGoghFilters sobelEdgeDetection = new vanGoghFilters();
|
|
sobelEdgeDetection.Six();
|
|
break;
|
|
case "Seven":
|
|
vanGoghFilters cannyEdgeDetection = new vanGoghFilters();
|
|
cannyEdgeDetection.Seven();
|
|
break;
|
|
case "Eight":
|
|
vanGoghFilters contour = new vanGoghFilters();
|
|
contour.Eight();
|
|
break;
|
|
case "Nine":
|
|
vanGoghFilters templateMatching = new vanGoghFilters();
|
|
templateMatching.Nine();
|
|
break;
|
|
default:
|
|
Console.WriteLine("That command didn't match any command on record.");
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|