Automatic generation of parametric patterns from grading patterns using artificial intelligence | Synapse