14. A non-transitory computer readable storage medium having instructions stored thereon that, when executed by a processor, cause the processor to perform operations including: rendering a base output image with a procedural painting system controlled by one or more parameters, wherein the base output image is based on a received input image; calculating a score for the base output image, using a classifier trained to calculate a score based on how an image corresponds to a received painting style; determining a plurality of randomized sets of metaparameters for the procedural painting system, wherein each metaparameter comprises two or more parameters; rendering a plurality of intermediate output images by the procedural painting system, wherein the parameters of the procedural painting system for each intermediate output image in the plurality of intermediate output images are determined based on the plurality of randomized sets of metaparameters; calculating a score for each intermediate output image in the plurality of intermediate output images, using the trained classifier; and identifying an optimal set of metaparameters based on the calculated score for each intermediate output image.
17. The non-transitory computer readable storage medium of claim 14 , the operations further comprising: rendering an edge layer of the output image based on the input image; and rendering a patch layer of the output image based on the input image.