I'd like to develop an algorithm for recognizing and generating graphical designs. As an example, consider these examples from one class:
Two examples from another class:
I want to detect which class the query image belong to, as well as possibly generate a new sample from the class.
Do you have any idea how this could be done?