Fixed image to be one region.
Reduce garbage generation.  Add TriangleMesh interface.