Let's say we have a 2D image black on white that shows a closed geometric shape.
Is there any (not naive brute force) algorithm that approximates that shape as closely as possible with n triangles? If you want a formal definition:
Approximate the shape with a polygon that when rendered into a new 2D image will match the largest number of pixels possible with the original image.