I am pretty new to Artificial Intelligence programming, however i do understand the basic concept. I have an idea in my mind:
Import a JPEG Image, Convert this Image into a 2D Array (x,y values + r g b values). Then create a second array with same (xy) values wit rgb all set to 0,0,0. Now i want to build an AI Layer which will try to lower the error factor between the arrays until they are equal (the rgb values in the second array are equal to the first array (error factor 0) ). I would prefer to do it in Java. Any suggestions to librarys or example that can help me get started? Thanks for any help.