Polygon combinations are tried out here to see if they are a closer match to the input image than the best match.