C# image processing, neural network, genetic algorithm set