Construction of discrete descriptions of biological shapes through curvilinear image meshing