Image-Based Geometric Modeling and Mesh Generation